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.00098/0.00098, allocations: 85.73 kB / 19.87 MB, free: 4.613 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.001064/0.001064, allocations: 169 kB / 23.27 MB, free: 1.223 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.9403/0.9403, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.751/0.751, allocations: 154.9 MB / 415.1 MB, free: 292 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 1.733e-06/1.733e-06, allocations: 0 / 0.5212 GB, free: 1.508 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.844e-05, allocations: 2.312 kB / 0.5212 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001332/0.00135, allocations: 0.576 MB / 0.5217 GB, free: 0.957 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 4.232e-05/0.001392, allocations: 5.203 kB / 0.5217 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.682e-05/0.001419, allocations: 0 / 0.5217 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003542/0.004961, allocations: 5.156 kB / 0.5217 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.987e-05/0.004991, allocations: 0 / 0.5217 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.236e-05/0.005024, allocations: 0 / 0.5217 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.282e-05/0.005076, allocations: 13.25 kB / 0.5218 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.005116, allocations: 4.188 kB / 0.5218 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.034e-05/0.005146, allocations: 1.812 kB / 0.5218 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.146e-05/0.005168, allocations: 0.875 kB / 0.5218 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.005183, allocations: 0 / 0.5218 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.436e-06/0.005187, allocations: 0 / 0.5218 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.005197, allocations: 0 / 0.5218 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.517e-05/0.005213, allocations: 5.5 kB / 0.5218 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 5.007e-05/0.005263, allocations: 4 kB / 0.5218 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.005265, allocations: 0 / 0.5218 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005265, allocations: 0 / 0.5218 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.016e-06/0.005268, allocations: 1.281 kB / 0.5218 GB, free: 0.9258 MB / 490.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.0002254/0.005494, allocations: 344.4 kB / 0.5221 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.00553, allocations: 8.031 kB / 0.5221 GB, free: 0.543 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.958e-05/0.005549, allocations: 1.562 kB / 0.5221 GB, free: 0.543 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.561e-05/0.005615, allocations: 108.6 kB / 0.5222 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.005624, allocations: 1.125 kB / 0.5222 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-06/0.005628, allocations: 384 / 0.5222 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.258e-05/0.00568, allocations: 35.61 kB / 0.5222 GB, free: 380 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.005687, allocations: 192 / 0.5222 GB, free: 380 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-06/0.005691, allocations: 384 / 0.5222 GB, free: 380 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.005696, allocations: 1.438 kB / 0.5222 GB, free: 380 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.236e-06/0.005704, allocations: 7.922 kB / 0.5223 GB, free: 372 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002362/0.005941, allocations: 458.8 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.71e-05/0.006038, allocations: 277 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.00607, allocations: 126.9 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.006095, allocations: 119.2 kB / 0.5232 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.442e-05/0.00617, allocations: 156.6 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.006171, allocations: 0 / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 5.216e-05/0.006223, allocations: 29.64 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.00627, allocations: 170.6 kB / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.158e-05/0.006341, allocations: 153.9 kB / 0.5237 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.006351, allocations: 34.14 kB / 0.5237 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.006387, allocations: 126.9 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.42e-07/0.006388, allocations: 0.5625 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/0.006409, allocations: 15.94 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.006579, allocations: 492.1 kB / 0.5243 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-06/0.006583, allocations: 4.969 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.679e-06/0.006588, allocations: 4 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.806e-05/0.006616, allocations: 124.6 kB / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.478e-05/0.006641, allocations: 119.2 kB / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.496e-05/0.006686, allocations: 29.7 kB / 0.5246 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.006721, allocations: 123.2 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.18e-05/0.006752, allocations: 135.8 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.929e-05/0.006812, allocations: 242.3 kB / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.868e-05/0.00684, allocations: 123.9 kB / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.112e-05/0.006891, allocations: 248.3 kB / 0.5254 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.006953, allocations: 119.2 kB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.006982, allocations: 127.1 kB / 0.5257 GB, free: 12.75 MB / 0.4948 GB 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 0.0002657/0.007247, allocations: 391 kB / 0.526 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.005e-05/0.007307, allocations: 148.9 kB / 0.5262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.812e-05/0.007366, allocations: 161.8 kB / 0.5263 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.062e-05/0.007436, allocations: 268 kB / 0.5266 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.669e-05/0.007503, allocations: 264.1 kB / 0.5268 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.776e-05/0.007571, allocations: 272 kB / 0.5271 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.007723, allocations: 480.5 kB / 0.5275 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-05/0.007751, allocations: 155.6 kB / 0.5277 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.676e-05/0.007778, allocations: 144.9 kB / 0.5278 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-05/0.007825, allocations: 264.1 kB / 0.5281 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.068e-05/0.007875, allocations: 276 kB / 0.5284 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.097e-05/0.007926, allocations: 268.1 kB / 0.5286 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-05/0.007974, allocations: 268 kB / 0.5289 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.008074, allocations: 444.3 kB / 0.5293 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.008107, allocations: 158.5 kB / 0.5294 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002874/0.008394, allocations: 264.1 kB / 0.5297 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.037e-05/0.008445, allocations: 156.8 kB / 0.5298 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.008499, allocations: 264.1 kB / 0.5301 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.008528, allocations: 149.2 kB / 0.5302 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.421e-05/0.008562, allocations: 128.1 kB / 0.5304 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008563, allocations: 0 / 0.5304 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001401/0.008703, allocations: 4.797 kB / 0.5304 GB, free: 7.746 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: 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 8.311e-05/0.008786, allocations: 215.1 kB / 0.5306 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 3.104e-05/0.008817, allocations: 4.625 kB / 0.5306 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.008818, allocations: 2.938 kB / 0.5306 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.21e-07/0.008819, allocations: 48 / 0.5306 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.00907, allocations: 0.7061 MB / 0.5313 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001513/0.009221, allocations: 208.6 kB / 0.5315 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.742e-05/0.009248, allocations: 59.23 kB / 0.5315 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.783e-06/0.00925, allocations: 0 / 0.5315 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.009273, allocations: 70.19 kB / 0.5316 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.009274, allocations: 0 / 0.5316 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.00132/0.01059, allocations: 171.9 kB / 0.5317 GB, free: 6.266 MB / 0.4948 GB " [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: 3.381534461863339]