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.002703/0.002703, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.003088/0.003088, allocations: 173.6 kB / 22.76 MB, free: 1.664 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 1.655/1.655, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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-545:108: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-545:116: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 1.31/1.31, allocations: 154.6 MB / 414.1 MB, free: 0.6562 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 178] 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 2.405e-06/2.405e-06, allocations: 0 / 0.5196 GB, free: 2.504 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.768e-05/4.009e-05, allocations: 5.234 kB / 0.5196 GB, free: 2.5 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002189/0.002229, allocations: 0.6875 MB / 0.5203 GB, free: 1.836 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.004177, allocations: 1.292 MB / 0.5216 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.792e-05/0.004225, allocations: 0 / 0.5216 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.652e-05/0.004261, allocations: 11.86 kB / 0.5216 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.114e-05/0.004352, allocations: 21.03 kB / 0.5216 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007884/0.005141, allocations: 297.6 kB / 0.5219 GB, free: 216 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003687/0.005509, allocations: 251.6 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.4e-05/0.005603, allocations: 21.31 kB / 0.5221 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.005814, allocations: 139.8 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.00599, allocations: 79.8 kB / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.695e-05/0.006047, allocations: 24.78 kB / 0.5224 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.532e-05/0.006142, allocations: 35.92 kB / 0.5224 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.775e-05/0.00617, allocations: 17.11 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.006289, allocations: 71.94 kB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.006664, allocations: 263.3 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.006667, allocations: 0.7188 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.31e-07/0.006668, allocations: 4 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.006673, allocations: 0.625 kB / 0.5227 GB, free: 15.32 MB / 0.4948 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.0006985/0.007372, allocations: 0.5127 MB / 0.5232 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.007411, allocations: 9.094 kB / 0.5233 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.581e-05/0.007497, allocations: 24.83 kB / 0.5233 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.00763, allocations: 116.5 kB / 0.5234 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.007662, allocations: 13.05 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.007702, allocations: 16.38 kB / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.007835, allocations: 58.92 kB / 0.5235 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.007843, allocations: 192 / 0.5235 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.007856, allocations: 7.625 kB / 0.5235 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.007863, allocations: 4.125 kB / 0.5235 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.934e-05/0.007923, allocations: 19.98 kB / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006313/0.008554, allocations: 379.6 kB / 0.5239 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.203e-05/0.008646, allocations: 39 kB / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.363e-05/0.008689, allocations: 23.77 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.008701, allocations: 0 / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.008898, allocations: 117.7 kB / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.008899, allocations: 0 / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0003589/0.009258, allocations: 145.5 kB / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.009314, allocations: 59.91 kB / 0.5242 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.00949, allocations: 204.5 kB / 0.5244 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.009531, allocations: 29.7 kB / 0.5245 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.009649, allocations: 146.9 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.009683, allocations: 29.45 kB / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.009831, allocations: 79.33 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002701/0.0101, allocations: 0.4923 MB / 0.5252 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003155/0.01042, allocations: 205 kB / 0.5254 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.01078, allocations: 273.9 kB / 0.5256 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.01113, allocations: 271.5 kB / 0.5259 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.01113, allocations: 0 / 0.5259 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008219/0.01196, allocations: 0.5127 MB / 0.5264 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.775e-05/0.01205, allocations: 101.7 kB / 0.5265 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01206, allocations: 0.6875 kB / 0.5265 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.01208, allocations: 4 kB / 0.5265 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.482e-05/0.01211, allocations: 9.375 kB / 0.5265 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.01212, allocations: 8.047 kB / 0.5265 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.01251, allocations: 61.47 kB / 0.5266 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/0.01256, allocations: 19.98 kB / 0.5266 GB, free: 11.01 MB / 0.4948 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 0.0001563/0.01272, allocations: 179.2 kB / 0.5268 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.01275, allocations: 27.77 kB / 0.5268 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.01278, allocations: 8.438 kB / 0.5268 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.01278, allocations: 0 / 0.5268 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01278, allocations: 0 / 0.5268 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.01279, allocations: 7.969 kB / 0.5268 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.01295, allocations: 148.6 kB / 0.527 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01295, allocations: 2.094 kB / 0.527 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.454e-05/0.01297, allocations: 7.984 kB / 0.527 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.01297, allocations: 3.938 kB / 0.527 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.01298, allocations: 0 / 0.527 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.01298, allocations: 4 kB / 0.527 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01298, allocations: 0.9375 kB / 0.527 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004728/0.01346, allocations: 156.3 kB / 0.5271 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.01347, allocations: 3.953 kB / 0.5271 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.01349, allocations: 12.66 kB / 0.5271 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.177e-05/0.01351, allocations: 0 / 0.5271 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.01356, allocations: 12.64 kB / 0.5271 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.01357, allocations: 11.3 kB / 0.5272 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.489e-05/0.01366, allocations: 141.4 kB / 0.5273 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01366, allocations: 0 / 0.5273 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002612/0.01392, allocations: 44 kB / 0.5273 GB, free: 10.2 MB / 0.4948 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.0001718/0.0141, allocations: 103.2 kB / 0.5274 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006515/0.01475, allocations: 497.9 kB / 0.5279 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01475, allocations: 0 / 0.5279 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.175e-05/0.01483, allocations: 43.61 kB / 0.5279 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.01511, allocations: 23.92 kB / 0.528 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.01555, allocations: 202.8 kB / 0.5282 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.592e-05/0.01564, allocations: 81.08 kB / 0.5282 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.193e-05/0.01567, allocations: 8.484 kB / 0.5282 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.0157, allocations: 18.97 kB / 0.5283 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.0157, allocations: 0 / 0.5283 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of Templates: time 0.007188/0.02289, allocations: 2.922 MB / 0.5311 GB, free: 6.375 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.13451788504608]