Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.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.001459/0.001459, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001529/0.001529, allocations: 218.7 kB / 22.25 MB, free: 5.125 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.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.306/1.306, allocations: 203.8 MB / 0.5041 GB, free: 4.895 MB / 414.1 MB " [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.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor") [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.003588/0.003588, allocations: 63.91 kB / 0.7187 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6623/0.6659, allocations: 102 MB / 0.8183 GB, free: 29.17 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001776/0.6677, allocations: 0.6432 MB / 0.819 GB, free: 28.78 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.6692, allocations: 1.228 MB / 0.8202 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.837e-05/0.6692, allocations: 1.094 kB / 0.8202 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/0.6692, allocations: 3.938 kB / 0.8202 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.441e-05/0.6693, allocations: 23.83 kB / 0.8202 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000627/0.6699, allocations: 214.8 kB / 0.8204 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.6702, allocations: 170.4 kB / 0.8206 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 9.679e-05/0.6703, allocations: 10.06 kB / 0.8206 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.6704, allocations: 71.84 kB / 0.8206 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.6705, allocations: 70.77 kB / 0.8207 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.926e-05/0.6706, allocations: 15.25 kB / 0.8207 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.336e-05/0.6707, allocations: 29.94 kB / 0.8207 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.6707, allocations: 4.688 kB / 0.8208 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 8.052e-05/0.6708, allocations: 64.22 kB / 0.8208 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.671, allocations: 149 kB / 0.821 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.671, allocations: 4.562 kB / 0.821 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.242e-06/0.671, allocations: 0 / 0.821 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.671, allocations: 1.594 kB / 0.821 GB, free: 27.54 MB / 0.6387 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.0004772/0.6715, allocations: 362.3 kB / 0.8213 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.6716, allocations: 11.2 kB / 0.8213 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.832e-05/0.6716, allocations: 12.52 kB / 0.8213 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.762e-05/0.6717, allocations: 116.1 kB / 0.8214 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.6717, allocations: 11.81 kB / 0.8215 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/0.6718, allocations: 9.125 kB / 0.8215 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.6719, allocations: 50.36 kB / 0.8215 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.6719, allocations: 0.8438 kB / 0.8215 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.6719, allocations: 4.625 kB / 0.8215 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.6719, allocations: 1.516 kB / 0.8215 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.845e-05/0.672, allocations: 19.55 kB / 0.8215 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004865/0.6725, allocations: 323.5 kB / 0.8218 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 9.028e-05/0.6726, allocations: 39.45 kB / 0.8219 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.6726, allocations: 20.86 kB / 0.8219 GB, free: 26.69 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.6726, allocations: 0 / 0.8219 GB, free: 26.69 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.6728, allocations: 87.61 kB / 0.822 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.6728, allocations: 1.625 kB / 0.822 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0002961/0.6731, allocations: 104.8 kB / 0.8221 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.6731, allocations: 54.88 kB / 0.8221 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.927e-05/0.6732, allocations: 123.8 kB / 0.8223 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.6733, allocations: 34.59 kB / 0.8223 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/0.6733, allocations: 90.94 kB / 0.8224 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.6733, allocations: 15.2 kB / 0.8224 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.6735, allocations: 51.23 kB / 0.8224 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.108e-05/0.6735, allocations: 323.2 kB / 0.8227 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.6737, allocations: 60.14 kB / 0.8228 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.6739, allocations: 96.98 kB / 0.8229 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.674, allocations: 154.9 kB / 0.823 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.674, allocations: 3 kB / 0.823 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004061/0.6744, allocations: 265.3 kB / 0.8233 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.424e-05/0.6745, allocations: 68.42 kB / 0.8234 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.6745, allocations: 1.344 kB / 0.8234 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.6745, allocations: 6.359 kB / 0.8234 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.5e-05/0.6745, allocations: 6.906 kB / 0.8234 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.6746, allocations: 5.297 kB / 0.8234 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.6749, allocations: 56.77 kB / 0.8234 GB, free: 25.47 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.675, allocations: 12.16 kB / 0.8234 GB, free: 25.47 MB / 0.6387 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,xor1.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 8.293e-05/0.675, allocations: 136.7 kB / 0.8236 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.6751, allocations: 7.344 kB / 0.8236 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.6751, allocations: 6.391 kB / 0.8236 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.6751, allocations: 5.281 kB / 0.8236 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6751, allocations: 0.7969 kB / 0.8236 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.6751, allocations: 0 / 0.8236 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.6752, allocations: 155.8 kB / 0.8237 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6752, allocations: 0 / 0.8237 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.063e-05/0.6752, allocations: 9.641 kB / 0.8238 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.6752, allocations: 0.7031 kB / 0.8238 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.6752, allocations: 1.984 kB / 0.8238 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.6753, allocations: 1.281 kB / 0.8238 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/0.6753, allocations: 0 / 0.8238 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.6754, allocations: 112.2 kB / 0.8239 GB, free: 25.07 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.044e-05/0.6754, allocations: 3.453 kB / 0.8239 GB, free: 25.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.6754, allocations: 4.922 kB / 0.8239 GB, free: 25.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.301e-05/0.6754, allocations: 6.172 kB / 0.8239 GB, free: 25.06 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.6755, allocations: 7.406 kB / 0.8239 GB, free: 25.06 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.6755, allocations: 3.453 kB / 0.8239 GB, free: 25.06 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.525e-05/0.6755, allocations: 89.38 kB / 0.824 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6755, allocations: 0 / 0.824 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000254/0.6758, allocations: 32.48 kB / 0.824 GB, free: 24.98 MB / 0.6387 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,xor1.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.0001398/0.6759, allocations: 103.7 kB / 0.8241 GB, free: 24.89 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003174/0.6762, allocations: 235.4 kB / 0.8243 GB, free: 24.71 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.6762, allocations: 0 / 0.8243 GB, free: 24.71 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.422e-05/0.6763, allocations: 19.02 kB / 0.8243 GB, free: 24.71 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.6765, allocations: 24.06 kB / 0.8244 GB, free: 24.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002937/0.6768, allocations: 154.1 kB / 0.8245 GB, free: 24.56 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.874e-05/0.6769, allocations: 0.6889 MB / 0.8252 GB, free: 23.86 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.83e-05/0.6769, allocations: 11.33 kB / 0.8252 GB, free: 23.86 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.677, allocations: 17.94 kB / 0.8252 GB, free: 23.84 MB / 0.6387 GB Notification: Performance of SimCode: time 3.51e-07/0.677, allocations: 0 / 0.8252 GB, free: 23.84 MB / 0.6387 GB Notification: Performance of Templates: time 0.005229/0.6822, allocations: 1.877 MB / 0.8271 GB, free: 23.68 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.976027999073267] Failed to read output from testmodel.py, exit status != 0: 0.6925275847315788 0.703373137 0.029588918000000002 Calling exit ...