Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.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.001093/0.001093, allocations: 93.06 kB / 19.65 MB, free: 280 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.001266/0.001266, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.001/1.001, allocations: 177.1 MB / 203.4 MB, free: 5.629 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-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 0.7632/0.7632, allocations: 154.6 MB / 414.5 MB, free: 0.6523 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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.297e-06/3.297e-06, allocations: 0 / 0.5203 GB, free: 2.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.438e-05/3.767e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.246 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001388/0.001426, allocations: 0.5822 MB / 0.5209 GB, free: 1.688 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.002648, allocations: 1.166 MB / 0.522 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/0.002696, allocations: 0 / 0.522 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.371e-05/0.00273, allocations: 4 kB / 0.522 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.296e-05/0.002813, allocations: 7.875 kB / 0.522 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.003308, allocations: 121 kB / 0.5221 GB, free: 392 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.003475, allocations: 92.34 kB / 0.5222 GB, free: 300 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.003592, allocations: 4 kB / 0.5222 GB, free: 296 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.003693, allocations: 48.7 kB / 0.5223 GB, free: 248 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.003801, allocations: 31.89 kB / 0.5223 GB, free: 216 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.003828, allocations: 9.469 kB / 0.5223 GB, free: 208 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.123e-05/0.0039, allocations: 15.98 kB / 0.5223 GB, free: 192 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.003923, allocations: 4 kB / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.003978, allocations: 23.98 kB / 0.5223 GB, free: 164 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.004139, allocations: 77.17 kB / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.004142, allocations: 3.938 kB / 0.5224 GB, free: 84 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.004144, allocations: 0 / 0.5224 GB, free: 84 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.004149, allocations: 7.406 kB / 0.5224 GB, free: 80 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004543/0.004604, allocations: 398.3 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.004651, allocations: 8.031 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/0.004709, allocations: 8.938 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.529e-05/0.004805, allocations: 112.6 kB / 0.5229 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.004819, allocations: 4.375 kB / 0.5229 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.004838, allocations: 8.359 kB / 0.5229 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.257e-05/0.00493, allocations: 55.97 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.004942, allocations: 4.172 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.004951, allocations: 0.9375 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.004959, allocations: 0.9375 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.663e-05/0.004976, allocations: 11.92 kB / 0.523 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.005287, allocations: 284.2 kB / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.305e-05/0.00533, allocations: 28 kB / 0.5233 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.545e-05/0.005345, allocations: 11.75 kB / 0.5233 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.628e-06/0.00535, allocations: 1.469 kB / 0.5233 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001048/0.005455, allocations: 86.75 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.005456, allocations: 0 / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001704/0.005626, allocations: 62.44 kB / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.005667, allocations: 55.39 kB / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/0.005749, allocations: 166.1 kB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.005769, allocations: 34.62 kB / 0.5237 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.005816, allocations: 130.8 kB / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.077e-06/0.005825, allocations: 5.625 kB / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.005871, allocations: 35.36 kB / 0.5239 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.005986, allocations: 496.1 kB / 0.5243 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.527e-05/0.006051, allocations: 57.67 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.656e-05/0.006118, allocations: 88.75 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.345e-05/0.006191, allocations: 82.81 kB / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.006194, allocations: 0 / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001861/0.00638, allocations: 178.3 kB / 0.5247 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.006414, allocations: 37.64 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.006418, allocations: 0 / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.006435, allocations: 3.938 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.048e-05/0.006456, allocations: 10.41 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.006461, allocations: 0 / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.006593, allocations: 23.97 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.006607, allocations: 4 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 8.115e-05/0.006688, allocations: 168.5 kB / 0.525 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.006698, allocations: 6.734 kB / 0.525 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.006729, allocations: 15.94 kB / 0.525 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.006732, allocations: 0 / 0.525 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.006736, allocations: 0 / 0.525 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.006739, allocations: 0 / 0.525 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.995e-05/0.006819, allocations: 116.6 kB / 0.5251 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.006821, allocations: 0 / 0.5251 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.399e-05/0.006835, allocations: 5.188 kB / 0.5251 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.006837, allocations: 0 / 0.5251 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.006846, allocations: 0 / 0.5251 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.006849, allocations: 3.938 kB / 0.5251 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.00685, allocations: 0.9375 kB / 0.5251 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.991e-05/0.00695, allocations: 96.55 kB / 0.5252 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-06/0.006957, allocations: 4.922 kB / 0.5252 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.006969, allocations: 4 kB / 0.5252 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.376e-05/0.006982, allocations: 3.938 kB / 0.5252 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.007011, allocations: 0.6562 kB / 0.5252 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.007016, allocations: 5.156 kB / 0.5252 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.12e-05/0.007057, allocations: 135.2 kB / 0.5253 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007057, allocations: 0 / 0.5253 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001464/0.007204, allocations: 12 kB / 0.5254 GB, free: 12.73 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001294/0.007333, allocations: 97.69 kB / 0.5255 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.007509, allocations: 148.7 kB / 0.5256 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.007511, allocations: 0 / 0.5256 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.285e-05/0.007534, allocations: 18.78 kB / 0.5256 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.007704, allocations: 13.84 kB / 0.5256 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.007962, allocations: 126.2 kB / 0.5257 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.18e-05/0.007994, allocations: 59.34 kB / 0.5258 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.745e-05/0.008011, allocations: 0 / 0.5258 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.008031, allocations: 16.44 kB / 0.5258 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.008031, allocations: 1.5 kB / 0.5258 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.002975/0.01101, allocations: 1.177 MB / 0.527 GB, free: 11.08 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8085187040269375]