Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.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.0007122/0.0007122, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0007401/0.0007401, allocations: 211.7 kB / 23.01 MB, free: 3.113 MB / 13.93 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.8684/0.8684, allocations: 230.6 MB / 256.8 MB, free: 3.43 MB / 202.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-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 0.7474/0.7474, allocations: 203.8 MB / 0.5049 GB, free: 0.7578 MB / 410.7 MB " [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.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor") [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.0009623/0.0009623, allocations: 71.89 kB / 0.7195 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4658/0.4668, allocations: 102 MB / 0.8191 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001442/0.4682, allocations: 0.641 MB / 0.8197 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.4694, allocations: 1.227 MB / 0.8209 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.838e-05/0.4695, allocations: 0 / 0.8209 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.4695, allocations: 4.547 kB / 0.8209 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.851e-05/0.4696, allocations: 19.56 kB / 0.8209 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005233/0.4701, allocations: 213.2 kB / 0.8211 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.4703, allocations: 175.1 kB / 0.8213 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.493e-05/0.4704, allocations: 9.781 kB / 0.8213 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.49e-05/0.4705, allocations: 69.97 kB / 0.8214 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.4706, allocations: 60.72 kB / 0.8214 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.4707, allocations: 20.03 kB / 0.8215 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.56e-05/0.4707, allocations: 29.02 kB / 0.8215 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.4708, allocations: 12.67 kB / 0.8215 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.856e-05/0.4708, allocations: 62.67 kB / 0.8216 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.4711, allocations: 149.1 kB / 0.8217 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4711, allocations: 0 / 0.8217 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4711, allocations: 1.156 kB / 0.8217 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.4711, allocations: 1.438 kB / 0.8217 GB, free: 23.61 MB / 0.6355 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.0003835/0.4715, allocations: 361.3 kB / 0.8221 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.4715, allocations: 12.47 kB / 0.8221 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.4715, allocations: 12.34 kB / 0.8221 GB, free: 23.26 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.244e-05/0.4716, allocations: 111.1 kB / 0.8222 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.4716, allocations: 6.828 kB / 0.8222 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.4717, allocations: 18.02 kB / 0.8222 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.059e-05/0.4717, allocations: 46.38 kB / 0.8223 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4718, allocations: 192 / 0.8223 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.4718, allocations: 6.266 kB / 0.8223 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4718, allocations: 0.5312 kB / 0.8223 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.267e-05/0.4718, allocations: 18.59 kB / 0.8223 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.4722, allocations: 327.6 kB / 0.8226 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.317e-05/0.4722, allocations: 37.77 kB / 0.8226 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.196e-05/0.4723, allocations: 18.23 kB / 0.8226 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.4723, allocations: 5.188 kB / 0.8226 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.4724, allocations: 81.69 kB / 0.8227 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4724, allocations: 0 / 0.8227 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002152/0.4726, allocations: 99.67 kB / 0.8228 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.4727, allocations: 54.41 kB / 0.8229 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.706e-05/0.4727, allocations: 120.3 kB / 0.823 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.4728, allocations: 34.86 kB / 0.823 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.4728, allocations: 97.34 kB / 0.8231 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.159e-05/0.4728, allocations: 15.09 kB / 0.8231 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-05/0.4729, allocations: 47.94 kB / 0.8232 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.223e-05/0.4729, allocations: 327.4 kB / 0.8235 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.473, allocations: 59.64 kB / 0.8235 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.4731, allocations: 90.97 kB / 0.8236 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.4732, allocations: 158.6 kB / 0.8238 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4732, allocations: 0 / 0.8238 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003035/0.4735, allocations: 260.9 kB / 0.824 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.4736, allocations: 69.23 kB / 0.8241 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4736, allocations: 1.219 kB / 0.8241 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4736, allocations: 1.812 kB / 0.8241 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.132e-05/0.4736, allocations: 10.8 kB / 0.8241 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.4736, allocations: 2.688 kB / 0.8241 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.4739, allocations: 63.72 kB / 0.8242 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.4739, allocations: 11.95 kB / 0.8242 GB, free: 21.54 MB / 0.6355 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,nor1.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 6.418e-05/0.474, allocations: 124.5 kB / 0.8243 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.474, allocations: 10.95 kB / 0.8243 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.086e-05/0.474, allocations: 11.45 kB / 0.8243 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.474, allocations: 1.094 kB / 0.8243 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.474, allocations: 0 / 0.8243 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.474, allocations: 1.562 kB / 0.8243 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.388e-05/0.4741, allocations: 149.6 kB / 0.8245 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.4741, allocations: 0.5 kB / 0.8245 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.125e-06/0.4741, allocations: 2.688 kB / 0.8245 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.4741, allocations: 4.438 kB / 0.8245 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.4741, allocations: 9.812 kB / 0.8245 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4741, allocations: 4.531 kB / 0.8245 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4741, allocations: 2.141 kB / 0.8245 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.4742, allocations: 110.7 kB / 0.8246 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.968e-06/0.4743, allocations: 6.25 kB / 0.8246 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.4743, allocations: 2.406 kB / 0.8246 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.496e-05/0.4743, allocations: 1 kB / 0.8246 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.4743, allocations: 6.016 kB / 0.8246 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.4743, allocations: 7.781 kB / 0.8246 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.91e-05/0.4744, allocations: 90.17 kB / 0.8247 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4744, allocations: 0 / 0.8247 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001664/0.4745, allocations: 30.86 kB / 0.8247 GB, free: 21.04 MB / 0.6355 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,nor1.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.0001118/0.4746, allocations: 105.9 kB / 0.8248 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002304/0.4749, allocations: 223.5 kB / 0.825 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4749, allocations: 0 / 0.825 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.744e-05/0.4749, allocations: 24.97 kB / 0.8251 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.4751, allocations: 24.91 kB / 0.8251 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.4754, allocations: 183.5 kB / 0.8253 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.568e-05/0.4754, allocations: 0.6858 MB / 0.8259 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/0.4754, allocations: 15.2 kB / 0.826 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/0.4755, allocations: 1.094 kB / 0.826 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of Templates: time 0.002518/0.478, allocations: 1.388 MB / 0.8273 GB, free: 19.76 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4508134259376675] Failed to read output from testmodel.py, exit status != 0: 0.48377980198711157 0.49152871 0.018692352000000002 Calling exit ...