Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.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.0007904/0.0007904, allocations: 72.5 kB / 19.92 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.0008256/0.0008256, 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.9467/0.9467, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.587/0.587, allocations: 114 MB / 373.9 MB, free: 8.695 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.5542 GB, free: 1.707 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.241e-05, allocations: 5.609 kB / 0.5542 GB, free: 1.703 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001865/0.001887, allocations: 0.6467 MB / 0.5548 GB, free: 1.062 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.003745, allocations: 1.205 MB / 0.556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/0.003792, allocations: 0 / 0.556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.003823, allocations: 3.938 kB / 0.556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.59e-05/0.003899, allocations: 11.92 kB / 0.556 GB, free: 15.83 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006351/0.004534, allocations: 222.8 kB / 0.5562 GB, free: 15.62 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00025/0.004784, allocations: 175.6 kB / 0.5564 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.004891, allocations: 4 kB / 0.5564 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.005046, allocations: 91.92 kB / 0.5565 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.005177, allocations: 55.84 kB / 0.5565 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.792e-05/0.005215, allocations: 16 kB / 0.5566 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.652e-05/0.005292, allocations: 23.98 kB / 0.5566 GB, free: 15.26 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.646e-05/0.005318, allocations: 15.98 kB / 0.5566 GB, free: 15.24 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.964e-05/0.005398, allocations: 51.89 kB / 0.5566 GB, free: 15.19 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.005653, allocations: 179.6 kB / 0.5568 GB, free: 15.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.005657, allocations: 3.984 kB / 0.5568 GB, free: 15.01 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.005659, allocations: 3.938 kB / 0.5568 GB, free: 15.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.005663, allocations: 0 / 0.5568 GB, free: 15.01 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.0004713/0.006134, allocations: 358.4 kB / 0.5572 GB, free: 14.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.006179, allocations: 8.625 kB / 0.5572 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.491e-05/0.006214, allocations: 38.73 kB / 0.5572 GB, free: 14.56 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.256e-05/0.006267, allocations: 12.89 kB / 0.5572 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.838e-05/0.006355, allocations: 109.8 kB / 0.5573 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.006373, allocations: 4.375 kB / 0.5573 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.006401, allocations: 8.375 kB / 0.5573 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.006514, allocations: 54.23 kB / 0.5574 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.006522, allocations: 192 / 0.5574 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.006531, allocations: 384 / 0.5574 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.006538, allocations: 12.05 kB / 0.5574 GB, free: 14.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.206e-05/0.00658, allocations: 15.94 kB / 0.5574 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.007043, allocations: 299.9 kB / 0.5577 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.53e-05/0.007118, allocations: 26.58 kB / 0.5577 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.00715, allocations: 16.94 kB / 0.5577 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.007162, allocations: 7.938 kB / 0.5577 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.00732, allocations: 87.3 kB / 0.5578 GB, free: 13.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.532e-06/0.007322, allocations: 0 / 0.5578 GB, free: 13.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002487/0.007571, allocations: 101.6 kB / 0.5579 GB, free: 13.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.007608, allocations: 51.41 kB / 0.558 GB, free: 13.65 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.848e-05/0.007697, allocations: 125.7 kB / 0.5581 GB, free: 13.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.007725, allocations: 33.7 kB / 0.5581 GB, free: 13.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.976e-05/0.007784, allocations: 92.14 kB / 0.5582 GB, free: 13.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.007802, allocations: 11.89 kB / 0.5582 GB, free: 13.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.819e-05/0.0079, allocations: 49.69 kB / 0.5583 GB, free: 13.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.635e-05/0.007996, allocations: 322.8 kB / 0.5586 GB, free: 13 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.008164, allocations: 127.4 kB / 0.5587 GB, free: 12.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.008341, allocations: 151.7 kB / 0.5589 GB, free: 12.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.008525, allocations: 155.6 kB / 0.559 GB, free: 12.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.008529, allocations: 3.938 kB / 0.559 GB, free: 12.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004632/0.008992, allocations: 336.7 kB / 0.5593 GB, free: 12.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.185e-05/0.009044, allocations: 67.39 kB / 0.5594 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.009049, allocations: 3.938 kB / 0.5594 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.009064, allocations: 4 kB / 0.5594 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.021e-05/0.009084, allocations: 8 kB / 0.5594 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.009091, allocations: 4.312 kB / 0.5594 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.009363, allocations: 47.94 kB / 0.5595 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.009395, allocations: 16.02 kB / 0.5595 GB, free: 11.98 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,nor1.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 9.549e-05/0.009491, allocations: 132 kB / 0.5596 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.009505, allocations: 7.953 kB / 0.5596 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.009533, allocations: 12.42 kB / 0.5596 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.009535, allocations: 0 / 0.5596 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.009541, allocations: 4 kB / 0.5596 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.009544, allocations: 0 / 0.5596 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.009658, allocations: 140.7 kB / 0.5598 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.00966, allocations: 0 / 0.5598 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.435e-06/0.009669, allocations: 7.922 kB / 0.5598 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.009671, allocations: 4 kB / 0.5598 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.009679, allocations: 0 / 0.5598 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.00968, allocations: 4 kB / 0.5598 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.009683, allocations: 3.984 kB / 0.5598 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.009825, allocations: 117 kB / 0.5599 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.009836, allocations: 7.953 kB / 0.5599 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.00985, allocations: 0 / 0.5599 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.034e-05/0.00987, allocations: 0 / 0.5599 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.009909, allocations: 11.98 kB / 0.5599 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.009914, allocations: 0 / 0.5599 GB, free: 11.47 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.69e-05/0.009961, allocations: 91.27 kB / 0.56 GB, free: 11.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.009961, allocations: 4 kB / 0.56 GB, free: 11.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003133/0.01027, allocations: 28 kB / 0.56 GB, free: 11.35 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,nor1.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.0004108/0.01069, allocations: 0.6553 MB / 0.5607 GB, free: 10.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003459/0.01103, allocations: 278.1 kB / 0.5609 GB, free: 10.35 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01103, allocations: 0 / 0.5609 GB, free: 10.35 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.649e-05/0.01108, allocations: 24.2 kB / 0.5609 GB, free: 10.33 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.01135, allocations: 25.42 kB / 0.561 GB, free: 10.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.01349, allocations: 1.958 MB / 0.5629 GB, free: 8.176 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.234e-05/0.01354, allocations: 71.33 kB / 0.563 GB, free: 8.086 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.88e-05/0.01357, allocations: 4 kB / 0.563 GB, free: 8.082 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.01361, allocations: 24.42 kB / 0.563 GB, free: 8.059 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01361, allocations: 0 / 0.563 GB, free: 8.059 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.03001, allocations: 3.756 MB / 0.5666 GB, free: 4.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.021/7.051, allocations: 8.922 kB / 0.5667 GB, free: 4.496 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.545381763018668] Failed to read output from testmodel.py, exit status != 0: 7.138328263536096 7.150016599 7.141772832 Calling exit ...