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.001559/0.001559, allocations: 92.31 kB / 20.19 MB, free: 4.355 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.001591/0.001591, allocations: 169 kB / 23.49 MB, free: 1.051 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.028/1.028, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.9405/0.9405, allocations: 154.8 MB / 415.1 MB, free: 0.5078 MB / 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 2.695e-06/2.695e-06, allocations: 0 / 0.5206 GB, free: 2.289 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.99e-05/3.259e-05, allocations: 3.719 kB / 0.5206 GB, free: 2.285 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001294/0.001326, allocations: 0.5461 MB / 0.5211 GB, free: 1.762 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 4.822e-05/0.001375, allocations: 8 kB / 0.5211 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.997e-05/0.001405, allocations: 0 / 0.5211 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.634e-05/0.001431, allocations: 1.719 kB / 0.5211 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.869e-05/0.00146, allocations: 0.7656 kB / 0.5211 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.337e-05/0.001493, allocations: 0 / 0.5211 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.951e-05/0.001552, allocations: 0.7656 kB / 0.5211 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.0016, allocations: 4.188 kB / 0.5211 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.956e-05/0.00163, allocations: 1.375 kB / 0.5211 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.247e-05/0.001652, allocations: 336 / 0.5211 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.001672, allocations: 0 / 0.5211 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.137e-06/0.001676, allocations: 3.938 kB / 0.5211 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.00169, allocations: 0.5312 kB / 0.5211 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.00171, allocations: 4.75 kB / 0.5211 GB, free: 1.742 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.326e-05/0.001774, allocations: 7.984 kB / 0.5212 GB, free: 1.734 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.001776, allocations: 5.406 kB / 0.5212 GB, free: 1.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.001777, allocations: 0 / 0.5212 GB, free: 1.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.001781, allocations: 0 / 0.5212 GB, free: 1.73 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.0002772/0.002058, allocations: 336.4 kB / 0.5215 GB, free: 1.363 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.002104, allocations: 9.375 kB / 0.5215 GB, free: 1.355 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.002141, allocations: 0.9375 kB / 0.5215 GB, free: 1.355 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.175e-05/0.002233, allocations: 112.6 kB / 0.5216 GB, free: 1.219 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.002247, allocations: 7.812 kB / 0.5216 GB, free: 1.215 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.002255, allocations: 384 / 0.5216 GB, free: 1.215 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.109e-05/0.002336, allocations: 30.27 kB / 0.5216 GB, free: 1.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.002342, allocations: 192 / 0.5216 GB, free: 1.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.002352, allocations: 384 / 0.5216 GB, free: 1.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.00236, allocations: 384 / 0.5216 GB, free: 1.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.119e-05/0.002371, allocations: 3.938 kB / 0.5216 GB, free: 1.176 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/0.002654, allocations: 470.1 kB / 0.5221 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.002754, allocations: 273.5 kB / 0.5223 GB, free: 408 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.794e-05/0.002792, allocations: 127.4 kB / 0.5225 GB, free: 276 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.002822, allocations: 119.8 kB / 0.5226 GB, free: 156 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.026e-05/0.002883, allocations: 156.6 kB / 0.5227 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.002884, allocations: 0.5312 kB / 0.5227 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 6.626e-05/0.00295, allocations: 34.48 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.003015, allocations: 170.6 kB / 0.5229 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.148e-05/0.003106, allocations: 155.4 kB / 0.5231 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.003117, allocations: 29.7 kB / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.00316, allocations: 126.9 kB / 0.5232 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.003161, allocations: 4.844 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/0.003185, allocations: 19.36 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.003298, allocations: 492.1 kB / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.37e-06/0.003304, allocations: 4.969 kB / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.608e-06/0.003308, allocations: 0 / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.376e-05/0.003342, allocations: 119.2 kB / 0.5238 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.75e-05/0.003369, allocations: 120.8 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.347e-05/0.003413, allocations: 33.98 kB / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.217e-05/0.003455, allocations: 123.2 kB / 0.5241 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.422e-05/0.003489, allocations: 123.1 kB / 0.5242 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.082e-05/0.00356, allocations: 251.1 kB / 0.5245 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.861e-05/0.003589, allocations: 119.2 kB / 0.5246 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.153e-05/0.00365, allocations: 247.8 kB / 0.5248 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.735e-05/0.003708, allocations: 123.1 kB / 0.5249 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.00374, allocations: 123.2 kB / 0.525 GB, free: 13.55 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.0001401/0.00388, allocations: 392.3 kB / 0.5254 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.003937, allocations: 156.8 kB / 0.5256 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.293e-05/0.004, allocations: 155.8 kB / 0.5257 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.198e-05/0.004062, allocations: 266.6 kB / 0.526 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-05/0.004127, allocations: 272 kB / 0.5262 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.113e-05/0.004188, allocations: 264.1 kB / 0.5265 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.004375, allocations: 0.496 MB / 0.527 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.649e-05/0.004411, allocations: 144.9 kB / 0.5271 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.075e-05/0.004452, allocations: 152.8 kB / 0.5272 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.669e-05/0.004519, allocations: 268.1 kB / 0.5275 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.467e-05/0.004583, allocations: 266.8 kB / 0.5278 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.101e-05/0.004654, allocations: 272 kB / 0.528 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.387e-05/0.004718, allocations: 276.1 kB / 0.5283 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.00485, allocations: 443.9 kB / 0.5287 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.004889, allocations: 144.9 kB / 0.5288 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.933e-05/0.004969, allocations: 280 kB / 0.5291 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.848e-05/0.005027, allocations: 148.8 kB / 0.5292 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.005095, allocations: 273.2 kB / 0.5295 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.005133, allocations: 149.2 kB / 0.5297 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.301e-05/0.005176, allocations: 120.1 kB / 0.5298 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005176, allocations: 0 / 0.5298 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001558/0.005332, allocations: 3.938 kB / 0.5298 GB, free: 8.508 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.0001249/0.005457, allocations: 219.4 kB / 0.53 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.365e-05/0.005511, allocations: 0.6562 kB / 0.53 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.005512, allocations: 1.188 kB / 0.53 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.005513, allocations: 3.938 kB / 0.53 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.005895, allocations: 0.7062 MB / 0.5307 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.006176, allocations: 213 kB / 0.5309 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.87e-05/0.006215, allocations: 51.36 kB / 0.5309 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.504e-06/0.006218, allocations: 4 kB / 0.5309 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.434e-05/0.006232, allocations: 8.5 kB / 0.5309 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of SimCode: time 9.92e-07/0.006233, allocations: 0 / 0.5309 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.001531/0.007764, allocations: 167.6 kB / 0.5311 GB, free: 7.094 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.9571530639659613]