Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001033/0.001033, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009565/0.0009565, allocations: 173 kB / 23.49 MB, free: 1.059 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.9821/0.9821, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8112/0.8112, allocations: 154.8 MB / 415.1 MB, free: 500 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.766e-06/2.766e-06, allocations: 0.6562 kB / 0.5205 GB, free: 2.277 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.364e-05, allocations: 3.406 kB / 0.5205 GB, free: 2.273 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001448/0.001482, allocations: 0.5834 MB / 0.5211 GB, free: 1.715 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.002627, allocations: 1.169 MB / 0.5223 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.086e-05/0.002668, allocations: 0 / 0.5223 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.485e-05/0.002693, allocations: 4.594 kB / 0.5223 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.114e-05/0.002754, allocations: 0 / 0.5223 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.003182, allocations: 120.7 kB / 0.5224 GB, free: 424 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.003353, allocations: 92.38 kB / 0.5225 GB, free: 332 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.003459, allocations: 4.5 kB / 0.5225 GB, free: 328 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.789e-05/0.003557, allocations: 43.97 kB / 0.5225 GB, free: 284 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.132e-05/0.003649, allocations: 32.56 kB / 0.5225 GB, free: 252 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.00367, allocations: 9.219 kB / 0.5225 GB, free: 244 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.259e-05/0.003732, allocations: 16 kB / 0.5226 GB, free: 228 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.003754, allocations: 7.984 kB / 0.5226 GB, free: 220 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.649e-05/0.0038, allocations: 23.97 kB / 0.5226 GB, free: 196 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.003947, allocations: 80.34 kB / 0.5227 GB, free: 116 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.00395, allocations: 1.812 kB / 0.5227 GB, free: 116 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.003951, allocations: 0 / 0.5227 GB, free: 116 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.003955, allocations: 0 / 0.5227 GB, free: 116 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.0003885/0.004344, allocations: 406.3 kB / 0.5231 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.004378, allocations: 8.031 kB / 0.5231 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.004428, allocations: 10.66 kB / 0.5231 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.951e-05/0.004507, allocations: 104.6 kB / 0.5232 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.004523, allocations: 8.375 kB / 0.5232 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.004537, allocations: 4.375 kB / 0.5232 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.862e-05/0.004626, allocations: 61.42 kB / 0.5232 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.004632, allocations: 192 / 0.5232 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.004642, allocations: 4.375 kB / 0.5233 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.004649, allocations: 384 / 0.5233 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.434e-05/0.004663, allocations: 8.625 kB / 0.5233 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.004948, allocations: 283.7 kB / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.894e-05/0.004987, allocations: 24.53 kB / 0.5236 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.329e-05/0.005, allocations: 11.75 kB / 0.5236 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.958e-06/0.005004, allocations: 0 / 0.5236 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/0.00511, allocations: 96.03 kB / 0.5237 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.005111, allocations: 0 / 0.5237 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001564/0.005267, allocations: 57.62 kB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.005302, allocations: 55.41 kB / 0.5238 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.77e-05/0.00538, allocations: 162.4 kB / 0.5239 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.005395, allocations: 33.08 kB / 0.524 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.005444, allocations: 138.8 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/0.005452, allocations: 0 / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.005495, allocations: 39.34 kB / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.005603, allocations: 496.1 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.813e-05/0.005661, allocations: 57.62 kB / 0.5247 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.248e-05/0.005724, allocations: 88.67 kB / 0.5247 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.072e-05/0.005795, allocations: 81.8 kB / 0.5248 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.005797, allocations: 0 / 0.5248 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001784/0.005975, allocations: 182.1 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.006006, allocations: 41.62 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.00601, allocations: 0.875 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.006022, allocations: 7.938 kB / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.169e-05/0.006043, allocations: 1.469 kB / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.006049, allocations: 0 / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.00617, allocations: 19.98 kB / 0.5251 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.006184, allocations: 8.922 kB / 0.5251 GB, free: 13.39 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 7.75e-05/0.006262, allocations: 164.5 kB / 0.5252 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.088e-06/0.006271, allocations: 6.656 kB / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.006294, allocations: 7.938 kB / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.006295, allocations: 0 / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.0063, allocations: 0 / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.006304, allocations: 0 / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.229e-05/0.006386, allocations: 124.6 kB / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.006388, allocations: 0 / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-06/0.006392, allocations: 2.75 kB / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.006396, allocations: 3.984 kB / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.006402, allocations: 0 / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.006404, allocations: 3.938 kB / 0.5254 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.006406, allocations: 0 / 0.5254 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.297e-05/0.006489, allocations: 92.38 kB / 0.5255 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-06/0.006495, allocations: 4 kB / 0.5255 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.006504, allocations: 1 kB / 0.5255 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.138e-05/0.006515, allocations: 7.922 kB / 0.5255 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/0.006539, allocations: 0 / 0.5255 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.006544, allocations: 4.938 kB / 0.5255 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.577e-05/0.00658, allocations: 127.2 kB / 0.5256 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00658, allocations: 0 / 0.5256 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001452/0.006725, allocations: 20.92 kB / 0.5256 GB, free: 12.77 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.000111/0.006836, allocations: 99.89 kB / 0.5257 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001644/0.007, allocations: 150.2 kB / 0.5258 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.007002, allocations: 0 / 0.5258 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.042e-05/0.007022, allocations: 11.69 kB / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.007186, allocations: 22.36 kB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000241/0.007427, allocations: 126.2 kB / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.056e-05/0.007458, allocations: 59.3 kB / 0.5261 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.78e-05/0.007475, allocations: 4 kB / 0.5261 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.654e-05/0.007492, allocations: 15.39 kB / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of SimCode: time 1.011e-06/0.007493, allocations: 0 / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of Templates: time 0.003502/0.01099, allocations: 1.178 MB / 0.5272 GB, free: 11.1 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.868766547879204]