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.002564/0.002564, 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.002671/0.002671, allocations: 177.2 kB / 22.76 MB, free: 1.66 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.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.341/1.341, allocations: 154.8 MB / 414.3 MB, free: 468 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 178] 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.564e-06/2.564e-06, allocations: 0 / 0.5198 GB, free: 2.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.225e-05, allocations: 6.141 kB / 0.5198 GB, free: 2.336 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001874/0.001907, allocations: 0.5891 MB / 0.5204 GB, free: 1.77 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.003778, allocations: 1.141 MB / 0.5215 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.003822, allocations: 0 / 0.5215 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.599e-05/0.003848, allocations: 0.5625 kB / 0.5215 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.313e-05/0.003931, allocations: 11.94 kB / 0.5215 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.004429, allocations: 125.1 kB / 0.5216 GB, free: 496 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.004617, allocations: 83.83 kB / 0.5217 GB, free: 412 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.137e-05/0.004699, allocations: 5.469 kB / 0.5217 GB, free: 408 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.004816, allocations: 51.94 kB / 0.5218 GB, free: 356 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.338e-05/0.004909, allocations: 27.91 kB / 0.5218 GB, free: 328 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.004939, allocations: 4.625 kB / 0.5218 GB, free: 324 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.626e-05/0.005015, allocations: 23.98 kB / 0.5218 GB, free: 300 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.005032, allocations: 0.625 kB / 0.5218 GB, free: 300 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.48e-05/0.005097, allocations: 27.97 kB / 0.5219 GB, free: 272 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.005307, allocations: 101.6 kB / 0.522 GB, free: 172 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.00531, allocations: 4 kB / 0.522 GB, free: 168 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005311, allocations: 0 / 0.522 GB, free: 168 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.005316, allocations: 0 / 0.522 GB, free: 168 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.0006009/0.005917, allocations: 398 kB / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.005959, allocations: 8.594 kB / 0.5223 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.346e-05/0.006023, allocations: 9.656 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/0.006432, allocations: 112.6 kB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.006457, allocations: 8.359 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.006477, allocations: 8.875 kB / 0.5225 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.006597, allocations: 57.41 kB / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.006606, allocations: 192 / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.006618, allocations: 4.359 kB / 0.5225 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.006623, allocations: 1.156 kB / 0.5225 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.813e-05/0.006651, allocations: 11.94 kB / 0.5225 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.007077, allocations: 284.7 kB / 0.5228 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.63e-05/0.007153, allocations: 27.06 kB / 0.5228 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.985e-05/0.007173, allocations: 7.688 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.007185, allocations: 6.938 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.007327, allocations: 90.75 kB / 0.5229 GB, free: 15 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.007328, allocations: 0 / 0.5229 GB, free: 15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.00025/0.007578, allocations: 73.55 kB / 0.523 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.007632, allocations: 51.41 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.007787, allocations: 169.9 kB / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.007815, allocations: 29.7 kB / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.367e-05/0.007909, allocations: 135.5 kB / 0.5234 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.007922, allocations: 5.172 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.292e-05/0.007995, allocations: 35.36 kB / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002857/0.008281, allocations: 0.4922 MB / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.008399, allocations: 65.67 kB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.008537, allocations: 97.72 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.008681, allocations: 97.86 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.008683, allocations: 320 / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003326/0.009016, allocations: 201.8 kB / 0.5243 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.643e-05/0.009062, allocations: 34.55 kB / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.00907, allocations: 4 kB / 0.5244 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.009091, allocations: 4 kB / 0.5244 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.856e-05/0.00911, allocations: 1.219 kB / 0.5244 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.009123, allocations: 7.922 kB / 0.5244 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.009315, allocations: 24.61 kB / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.009338, allocations: 4 kB / 0.5244 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 0.000137/0.009475, allocations: 158.4 kB / 0.5246 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.009494, allocations: 11.98 kB / 0.5246 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.00952, allocations: 7.938 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.009522, allocations: 0 / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.009525, allocations: 1.594 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.009528, allocations: 4 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.009666, allocations: 120.6 kB / 0.5247 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.009667, allocations: 0 / 0.5247 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-06/0.009673, allocations: 0.6562 kB / 0.5247 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.009674, allocations: 4 kB / 0.5247 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.009681, allocations: 2.906 kB / 0.5247 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.009685, allocations: 3.938 kB / 0.5247 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.009687, allocations: 0 / 0.5247 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.009839, allocations: 100.3 kB / 0.5248 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-06/0.009848, allocations: 4 kB / 0.5248 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.00986, allocations: 0 / 0.5248 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.93e-05/0.00988, allocations: 3.938 kB / 0.5248 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.009912, allocations: 4 kB / 0.5248 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.009916, allocations: 3.125 kB / 0.5248 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.974e-05/0.01001, allocations: 131.2 kB / 0.525 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01001, allocations: 0 / 0.525 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002137/0.01022, allocations: 19.94 kB / 0.525 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.0001758/0.0104, allocations: 103.2 kB / 0.5251 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002995/0.0107, allocations: 174.5 kB / 0.5252 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.0107, allocations: 0 / 0.5252 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.6e-05/0.01073, allocations: 15.69 kB / 0.5253 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.01094, allocations: 14.52 kB / 0.5253 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.01128, allocations: 128.2 kB / 0.5254 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.452e-05/0.01136, allocations: 63.34 kB / 0.5255 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.642e-05/0.01137, allocations: 0 / 0.5255 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.0114, allocations: 12.5 kB / 0.5255 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of SimCode: time 4.71e-07/0.0114, allocations: 2.75 kB / 0.5255 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of Templates: time 0.004595/0.01599, allocations: 1.193 MB / 0.5266 GB, free: 11.03 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: 6.1257325750775635]