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.001313/0.001313, allocations: 78.64 kB / 19.16 MB, free: 2.543 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.001477/0.001477, allocations: 171 kB / 22.44 MB, free: 5.352 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.366/1.366, allocations: 177.2 MB / 202.8 MB, free: 9.191 MB / 190.1 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 1.16/1.16, allocations: 155 MB / 414.2 MB, free: 4.953 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.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.002123/0.002123, allocations: 70.83 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.5535/0.5556, allocations: 102 MB / 0.7187 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001879/0.5575, allocations: 0.646 MB / 0.7194 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.559, allocations: 1.207 MB / 0.7205 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.559, allocations: 5.219 kB / 0.7206 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.171e-05/0.5591, allocations: 4.5 kB / 0.7206 GB, free: 500 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.038e-05/0.5591, allocations: 11.42 kB / 0.7206 GB, free: 492 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006687/0.5598, allocations: 212.3 kB / 0.7208 GB, free: 384 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.56, allocations: 182.2 kB / 0.7209 GB, free: 300 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.5601, allocations: 7.812 kB / 0.721 GB, free: 296 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.5603, allocations: 101.3 kB / 0.721 GB, free: 248 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.5604, allocations: 57.03 kB / 0.7211 GB, free: 228 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.5605, allocations: 14.56 kB / 0.7211 GB, free: 228 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.712e-05/0.5605, allocations: 24.5 kB / 0.7211 GB, free: 228 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/0.5606, allocations: 12.7 kB / 0.7212 GB, free: 220 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.711e-05/0.5606, allocations: 56.92 kB / 0.7212 GB, free: 192 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.5609, allocations: 180.8 kB / 0.7214 GB, free: 124 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5609, allocations: 0 / 0.7214 GB, free: 124 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5609, allocations: 1.125 kB / 0.7214 GB, free: 124 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.5609, allocations: 0 / 0.7214 GB, free: 124 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.0005928/0.5615, allocations: 361.6 kB / 0.7217 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.5616, allocations: 20.03 kB / 0.7217 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.898e-05/0.5616, allocations: 12.48 kB / 0.7218 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.5618, allocations: 111.6 kB / 0.7219 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.5618, allocations: 5.156 kB / 0.7219 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.5618, allocations: 13.73 kB / 0.7219 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.562, allocations: 53.42 kB / 0.7219 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.562, allocations: 192 / 0.7219 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.562, allocations: 5.922 kB / 0.7219 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.562, allocations: 0 / 0.7219 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.64e-05/0.562, allocations: 17.81 kB / 0.722 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004941/0.5625, allocations: 280.5 kB / 0.7222 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 8.247e-05/0.5626, allocations: 34.58 kB / 0.7223 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.5626, allocations: 18.36 kB / 0.7223 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.5626, allocations: 0.5625 kB / 0.7223 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.5629, allocations: 82.39 kB / 0.7223 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.5629, allocations: 0 / 0.7223 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=7): time 0.0002829/0.5631, allocations: 101 kB / 0.7224 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.5632, allocations: 53.28 kB / 0.7225 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.5633, allocations: 118 kB / 0.7226 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.5634, allocations: 33.77 kB / 0.7226 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.607e-05/0.5634, allocations: 102.4 kB / 0.7227 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.5635, allocations: 10.23 kB / 0.7227 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.5636, allocations: 49.44 kB / 0.7228 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5637, allocations: 322.3 kB / 0.7231 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.5639, allocations: 121.2 kB / 0.7232 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.5641, allocations: 150.9 kB / 0.7234 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.5643, allocations: 167.9 kB / 0.7235 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5643, allocations: 4 kB / 0.7235 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005122/0.5649, allocations: 320.8 kB / 0.7238 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.113e-05/0.5649, allocations: 68.52 kB / 0.7239 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.5649, allocations: 1.125 kB / 0.7239 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.565, allocations: 2.188 kB / 0.7239 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.113e-05/0.565, allocations: 7.234 kB / 0.7239 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.565, allocations: 5.812 kB / 0.7239 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003717/0.5654, allocations: 60.33 kB / 0.724 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.5654, allocations: 15.69 kB / 0.724 GB, free: 13.86 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,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 0.0001356/0.5655, allocations: 127.5 kB / 0.7241 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.5656, allocations: 7.656 kB / 0.7241 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.5656, allocations: 10.2 kB / 0.7241 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5656, allocations: 4.938 kB / 0.7241 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5656, allocations: 1.844 kB / 0.7241 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.5656, allocations: 0 / 0.7241 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.5657, allocations: 117.4 kB / 0.7242 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5657, allocations: 4 kB / 0.7242 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.968e-06/0.5657, allocations: 1.922 kB / 0.7242 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.5658, allocations: 1.156 kB / 0.7242 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.5658, allocations: 6.359 kB / 0.7243 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.5658, allocations: 1.219 kB / 0.7243 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5658, allocations: 320 / 0.7243 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.566, allocations: 125.3 kB / 0.7244 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.566, allocations: 2.219 kB / 0.7244 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.566, allocations: 2.406 kB / 0.7244 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.071e-05/0.566, allocations: 1.75 kB / 0.7244 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.566, allocations: 9.828 kB / 0.7244 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.5661, allocations: 6.609 kB / 0.7244 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.458e-05/0.5661, allocations: 95.16 kB / 0.7245 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.5661, allocations: 0 / 0.7245 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002502/0.5664, allocations: 27.31 kB / 0.7245 GB, free: 13.4 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,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 0.0001702/0.5665, allocations: 100.2 kB / 0.7246 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004913/0.567, allocations: 279.9 kB / 0.7249 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.567, allocations: 0.6562 kB / 0.7249 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 5.896e-05/0.5671, allocations: 28.28 kB / 0.7249 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.5673, allocations: 20.08 kB / 0.7249 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004166/0.5678, allocations: 158.1 kB / 0.7251 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.962e-05/0.5678, allocations: 69.12 kB / 0.7251 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.154e-05/0.5679, allocations: 9.469 kB / 0.7252 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.5679, allocations: 16.28 kB / 0.7252 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of SimCode: time 3.71e-07/0.5679, allocations: 4 kB / 0.7252 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of Templates: time 0.005543/0.5734, allocations: 2.065 MB / 0.7272 GB, free: 12.57 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.063148315995932] Failed to read output from testmodel.py, exit status != 0: 0.5822830349206924 0.5979367760000001 0.033971007000000004 Calling exit ...