Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0007288/0.0007288, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007274/0.0007274, allocations: 166.3 kB / 23.97 MB, free: 0.5977 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.8396/0.8396, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5564/0.5564, allocations: 114 MB / 374.7 MB, free: 8.73 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 3.938 kB / 0.5554 GB, free: 1.215 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.036e-05/3.312e-05, allocations: 5.672 kB / 0.5554 GB, free: 1.211 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001158/0.001192, allocations: 0.6317 MB / 0.556 GB, free: 0.582 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.002359, allocations: 1.213 MB / 0.5572 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.002404, allocations: 0 / 0.5572 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.002431, allocations: 3.938 kB / 0.5572 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.31e-05/0.002494, allocations: 23.84 kB / 0.5573 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.002976, allocations: 205.5 kB / 0.5575 GB, free: 15.13 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.00315, allocations: 183.6 kB / 0.5576 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.463e-05/0.003235, allocations: 12 kB / 0.5576 GB, free: 14.94 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.884e-05/0.003333, allocations: 95.91 kB / 0.5577 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.828e-05/0.003432, allocations: 51.84 kB / 0.5578 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.003458, allocations: 16 kB / 0.5578 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.439e-05/0.003512, allocations: 24 kB / 0.5578 GB, free: 14.76 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.003532, allocations: 7.984 kB / 0.5578 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.796e-05/0.00359, allocations: 55.89 kB / 0.5579 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.003773, allocations: 179.6 kB / 0.5581 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.614e-06/0.003775, allocations: 0 / 0.5581 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.003776, allocations: 0 / 0.5581 GB, free: 14.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.00378, allocations: 4 kB / 0.5581 GB, free: 14.52 MB / 490.7 MB 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.000407/0.004187, allocations: 357.5 kB / 0.5584 GB, free: 14.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.004226, allocations: 12.62 kB / 0.5584 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/0.004276, allocations: 12.89 kB / 0.5584 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.397e-05/0.004349, allocations: 113.7 kB / 0.5585 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.004366, allocations: 12.36 kB / 0.5585 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.004385, allocations: 12.31 kB / 0.5586 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.325e-05/0.004478, allocations: 42.25 kB / 0.5586 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.004486, allocations: 192 / 0.5586 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.004495, allocations: 8.312 kB / 0.5586 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.004499, allocations: 384 / 0.5586 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.616e-05/0.004535, allocations: 27.92 kB / 0.5586 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.004858, allocations: 272.5 kB / 0.5589 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.868e-05/0.004926, allocations: 34.5 kB / 0.5589 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.004948, allocations: 12.86 kB / 0.5589 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.004957, allocations: 4 kB / 0.5589 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/0.005067, allocations: 83.39 kB / 0.559 GB, free: 13.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.005068, allocations: 0 / 0.559 GB, free: 13.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001925/0.00526, allocations: 113.5 kB / 0.5591 GB, free: 13.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.005296, allocations: 55.41 kB / 0.5592 GB, free: 13.22 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.611e-05/0.005362, allocations: 117.8 kB / 0.5593 GB, free: 13.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.005383, allocations: 29.7 kB / 0.5593 GB, free: 13.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.005427, allocations: 96.08 kB / 0.5594 GB, free: 12.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.164e-05/0.005439, allocations: 15.91 kB / 0.5594 GB, free: 12.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/0.005496, allocations: 45.69 kB / 0.5595 GB, free: 12.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.426e-05/0.005571, allocations: 318.8 kB / 0.5598 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.005685, allocations: 123.4 kB / 0.5599 GB, free: 12.44 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.005802, allocations: 155.6 kB / 0.56 GB, free: 12.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.005929, allocations: 163.6 kB / 0.5602 GB, free: 12.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.005932, allocations: 4.469 kB / 0.5602 GB, free: 12.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002907/0.006223, allocations: 340.1 kB / 0.5605 GB, free: 11.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/0.006258, allocations: 67.39 kB / 0.5606 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.006263, allocations: 0 / 0.5606 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.006274, allocations: 3.938 kB / 0.5606 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.447e-05/0.006289, allocations: 4 kB / 0.5606 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.006294, allocations: 320 / 0.5606 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.006475, allocations: 56 kB / 0.5606 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.006495, allocations: 15.98 kB / 0.5607 GB, free: 11.55 MB / 490.7 MB 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 6.991e-05/0.006565, allocations: 126.6 kB / 0.5608 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-06/0.006574, allocations: 11.89 kB / 0.5608 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.895e-05/0.006593, allocations: 4.438 kB / 0.5608 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.006596, allocations: 3.984 kB / 0.5608 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.006599, allocations: 0 / 0.5608 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.006604, allocations: 7.984 kB / 0.5608 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.149e-05/0.006675, allocations: 121.3 kB / 0.5609 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.006676, allocations: 0 / 0.5609 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-06/0.006681, allocations: 4 kB / 0.5609 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.006683, allocations: 3.938 kB / 0.5609 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.00669, allocations: 4 kB / 0.5609 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.006691, allocations: 0 / 0.5609 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.006693, allocations: 3.984 kB / 0.5609 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.743e-05/0.00679, allocations: 109.1 kB / 0.561 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-06/0.006797, allocations: 3.984 kB / 0.5611 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.00681, allocations: 11.88 kB / 0.5611 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.279e-05/0.006823, allocations: 8 kB / 0.5611 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.006856, allocations: 7.984 kB / 0.5611 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.00686, allocations: 4 kB / 0.5611 GB, free: 11.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.083e-05/0.006891, allocations: 87.27 kB / 0.5612 GB, free: 10.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006891, allocations: 0 / 0.5612 GB, free: 10.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001572/0.007048, allocations: 39.89 kB / 0.5612 GB, free: 10.94 MB / 490.7 MB 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.0001043/0.007153, allocations: 95.25 kB / 0.5613 GB, free: 10.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002437/0.007397, allocations: 286.2 kB / 0.5616 GB, free: 10.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.007398, allocations: 4.344 kB / 0.5616 GB, free: 10.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.345e-05/0.007431, allocations: 23.98 kB / 0.5616 GB, free: 10.49 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.00759, allocations: 29.14 kB / 0.5616 GB, free: 10.47 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002514/0.007841, allocations: 183.2 kB / 0.5618 GB, free: 10.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.887e-05/0.00788, allocations: 71.28 kB / 0.5619 GB, free: 10.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.0079, allocations: 16.48 kB / 0.5619 GB, free: 10.15 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.0079, allocations: 4 kB / 0.5619 GB, free: 10.14 MB / 490.7 MB Notification: Performance of Templates: time 0.001931/0.009832, allocations: 1.412 MB / 0.5633 GB, free: 8.754 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.555609771050513] Failed to read output from testmodel.py, exit status != 0: 0.014098885469138622 0.021872791000000003 0.016495741 Calling exit ...