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.001061/0.001061, 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.001125/0.001125, allocations: 169 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.008/1.008, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.7736/0.7736, allocations: 154.9 MB / 414.8 MB, free: 404 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 2.365e-06/2.365e-06, allocations: 0 / 0.5207 GB, free: 1.812 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.93e-05, allocations: 3.297 kB / 0.5207 GB, free: 1.809 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001317/0.001347, allocations: 0.5419 MB / 0.5212 GB, free: 1.293 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 4.935e-05/0.001396, allocations: 4.766 kB / 0.5212 GB, free: 1.289 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.198e-05/0.001418, allocations: 0.5 kB / 0.5212 GB, free: 1.289 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.001445, allocations: 1.031 kB / 0.5212 GB, free: 1.289 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.058e-05/0.001475, allocations: 0 / 0.5212 GB, free: 1.289 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.49e-05/0.00151, allocations: 3.938 kB / 0.5212 GB, free: 1.285 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.459e-05/0.001575, allocations: 9.656 kB / 0.5212 GB, free: 1.277 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.001621, allocations: 192 / 0.5212 GB, free: 1.277 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.341e-05/0.001655, allocations: 1.391 kB / 0.5212 GB, free: 1.277 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.344e-05/0.001678, allocations: 4 kB / 0.5212 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.001696, allocations: 0.6562 kB / 0.5212 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.158e-06/0.001701, allocations: 0 / 0.5212 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.001714, allocations: 5.219 kB / 0.5213 GB, free: 1.27 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.936e-05/0.001733, allocations: 0 / 0.5213 GB, free: 1.27 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.015e-05/0.001793, allocations: 0 / 0.5213 GB, free: 1.27 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.001796, allocations: 0 / 0.5213 GB, free: 1.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.001796, allocations: 1.812 kB / 0.5213 GB, free: 1.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.001801, allocations: 0 / 0.5213 GB, free: 1.27 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.0002622/0.002063, allocations: 344.4 kB / 0.5216 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.002104, allocations: 12.03 kB / 0.5216 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.002138, allocations: 2.688 kB / 0.5216 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.128e-05/0.002219, allocations: 104.6 kB / 0.5217 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.002231, allocations: 8.359 kB / 0.5217 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.00224, allocations: 384 / 0.5217 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.551e-05/0.002325, allocations: 27.02 kB / 0.5217 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.002335, allocations: 192 / 0.5217 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.002348, allocations: 5.781 kB / 0.5217 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.002356, allocations: 4.312 kB / 0.5217 GB, free: 0.707 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.255e-05/0.002369, allocations: 7.938 kB / 0.5217 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.002693, allocations: 470.2 kB / 0.5222 GB, free: 208 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.002802, allocations: 266.8 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.365e-05/0.002836, allocations: 126.9 kB / 0.5226 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.002864, allocations: 127.2 kB / 0.5227 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.002907, allocations: 154.3 kB / 0.5228 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/0.002909, allocations: 0 / 0.5228 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 5.349e-05/0.002962, allocations: 29.64 kB / 0.5229 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.003021, allocations: 178.6 kB / 0.523 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.599e-05/0.003097, allocations: 152.1 kB / 0.5232 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.003105, allocations: 25.7 kB / 0.5232 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.003145, allocations: 134.9 kB / 0.5233 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.003147, allocations: 0 / 0.5233 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/0.003168, allocations: 23.31 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.003278, allocations: 492.1 kB / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.572e-06/0.003285, allocations: 0.5625 kB / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.408e-06/0.003289, allocations: 4.5 kB / 0.5238 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.806e-05/0.003327, allocations: 119.2 kB / 0.5239 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.328e-05/0.003361, allocations: 124.2 kB / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.927e-05/0.0034, allocations: 29.69 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.411e-05/0.003444, allocations: 127.7 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.554e-05/0.003479, allocations: 123.1 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.912e-05/0.003539, allocations: 243.7 kB / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.941e-05/0.003568, allocations: 119.2 kB / 0.5247 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.622e-05/0.003624, allocations: 254.5 kB / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.936e-05/0.003674, allocations: 120.1 kB / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.003704, allocations: 123.2 kB / 0.5252 GB, free: 13.07 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.0001195/0.003823, allocations: 406.1 kB / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.003871, allocations: 145.2 kB / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.38e-05/0.003924, allocations: 151.8 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.889e-05/0.003983, allocations: 276 kB / 0.5261 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.87e-05/0.004042, allocations: 264.1 kB / 0.5263 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.266e-05/0.004115, allocations: 272 kB / 0.5266 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.004293, allocations: 495.9 kB / 0.5271 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.162e-05/0.004335, allocations: 148.9 kB / 0.5272 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/0.004378, allocations: 152.8 kB / 0.5274 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.102e-05/0.004449, allocations: 271.1 kB / 0.5276 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.118e-05/0.00452, allocations: 268 kB / 0.5279 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.267e-05/0.004593, allocations: 272 kB / 0.5281 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.348e-05/0.004666, allocations: 264.1 kB / 0.5284 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.004826, allocations: 448 kB / 0.5288 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.004883, allocations: 156.8 kB / 0.529 GB, free: 9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.337e-05/0.004966, allocations: 264.1 kB / 0.5292 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.8e-05/0.005024, allocations: 148.8 kB / 0.5294 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.051e-05/0.005105, allocations: 273.5 kB / 0.5296 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.333e-05/0.005158, allocations: 153.2 kB / 0.5298 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.122e-05/0.005209, allocations: 119.2 kB / 0.5299 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005209, allocations: 0.5 kB / 0.5299 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001571/0.005366, allocations: 6.625 kB / 0.5299 GB, free: 8.031 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.0001165/0.005483, allocations: 214.4 kB / 0.5301 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.729e-05/0.00553, allocations: 3.938 kB / 0.5301 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.005533, allocations: 4 kB / 0.5301 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.005534, allocations: 0 / 0.5301 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.005847, allocations: 0.7007 MB / 0.5308 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000237/0.006084, allocations: 216.6 kB / 0.531 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.275e-05/0.006117, allocations: 51.36 kB / 0.531 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.094e-06/0.006119, allocations: 0 / 0.531 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.19e-05/0.006131, allocations: 8.5 kB / 0.531 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.006131, allocations: 0 / 0.531 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of Templates: time 0.00156/0.007692, allocations: 167.6 kB / 0.5312 GB, free: 6.621 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.6932857260107994]