Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.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.001544/0.001544, allocations: 83.11 kB / 19.16 MB, free: 2.535 MB / 14.72 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.001911/0.001911, allocations: 167 kB / 22.44 MB, free: 5.348 MB / 14.72 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.395/1.395, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.163/1.163, allocations: 155 MB / 414.2 MB, free: 4.941 MB / 382.1 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 178] 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.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 68.06 kB / 0.6191 GB, free: 4.152 MB / 0.5294 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5458/0.5479, allocations: 102 MB / 0.7187 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001683/0.5496, allocations: 0.6386 MB / 0.7194 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.5509, allocations: 1.208 MB / 0.7205 GB, free: 492 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.827e-05/0.5509, allocations: 0 / 0.7205 GB, free: 492 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.93e-05/0.5509, allocations: 5.969 kB / 0.7206 GB, free: 488 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.633e-05/0.551, allocations: 10.64 kB / 0.7206 GB, free: 480 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006368/0.5517, allocations: 223.4 kB / 0.7208 GB, free: 364 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.5519, allocations: 173.1 kB / 0.7209 GB, free: 288 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.855e-05/0.552, allocations: 12.66 kB / 0.721 GB, free: 280 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.5521, allocations: 98.62 kB / 0.721 GB, free: 236 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.5523, allocations: 63.62 kB / 0.7211 GB, free: 208 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.5523, allocations: 14.19 kB / 0.7211 GB, free: 208 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.734e-05/0.5524, allocations: 27.92 kB / 0.7211 GB, free: 204 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.5524, allocations: 13.27 kB / 0.7212 GB, free: 196 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.359e-05/0.5525, allocations: 52.77 kB / 0.7212 GB, free: 172 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.5527, allocations: 185.4 kB / 0.7214 GB, free: 100 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5528, allocations: 0 / 0.7214 GB, free: 100 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5528, allocations: 0 / 0.7214 GB, free: 100 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.5528, allocations: 0.7969 kB / 0.7214 GB, free: 100 kB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005789/0.5533, allocations: 358.3 kB / 0.7217 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.5534, allocations: 10.81 kB / 0.7217 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.715e-05/0.5534, allocations: 13.36 kB / 0.7218 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.5536, allocations: 115.2 kB / 0.7219 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.5536, allocations: 9.656 kB / 0.7219 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.5536, allocations: 9.672 kB / 0.7219 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.5537, allocations: 53.7 kB / 0.7219 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.5537, allocations: 192 / 0.7219 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.5538, allocations: 9.938 kB / 0.7219 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.5538, allocations: 0 / 0.7219 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.586e-05/0.5538, allocations: 13.84 kB / 0.722 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.5543, allocations: 267.6 kB / 0.7222 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 9.257e-05/0.5544, allocations: 38.09 kB / 0.7222 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.284e-05/0.5544, allocations: 19.42 kB / 0.7223 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.5544, allocations: 4.953 kB / 0.7223 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.5546, allocations: 81.88 kB / 0.7223 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.5546, allocations: 0 / 0.7223 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=7): time 0.0002796/0.5549, allocations: 108.8 kB / 0.7224 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.555, allocations: 54.03 kB / 0.7225 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.5551, allocations: 124.1 kB / 0.7226 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.5551, allocations: 29.8 kB / 0.7226 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 7.445e-05/0.5552, allocations: 94.77 kB / 0.7227 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.5552, allocations: 19.5 kB / 0.7228 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.5553, allocations: 48.77 kB / 0.7228 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.5554, allocations: 322.9 kB / 0.7231 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.5556, allocations: 116.8 kB / 0.7232 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.5558, allocations: 155.6 kB / 0.7234 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.556, allocations: 162.5 kB / 0.7235 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.556, allocations: 1.031 kB / 0.7235 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005028/0.5565, allocations: 329.2 kB / 0.7238 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.24e-05/0.5566, allocations: 70.19 kB / 0.7239 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.5566, allocations: 1 kB / 0.7239 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.5566, allocations: 2.531 kB / 0.7239 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.63e-05/0.5566, allocations: 6.234 kB / 0.7239 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.5566, allocations: 2.281 kB / 0.7239 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003455/0.557, allocations: 56.05 kB / 0.724 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.557, allocations: 11.47 kB / 0.724 GB, free: 13.85 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001187/0.5571, allocations: 128.3 kB / 0.7241 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.5572, allocations: 12.05 kB / 0.7241 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.5572, allocations: 10.19 kB / 0.7241 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5572, allocations: 1.781 kB / 0.7241 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5572, allocations: 480 / 0.7241 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.5572, allocations: 1.781 kB / 0.7241 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.5573, allocations: 120.3 kB / 0.7242 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.5573, allocations: 0.7031 kB / 0.7242 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.878e-06/0.5573, allocations: 2.016 kB / 0.7242 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5573, allocations: 5.156 kB / 0.7243 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.5573, allocations: 6.188 kB / 0.7243 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5573, allocations: 0 / 0.7243 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5573, allocations: 0.8438 kB / 0.7243 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.5575, allocations: 121.8 kB / 0.7244 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-06/0.5575, allocations: 3.062 kB / 0.7244 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.5575, allocations: 1.359 kB / 0.7244 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.191e-05/0.5576, allocations: 5.75 kB / 0.7244 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.5576, allocations: 8.781 kB / 0.7244 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.5576, allocations: 7.875 kB / 0.7244 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.657e-05/0.5577, allocations: 89.5 kB / 0.7245 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.5577, allocations: 0 / 0.7245 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002421/0.5579, allocations: 35.75 kB / 0.7245 GB, free: 13.38 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001492/0.558, allocations: 101.3 kB / 0.7246 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004498/0.5585, allocations: 276 kB / 0.7249 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5585, allocations: 0.5 kB / 0.7249 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.325e-05/0.5586, allocations: 24.11 kB / 0.7249 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.5588, allocations: 20.03 kB / 0.7249 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003671/0.5592, allocations: 161.4 kB / 0.7251 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.577e-05/0.5593, allocations: 70.39 kB / 0.7251 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.032e-05/0.5593, allocations: 8.906 kB / 0.7252 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.5593, allocations: 13.02 kB / 0.7252 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.5593, allocations: 0 / 0.7252 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of Templates: time 0.00596/0.5653, allocations: 2.073 MB / 0.7272 GB, free: 12.55 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.049049578607082] Failed to read output from testmodel.py, exit status != 0: 0.5739896763116121 0.589268668 0.033424582 Calling exit ...