Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.001429/0.001429, allocations: 69.11 kB / 20.65 MB, free: 3.848 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.001005/0.001005, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9593/0.9593, allocations: 177.1 MB / 204.5 MB, free: 4.984 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.7787/0.7787, allocations: 154.9 MB / 415.9 MB, free: 188 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.437e-06/3.437e-06, allocations: 0 / 0.5219 GB, free: 1.465 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.217e-05, allocations: 3.344 kB / 0.5219 GB, free: 1.461 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001887/0.001919, allocations: 0.5421 MB / 0.5224 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 4.404e-05/0.001963, allocations: 4 kB / 0.5224 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.00199, allocations: 0 / 0.5224 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.503e-05/0.002015, allocations: 0 / 0.5224 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.313e-05/0.002048, allocations: 0.5625 kB / 0.5224 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.145e-05/0.002079, allocations: 0 / 0.5224 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.629e-05/0.002136, allocations: 9.109 kB / 0.5224 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.002181, allocations: 2.078 kB / 0.5224 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.656e-05/0.002208, allocations: 0 / 0.5224 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.995e-05/0.002228, allocations: 0 / 0.5224 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.002242, allocations: 0.5625 kB / 0.5224 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.618e-06/0.002247, allocations: 4.656 kB / 0.5225 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.002259, allocations: 0.7656 kB / 0.5225 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.173e-05/0.002271, allocations: 0.625 kB / 0.5225 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 5.318e-05/0.002324, allocations: 11.91 kB / 0.5225 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.002327, allocations: 4.781 kB / 0.5225 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.002328, allocations: 0 / 0.5225 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.002332, allocations: 1.031 kB / 0.5225 GB, free: 0.9102 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.0002318/0.002564, allocations: 336.4 kB / 0.5228 GB, free: 0.543 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.002598, allocations: 13.78 kB / 0.5228 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.888e-05/0.002617, allocations: 0.9375 kB / 0.5228 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.32e-05/0.00269, allocations: 104.6 kB / 0.5229 GB, free: 412 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.0027, allocations: 384 / 0.5229 GB, free: 412 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-06/0.002706, allocations: 4.375 kB / 0.5229 GB, free: 408 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.995e-05/0.002756, allocations: 32 kB / 0.5229 GB, free: 372 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.002762, allocations: 192 / 0.5229 GB, free: 372 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-06/0.002768, allocations: 384 / 0.5229 GB, free: 372 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.002772, allocations: 384 / 0.5229 GB, free: 372 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.625e-06/0.002779, allocations: 12.62 kB / 0.523 GB, free: 360 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002304/0.00301, allocations: 458.8 kB / 0.5234 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.137e-05/0.003091, allocations: 262.8 kB / 0.5236 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.136e-05/0.003123, allocations: 126.9 kB / 0.5238 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.003148, allocations: 123.1 kB / 0.5239 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.003191, allocations: 160.6 kB / 0.524 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.113e-06/0.003192, allocations: 1.281 kB / 0.524 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 4.556e-05/0.003238, allocations: 29.64 kB / 0.5241 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.00329, allocations: 170.6 kB / 0.5242 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.905e-05/0.003359, allocations: 159.9 kB / 0.5244 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-06/0.003367, allocations: 25.7 kB / 0.5244 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.003405, allocations: 126.9 kB / 0.5245 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.81e-07/0.003406, allocations: 0 / 0.5245 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/0.003426, allocations: 21.41 kB / 0.5245 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.00354, allocations: 496.1 kB / 0.525 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.604e-06/0.003542, allocations: 0 / 0.525 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.02e-06/0.003547, allocations: 7.938 kB / 0.525 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.065e-05/0.003578, allocations: 123.2 kB / 0.5251 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.508e-05/0.003603, allocations: 119.2 kB / 0.5253 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.903e-05/0.003642, allocations: 30.27 kB / 0.5253 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.003675, allocations: 128.1 kB / 0.5254 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.85e-05/0.003704, allocations: 119.2 kB / 0.5255 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.045e-05/0.003764, allocations: 250.2 kB / 0.5258 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.728e-05/0.003791, allocations: 120.1 kB / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.147e-05/0.003843, allocations: 246.3 kB / 0.5261 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.603e-05/0.003899, allocations: 124.3 kB / 0.5262 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.003926, allocations: 123.2 kB / 0.5263 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.000109/0.004035, allocations: 399.9 kB / 0.5267 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.004081, allocations: 149.2 kB / 0.5269 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.639e-05/0.004127, allocations: 147.9 kB / 0.527 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.937e-05/0.004186, allocations: 277 kB / 0.5273 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.99e-05/0.004246, allocations: 272.1 kB / 0.5275 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.925e-05/0.004305, allocations: 268 kB / 0.5278 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.004513, allocations: 477.7 kB / 0.5282 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.154e-05/0.004544, allocations: 148.9 kB / 0.5284 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/0.004576, allocations: 152.8 kB / 0.5285 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.598e-05/0.004632, allocations: 275.2 kB / 0.5288 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.854e-05/0.00469, allocations: 268 kB / 0.529 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.574e-05/0.004746, allocations: 264.1 kB / 0.5293 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-05/0.004801, allocations: 268.1 kB / 0.5296 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.00493, allocations: 447.9 kB / 0.53 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.004967, allocations: 156.8 kB / 0.5301 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.084e-05/0.005028, allocations: 268.1 kB / 0.5304 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.882e-05/0.005077, allocations: 144.9 kB / 0.5305 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/0.005136, allocations: 275 kB / 0.5308 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/0.005169, allocations: 153.2 kB / 0.5309 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.417e-05/0.005203, allocations: 119.2 kB / 0.531 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005203, allocations: 0 / 0.531 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001543/0.005358, allocations: 0 / 0.531 GB, free: 7.738 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 0.0001106/0.005468, allocations: 214.4 kB / 0.5313 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 3.398e-05/0.005502, allocations: 5.438 kB / 0.5313 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.005504, allocations: 0 / 0.5313 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.005505, allocations: 48 / 0.5313 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.005808, allocations: 0.7102 MB / 0.532 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001999/0.006008, allocations: 208.6 kB / 0.5322 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.885e-05/0.006037, allocations: 58.17 kB / 0.5322 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.074e-06/0.006039, allocations: 7.938 kB / 0.5322 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.006063, allocations: 66.2 kB / 0.5323 GB, free: 6.422 MB / 0.4948 GB Notification: Performance of SimCode: time 8.32e-07/0.006064, allocations: 0 / 0.5323 GB, free: 6.422 MB / 0.4948 GB Notification: Performance of Templates: time 0.001249/0.007313, allocations: 173.5 kB / 0.5324 GB, free: 6.258 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7455554897896945]