Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.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.0007569/0.0007569, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0007203/0.0007203, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.868/0.868, allocations: 177.1 MB / 203.5 MB, free: 5.734 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-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.6721/0.6721, allocations: 154.6 MB / 414.5 MB, free: 0.8516 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.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.521e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001015/0.00103, allocations: 0.6338 MB / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009924/0.002022, allocations: 1.213 MB / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.416e-05/0.002057, allocations: 0 / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.394e-05/0.002081, allocations: 3.938 kB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.759e-05/0.002138, allocations: 19.84 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.00256, allocations: 220.5 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.002711, allocations: 171.7 kB / 0.6215 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.821e-05/0.002789, allocations: 11.98 kB / 0.6215 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.029e-05/0.00288, allocations: 91.88 kB / 0.6216 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.002982, allocations: 47.91 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.003006, allocations: 16 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.341e-05/0.003059, allocations: 27.98 kB / 0.6217 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/0.003078, allocations: 11.92 kB / 0.6217 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.925e-05/0.003127, allocations: 47.95 kB / 0.6217 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.003299, allocations: 183.5 kB / 0.6219 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.003302, allocations: 8 kB / 0.6219 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.41e-07/0.003303, allocations: 0 / 0.6219 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.003306, allocations: 0 / 0.6219 GB, free: 10.53 MB / 0.5886 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.0003407/0.003647, allocations: 357.5 kB / 0.6223 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.003677, allocations: 9.469 kB / 0.6223 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.003719, allocations: 16.83 kB / 0.6223 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.14e-05/0.00378, allocations: 109.7 kB / 0.6224 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.003791, allocations: 4.375 kB / 0.6224 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.003812, allocations: 16.36 kB / 0.6224 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.841e-05/0.0039, allocations: 46.25 kB / 0.6224 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.003906, allocations: 192 / 0.6224 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.003914, allocations: 4.375 kB / 0.6224 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.003918, allocations: 384 / 0.6225 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.083e-05/0.003948, allocations: 19.92 kB / 0.6225 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.004244, allocations: 276.4 kB / 0.6227 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.298e-05/0.004297, allocations: 26.58 kB / 0.6228 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.132e-05/0.004318, allocations: 16.94 kB / 0.6228 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.553e-06/0.004324, allocations: 3.938 kB / 0.6228 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.45e-05/0.004419, allocations: 83.31 kB / 0.6229 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.00442, allocations: 0 / 0.6229 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0001715/0.004591, allocations: 109.5 kB / 0.623 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.004618, allocations: 55.41 kB / 0.623 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.13e-05/0.004679, allocations: 121.8 kB / 0.6231 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.0047, allocations: 33.7 kB / 0.6232 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/0.004743, allocations: 96.09 kB / 0.6233 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.668e-06/0.004753, allocations: 7.906 kB / 0.6233 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.004808, allocations: 49.69 kB / 0.6233 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.759e-05/0.004886, allocations: 318.8 kB / 0.6236 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.004992, allocations: 123.4 kB / 0.6237 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.0051, allocations: 155.6 kB / 0.6239 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.005221, allocations: 172 kB / 0.624 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005223, allocations: 0 / 0.624 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002699/0.005492, allocations: 328.2 kB / 0.6244 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.005527, allocations: 69.42 kB / 0.6244 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.005533, allocations: 4 kB / 0.6244 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.005542, allocations: 4 kB / 0.6244 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.265e-05/0.005555, allocations: 128 / 0.6244 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.005561, allocations: 8 kB / 0.6244 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.005733, allocations: 47.94 kB / 0.6245 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.005752, allocations: 15.98 kB / 0.6245 GB, free: 7.59 MB / 0.5886 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,or1.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 7.456e-05/0.005826, allocations: 122.8 kB / 0.6246 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.005837, allocations: 19.86 kB / 0.6246 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.319e-05/0.00586, allocations: 8.438 kB / 0.6246 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.005862, allocations: 4 kB / 0.6246 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.005865, allocations: 0 / 0.6246 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.005868, allocations: 4 kB / 0.6247 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.186e-05/0.00593, allocations: 113.2 kB / 0.6248 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.00593, allocations: 0 / 0.6248 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.07e-06/0.005935, allocations: 7.984 kB / 0.6248 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.005938, allocations: 3.938 kB / 0.6248 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.005945, allocations: 4 kB / 0.6248 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.005945, allocations: 0 / 0.6248 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005946, allocations: 3.938 kB / 0.6248 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.002e-05/0.006036, allocations: 117.3 kB / 0.6249 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-06/0.006041, allocations: 4 kB / 0.6249 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.006051, allocations: 7.938 kB / 0.6249 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.08e-05/0.006062, allocations: 4 kB / 0.6249 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.00609, allocations: 3.984 kB / 0.6249 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.006095, allocations: 4 kB / 0.6249 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.07e-05/0.006125, allocations: 95.2 kB / 0.625 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006125, allocations: 0 / 0.625 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001492/0.006275, allocations: 35.95 kB / 0.625 GB, free: 6.977 MB / 0.5886 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,or1.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 8.66e-05/0.006361, allocations: 99.23 kB / 0.6251 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.006582, allocations: 286.1 kB / 0.6254 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.006583, allocations: 0 / 0.6254 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.264e-05/0.006616, allocations: 27.98 kB / 0.6254 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.006767, allocations: 15.98 kB / 0.6254 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002316/0.006999, allocations: 175.3 kB / 0.6256 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.901e-05/0.007038, allocations: 71.58 kB / 0.6257 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.48e-05/0.007053, allocations: 16.5 kB / 0.6257 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of SimCode: time 3.2e-07/0.007053, allocations: 0 / 0.6257 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of Templates: time 0.001783/0.008836, allocations: 1.402 MB / 0.6271 GB, free: 4.816 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.943992159329355] Failed to read output from testmodel.py, exit status != 0: 0.0129668228328228 0.019868523000000003 0.015093496000000001 Calling exit ...