Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007688/0.0007688, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007584/0.0007584, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8561/0.8561, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.693/0.693, allocations: 154.6 MB / 414.5 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.964e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001103/0.001123, allocations: 0.6802 MB / 0.62 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.002275, allocations: 1.295 MB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/0.002316, allocations: 0 / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.614e-05/0.002342, allocations: 3.938 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.851e-05/0.002411, allocations: 27.8 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005705/0.002981, allocations: 304 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.003193, allocations: 263.5 kB / 0.6218 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.769e-05/0.00328, allocations: 16.16 kB / 0.6219 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.003404, allocations: 139.8 kB / 0.622 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.003516, allocations: 75.81 kB / 0.6221 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.003548, allocations: 24 kB / 0.6221 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.109e-05/0.003609, allocations: 31.98 kB / 0.6221 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/0.003631, allocations: 15.97 kB / 0.6221 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.393e-05/0.003695, allocations: 75.88 kB / 0.6222 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.00392, allocations: 271.3 kB / 0.6225 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.003923, allocations: 3.984 kB / 0.6225 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.122e-06/0.003924, allocations: 0 / 0.6225 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.788e-06/0.003928, allocations: 0 / 0.6225 GB, free: 9.934 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003984/0.004326, allocations: 419.2 kB / 0.6229 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.004362, allocations: 8.031 kB / 0.6229 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/0.004415, allocations: 16.89 kB / 0.6229 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.119e-05/0.004496, allocations: 117.7 kB / 0.623 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.004517, allocations: 12.31 kB / 0.623 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.004544, allocations: 20.36 kB / 0.623 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.004645, allocations: 54.23 kB / 0.6231 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.004654, allocations: 192 / 0.6231 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.004664, allocations: 8.312 kB / 0.6231 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.004669, allocations: 4.125 kB / 0.6231 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.87e-05/0.004708, allocations: 19.98 kB / 0.6231 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.005081, allocations: 324.3 kB / 0.6234 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.051e-05/0.005131, allocations: 26.58 kB / 0.6234 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.804e-05/0.005159, allocations: 24.88 kB / 0.6235 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.005168, allocations: 0 / 0.6235 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001249/0.005293, allocations: 103.3 kB / 0.6236 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.005294, allocations: 0 / 0.6236 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0002324/0.005526, allocations: 141.5 kB / 0.6237 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.005557, allocations: 55.41 kB / 0.6238 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.794e-05/0.005635, allocations: 137.7 kB / 0.6239 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.00566, allocations: 29.7 kB / 0.6239 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.005712, allocations: 104.1 kB / 0.624 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.005728, allocations: 27.91 kB / 0.624 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.931e-05/0.005808, allocations: 65.67 kB / 0.6241 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.571e-05/0.005884, allocations: 326.8 kB / 0.6244 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.006038, allocations: 177 kB / 0.6246 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.006201, allocations: 225.1 kB / 0.6248 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.006373, allocations: 235 kB / 0.625 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.006375, allocations: 0 / 0.625 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004013/0.006776, allocations: 475.5 kB / 0.6255 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/0.006824, allocations: 101.1 kB / 0.6256 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.006829, allocations: 0 / 0.6256 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.006841, allocations: 4.375 kB / 0.6256 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.549e-05/0.006857, allocations: 0 / 0.6256 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.006862, allocations: 4.188 kB / 0.6256 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.007105, allocations: 91.8 kB / 0.6257 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.007129, allocations: 19.92 kB / 0.6257 GB, free: 6.285 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.859e-05/0.007207, allocations: 134.8 kB / 0.6258 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.007218, allocations: 11.89 kB / 0.6258 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.397e-05/0.007242, allocations: 16.44 kB / 0.6258 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.007244, allocations: 0 / 0.6258 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.007248, allocations: 0 / 0.6258 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.007252, allocations: 3.984 kB / 0.6258 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.672e-05/0.007329, allocations: 129.3 kB / 0.626 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.00733, allocations: 0 / 0.626 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-06/0.007335, allocations: 4 kB / 0.626 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002628/0.007598, allocations: 7.938 kB / 0.626 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.007605, allocations: 3.984 kB / 0.626 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.007606, allocations: 0 / 0.626 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007607, allocations: 3.938 kB / 0.626 GB, free: 5.934 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.007724, allocations: 141 kB / 0.6261 GB, free: 5.777 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.208e-06/0.007733, allocations: 11.89 kB / 0.6261 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.007747, allocations: 15.86 kB / 0.6261 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.288e-05/0.00776, allocations: 0 / 0.6261 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.007791, allocations: 11.98 kB / 0.6262 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.007797, allocations: 7.938 kB / 0.6262 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.779e-05/0.007835, allocations: 98.36 kB / 0.6263 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007835, allocations: 0 / 0.6263 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001709/0.008006, allocations: 47.98 kB / 0.6263 GB, free: 5.59 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001048/0.00811, allocations: 103.2 kB / 0.6264 GB, free: 5.48 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003214/0.008432, allocations: 411.1 kB / 0.6268 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.008433, allocations: 0 / 0.6268 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.723e-05/0.008481, allocations: 35.98 kB / 0.6268 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.008652, allocations: 22.23 kB / 0.6269 GB, free: 4.969 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/0.008945, allocations: 223.8 kB / 0.6271 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.445e-05/0.00899, allocations: 75.89 kB / 0.6271 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.009013, allocations: 20.48 kB / 0.6272 GB, free: 4.594 MB / 0.5886 GB Notification: Performance of SimCode: time 4.91e-07/0.009014, allocations: 0 / 0.6272 GB, free: 4.594 MB / 0.5886 GB Notification: Performance of Templates: time 0.002525/0.01154, allocations: 1.904 MB / 0.629 GB, free: 2.723 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.945002570748329] Failed to read output from testmodel.py, exit status != 0: 0.016004138626158237 0.023429938 0.01801584 Calling exit ...