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.0007906/0.0007906, 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.0008227/0.0008227, allocations: 203.8 kB / 23 MB, free: 3.109 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.8603/0.8603, allocations: 230.6 MB / 256.8 MB, free: 3.473 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.7477/0.7477, allocations: 203.8 MB / 0.5049 GB, free: 0.6953 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.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: 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.0009399/0.0009399, allocations: 71.89 kB / 0.7195 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4475/0.4484, allocations: 102 MB / 0.8191 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001381/0.4498, allocations: 0.6466 MB / 0.8197 GB, free: 24.82 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.4509, allocations: 1.229 MB / 0.8209 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.767e-05/0.451, allocations: 0 / 0.8209 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.392e-05/0.451, allocations: 4.594 kB / 0.8209 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.972e-05/0.4511, allocations: 11.53 kB / 0.8209 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005369/0.4516, allocations: 218.9 kB / 0.8211 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.4518, allocations: 170.8 kB / 0.8213 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.002e-05/0.4519, allocations: 9.359 kB / 0.8213 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.903e-05/0.452, allocations: 67.52 kB / 0.8214 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.4521, allocations: 67.94 kB / 0.8215 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.224e-05/0.4522, allocations: 14.88 kB / 0.8215 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.346e-05/0.4522, allocations: 31.42 kB / 0.8215 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.4523, allocations: 8.922 kB / 0.8215 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.22e-05/0.4523, allocations: 60.33 kB / 0.8216 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.4525, allocations: 146.7 kB / 0.8217 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4525, allocations: 0 / 0.8217 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.694e-06/0.4525, allocations: 1.875 kB / 0.8217 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.4525, allocations: 0 / 0.8217 GB, free: 23.6 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.000375/0.4529, allocations: 362.5 kB / 0.822 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.453, allocations: 10.84 kB / 0.8221 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.453, allocations: 25.52 kB / 0.8221 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.087e-05/0.4531, allocations: 111.2 kB / 0.8222 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.4531, allocations: 6.625 kB / 0.8222 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.4531, allocations: 9.5 kB / 0.8222 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.449e-05/0.4532, allocations: 53.36 kB / 0.8223 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.4532, allocations: 1.531 kB / 0.8223 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.4532, allocations: 5.312 kB / 0.8223 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.4532, allocations: 2.062 kB / 0.8223 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.813e-05/0.4533, allocations: 12.89 kB / 0.8223 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/0.4536, allocations: 328.3 kB / 0.8226 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.723e-05/0.4537, allocations: 34.11 kB / 0.8226 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.112e-05/0.4537, allocations: 18.53 kB / 0.8226 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.156e-06/0.4537, allocations: 0.5625 kB / 0.8226 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/0.4539, allocations: 88.91 kB / 0.8227 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.4539, allocations: 1.375 kB / 0.8227 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002116/0.4541, allocations: 103.8 kB / 0.8228 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.4541, allocations: 52.66 kB / 0.8229 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.14e-05/0.4542, allocations: 116.5 kB / 0.823 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.4542, allocations: 30.33 kB / 0.823 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.4542, allocations: 95.48 kB / 0.8231 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.4542, allocations: 16.12 kB / 0.8231 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.145e-05/0.4543, allocations: 52.28 kB / 0.8232 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.26e-05/0.4543, allocations: 322.6 kB / 0.8235 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.4544, allocations: 59.58 kB / 0.8235 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.4545, allocations: 93.97 kB / 0.8236 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.4547, allocations: 156 kB / 0.8238 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4547, allocations: 4.812 kB / 0.8238 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003071/0.455, allocations: 263.7 kB / 0.824 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.226e-05/0.455, allocations: 69.86 kB / 0.8241 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.455, allocations: 1.219 kB / 0.8241 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.455, allocations: 1.75 kB / 0.8241 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.984e-05/0.4551, allocations: 3.234 kB / 0.8241 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.4551, allocations: 6.234 kB / 0.8241 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.4553, allocations: 64.3 kB / 0.8242 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.4553, allocations: 16.83 kB / 0.8242 GB, free: 21.51 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,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 6.367e-05/0.4554, allocations: 126.3 kB / 0.8243 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.4554, allocations: 6.703 kB / 0.8243 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.182e-05/0.4554, allocations: 11.08 kB / 0.8243 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.4554, allocations: 1.125 kB / 0.8243 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4554, allocations: 4.469 kB / 0.8243 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4554, allocations: 4.984 kB / 0.8243 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.081e-05/0.4555, allocations: 146.7 kB / 0.8245 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4555, allocations: 0 / 0.8245 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-06/0.4555, allocations: 6.328 kB / 0.8245 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4555, allocations: 0.5625 kB / 0.8245 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.4555, allocations: 1.609 kB / 0.8245 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4555, allocations: 1.797 kB / 0.8245 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4555, allocations: 0 / 0.8245 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.4557, allocations: 127.8 kB / 0.8246 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-06/0.4557, allocations: 2.75 kB / 0.8246 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.4557, allocations: 2.328 kB / 0.8246 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.436e-05/0.4557, allocations: 4.562 kB / 0.8246 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.4557, allocations: 5.891 kB / 0.8246 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.4557, allocations: 3.641 kB / 0.8246 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.918e-05/0.4558, allocations: 90.03 kB / 0.8247 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4558, allocations: 0 / 0.8247 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001713/0.4559, allocations: 32.38 kB / 0.8247 GB, free: 21.02 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,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 9.618e-05/0.456, allocations: 107.6 kB / 0.8248 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.4563, allocations: 220.7 kB / 0.8251 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4563, allocations: 0 / 0.8251 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.864e-05/0.4563, allocations: 30.22 kB / 0.8251 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.4565, allocations: 13.36 kB / 0.8251 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002646/0.4568, allocations: 192.5 kB / 0.8253 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.721e-05/0.4568, allocations: 0.6846 MB / 0.8259 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.772e-05/0.4568, allocations: 11.69 kB / 0.826 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of SimCode: time 5.71e-07/0.4568, allocations: 0 / 0.826 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of Templates: time 0.002602/0.4594, allocations: 1.379 MB / 0.8273 GB, free: 19.74 MB / 0.6355 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: 5.610788595164195] Failed to read output from testmodel.py, exit status != 0: 0.46480889804661274 0.473323004 0.019020779 Calling exit ...