Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.0009791/0.0009791, 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.001557/0.001557, allocations: 165 kB / 23.02 MB, free: 1.551 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.002/1.002, allocations: 177.1 MB / 203.4 MB, free: 5.172 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.8178/0.8178, allocations: 154.8 MB / 414.7 MB, free: 432 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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.076e-06/3.076e-06, allocations: 0 / 0.5206 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.463e-05/3.77e-05, allocations: 3.5 kB / 0.5206 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002034/0.002072, allocations: 0.5824 MB / 0.5212 GB, free: 232 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 5.191e-05/0.002124, allocations: 4 kB / 0.5212 GB, free: 228 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.002154, allocations: 0 / 0.5212 GB, free: 228 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.243e-05/0.002187, allocations: 0 / 0.5212 GB, free: 228 kB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.22e-05/0.002219, allocations: 0.5312 kB / 0.5212 GB, free: 228 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.646e-05/0.002255, allocations: 5.594 kB / 0.5212 GB, free: 224 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.273e-05/0.002328, allocations: 0.7656 kB / 0.5212 GB, free: 224 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.742e-05/0.002385, allocations: 192 / 0.5212 GB, free: 224 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.32e-05/0.002419, allocations: 4.859 kB / 0.5212 GB, free: 220 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.328e-05/0.002442, allocations: 4 kB / 0.5212 GB, free: 216 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.002458, allocations: 0.5 kB / 0.5212 GB, free: 216 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.419e-06/0.002462, allocations: 1.5 kB / 0.5212 GB, free: 216 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.002477, allocations: 0.5469 kB / 0.5212 GB, free: 216 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.0025, allocations: 3.938 kB / 0.5212 GB, free: 212 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.171e-05/0.002581, allocations: 3.984 kB / 0.5212 GB, free: 208 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.002587, allocations: 4.75 kB / 0.5212 GB, free: 204 kB / 442.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.002588, allocations: 0 / 0.5212 GB, free: 204 kB / 442.7 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.002595, allocations: 9.031 kB / 0.5212 GB, free: 196 kB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000329/0.002924, allocations: 336.4 kB / 0.5215 GB, free: 15.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.00297, allocations: 8.031 kB / 0.5215 GB, free: 15.82 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.003008, allocations: 6.047 kB / 0.5215 GB, free: 15.81 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.003181, allocations: 104.6 kB / 0.5216 GB, free: 15.68 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.003201, allocations: 4.375 kB / 0.5217 GB, free: 15.68 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.00322, allocations: 2.781 kB / 0.5217 GB, free: 15.68 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.498e-05/0.003305, allocations: 30.27 kB / 0.5217 GB, free: 15.64 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.003319, allocations: 192 / 0.5217 GB, free: 15.64 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.003329, allocations: 384 / 0.5217 GB, free: 15.64 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.00334, allocations: 4.375 kB / 0.5217 GB, free: 15.64 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.573e-05/0.003355, allocations: 5.531 kB / 0.5217 GB, free: 15.64 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.003658, allocations: 474.1 kB / 0.5221 GB, free: 15.14 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.749e-05/0.003756, allocations: 265.4 kB / 0.5224 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.828e-05/0.003794, allocations: 130.9 kB / 0.5225 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.003823, allocations: 119.8 kB / 0.5226 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/0.003873, allocations: 152.6 kB / 0.5228 GB, free: 14.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.003874, allocations: 1 kB / 0.5228 GB, free: 14.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 6.285e-05/0.003937, allocations: 33.58 kB / 0.5228 GB, free: 14.41 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.003999, allocations: 175.7 kB / 0.523 GB, free: 14.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.653e-05/0.004085, allocations: 149.9 kB / 0.5231 GB, free: 14.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.004095, allocations: 25.7 kB / 0.5232 GB, free: 14.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.004142, allocations: 135.5 kB / 0.5233 GB, free: 13.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-06/0.004144, allocations: 1.031 kB / 0.5233 GB, free: 13.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/0.004165, allocations: 19.38 kB / 0.5233 GB, free: 13.87 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.004278, allocations: 492.1 kB / 0.5238 GB, free: 13.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.368e-06/0.004282, allocations: 1.562 kB / 0.5238 GB, free: 13.38 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.536e-06/0.004286, allocations: 0 / 0.5238 GB, free: 13.38 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.133e-05/0.004317, allocations: 119.2 kB / 0.5239 GB, free: 13.26 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.137e-05/0.004349, allocations: 127.1 kB / 0.524 GB, free: 13.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.755e-05/0.004386, allocations: 30.77 kB / 0.524 GB, free: 13.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.021e-05/0.004426, allocations: 127.2 kB / 0.5242 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.202e-05/0.004458, allocations: 123.1 kB / 0.5243 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.561e-05/0.004524, allocations: 247 kB / 0.5245 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.881e-05/0.004553, allocations: 119.3 kB / 0.5246 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.225e-05/0.004605, allocations: 251.7 kB / 0.5249 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.004652, allocations: 123.1 kB / 0.525 GB, free: 12.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.004675, allocations: 119.2 kB / 0.5251 GB, free: 12.01 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 9.898e-05/0.004774, allocations: 396.2 kB / 0.5255 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.004816, allocations: 148.8 kB / 0.5256 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.886e-05/0.004865, allocations: 155.8 kB / 0.5258 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.185e-05/0.004917, allocations: 272.9 kB / 0.526 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.455e-05/0.004972, allocations: 272 kB / 0.5263 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.634e-05/0.005028, allocations: 268.9 kB / 0.5265 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.005174, allocations: 495.9 kB / 0.527 GB, free: 9.953 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-05/0.005206, allocations: 151.5 kB / 0.5272 GB, free: 9.801 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.838e-05/0.005234, allocations: 152.9 kB / 0.5273 GB, free: 9.645 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.305e-05/0.005287, allocations: 268 kB / 0.5276 GB, free: 9.375 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.721e-05/0.005355, allocations: 264.1 kB / 0.5278 GB, free: 9.109 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.407e-05/0.005429, allocations: 279.9 kB / 0.5281 GB, free: 8.828 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.016e-05/0.005499, allocations: 268.1 kB / 0.5283 GB, free: 8.559 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.005619, allocations: 448 kB / 0.5288 GB, free: 8.094 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/0.005655, allocations: 153.5 kB / 0.5289 GB, free: 7.938 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.417e-05/0.005719, allocations: 268 kB / 0.5292 GB, free: 7.668 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.801e-05/0.005767, allocations: 149.3 kB / 0.5293 GB, free: 7.516 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.005823, allocations: 272.5 kB / 0.5296 GB, free: 7.242 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.45e-05/0.005857, allocations: 145.2 kB / 0.5297 GB, free: 7.094 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.284e-05/0.00589, allocations: 124.3 kB / 0.5298 GB, free: 6.973 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00589, allocations: 4 kB / 0.5298 GB, free: 6.969 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001478/0.006038, allocations: 0.6875 kB / 0.5298 GB, free: 6.969 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001091/0.006147, allocations: 215.9 kB / 0.53 GB, free: 6.746 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 4.039e-05/0.006187, allocations: 0 / 0.53 GB, free: 6.746 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.006189, allocations: 0 / 0.53 GB, free: 6.746 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.006191, allocations: 8.484 kB / 0.53 GB, free: 6.738 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.006485, allocations: 0.6994 MB / 0.5307 GB, free: 6.035 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000199/0.006684, allocations: 220.9 kB / 0.5309 GB, free: 5.789 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.911e-05/0.006713, allocations: 52.33 kB / 0.531 GB, free: 5.719 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.665e-06/0.006716, allocations: 3.984 kB / 0.531 GB, free: 5.715 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.007e-05/0.006726, allocations: 8.5 kB / 0.531 GB, free: 5.707 MB / 458.7 MB Notification: Performance of SimCode: time 4.21e-07/0.006726, allocations: 0.625 kB / 0.531 GB, free: 5.707 MB / 458.7 MB Notification: Performance of Templates: time 0.001444/0.00817, allocations: 166.1 kB / 0.5312 GB, free: 5.551 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.018836312927306]