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.001277/0.001277, allocations: 81.08 kB / 19.94 MB, free: 1.77 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.001442/0.001442, allocations: 169.6 kB / 23.22 MB, free: 4.887 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.382/1.382, allocations: 177.2 MB / 203.5 MB, free: 9.16 MB / 190.1 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.8981/0.8981, allocations: 114 MB / 373.9 MB, free: 13.23 MB / 350.1 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.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.5547 GB, free: 2.637 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.81e-05, allocations: 2.781 kB / 0.5547 GB, free: 2.633 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00172/0.001749, allocations: 0.6302 MB / 0.5553 GB, free: 2.008 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.003448, allocations: 1.213 MB / 0.5565 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.003495, allocations: 0 / 0.5565 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.281e-05/0.003528, allocations: 7.922 kB / 0.5565 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.84e-05/0.003597, allocations: 15.86 kB / 0.5565 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006759/0.004272, allocations: 221.3 kB / 0.5567 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.004533, allocations: 171.6 kB / 0.5569 GB, free: 388 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.557e-05/0.004619, allocations: 8 kB / 0.5569 GB, free: 380 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.004782, allocations: 95.91 kB / 0.557 GB, free: 284 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.00492, allocations: 51.86 kB / 0.557 GB, free: 232 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.682e-05/0.004957, allocations: 12 kB / 0.557 GB, free: 220 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.102e-05/0.005038, allocations: 35.98 kB / 0.5571 GB, free: 184 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.005059, allocations: 3.984 kB / 0.5571 GB, free: 180 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.772e-05/0.005147, allocations: 55.89 kB / 0.5571 GB, free: 124 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.005425, allocations: 179.6 kB / 0.5573 GB, free: 15.95 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.005427, allocations: 0 / 0.5573 GB, free: 15.95 MB / 478.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005428, allocations: 0 / 0.5573 GB, free: 15.95 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.005438, allocations: 0 / 0.5573 GB, free: 15.95 MB / 478.1 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.0005638/0.006002, allocations: 360.2 kB / 0.5576 GB, free: 15.55 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.006047, allocations: 8.625 kB / 0.5577 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.443e-05/0.006111, allocations: 16.88 kB / 0.5577 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.006236, allocations: 113.7 kB / 0.5578 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.006257, allocations: 12.31 kB / 0.5578 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/0.006298, allocations: 20.3 kB / 0.5578 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.006418, allocations: 50.23 kB / 0.5579 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.006427, allocations: 192 / 0.5579 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.006437, allocations: 384 / 0.5579 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.006441, allocations: 384 / 0.5579 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.35e-05/0.006485, allocations: 15.94 kB / 0.5579 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.006926, allocations: 272.4 kB / 0.5581 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.666e-05/0.007013, allocations: 34.56 kB / 0.5582 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/0.007041, allocations: 12.86 kB / 0.5582 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.007052, allocations: 4 kB / 0.5582 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.007197, allocations: 87.38 kB / 0.5583 GB, free: 14.83 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.833e-06/0.007198, allocations: 4 kB / 0.5583 GB, free: 14.83 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.000259/0.007457, allocations: 101.6 kB / 0.5584 GB, free: 14.72 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.007502, allocations: 55.41 kB / 0.5584 GB, free: 14.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.007608, allocations: 113.8 kB / 0.5585 GB, free: 14.54 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.007646, allocations: 33.7 kB / 0.5586 GB, free: 14.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.007718, allocations: 96.08 kB / 0.5587 GB, free: 14.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.007743, allocations: 15.89 kB / 0.5587 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.776e-05/0.007841, allocations: 49.69 kB / 0.5587 GB, free: 14.33 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.007978, allocations: 322.8 kB / 0.559 GB, free: 14 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.008156, allocations: 119.4 kB / 0.5591 GB, free: 13.88 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.008347, allocations: 155.3 kB / 0.5593 GB, free: 13.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.008559, allocations: 164.1 kB / 0.5594 GB, free: 13.51 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.008561, allocations: 0 / 0.5594 GB, free: 13.51 MB / 478.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004986/0.00906, allocations: 332.1 kB / 0.5598 GB, free: 13.16 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.185e-05/0.009122, allocations: 75.52 kB / 0.5598 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.443e-06/0.009129, allocations: 0 / 0.5598 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.009145, allocations: 0 / 0.5598 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.145e-05/0.009167, allocations: 4 kB / 0.5598 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.009172, allocations: 0 / 0.5598 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.009513, allocations: 55.88 kB / 0.5599 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.009548, allocations: 15.98 kB / 0.5599 GB, free: 13 MB / 478.1 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 0.0001183/0.009666, allocations: 129.7 kB / 0.56 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.009684, allocations: 7.891 kB / 0.56 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.009709, allocations: 16.38 kB / 0.5601 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.009711, allocations: 0 / 0.5601 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.009715, allocations: 0 / 0.5601 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.00972, allocations: 3.984 kB / 0.5601 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.009838, allocations: 121.4 kB / 0.5602 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.009839, allocations: 0 / 0.5602 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-06/0.009847, allocations: 0 / 0.5602 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/0.009858, allocations: 3.938 kB / 0.5602 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.009867, allocations: 8 kB / 0.5602 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.009869, allocations: 0 / 0.5602 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.009869, allocations: 0 / 0.5602 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.01003, allocations: 113 kB / 0.5603 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.27e-05/0.01004, allocations: 8 kB / 0.5603 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.01006, allocations: 7.922 kB / 0.5603 GB, free: 12.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.961e-05/0.01008, allocations: 0 / 0.5603 GB, free: 12.53 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.01012, allocations: 4 kB / 0.5603 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.01013, allocations: 11.98 kB / 0.5603 GB, free: 12.51 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.406e-05/0.01019, allocations: 87.28 kB / 0.5604 GB, free: 12.43 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01019, allocations: 0 / 0.5604 GB, free: 12.43 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.01043, allocations: 40.16 kB / 0.5604 GB, free: 12.39 MB / 478.1 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.0001461/0.01058, allocations: 98.09 kB / 0.5605 GB, free: 12.28 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003811/0.01096, allocations: 282.1 kB / 0.5608 GB, free: 11.97 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01096, allocations: 3.938 kB / 0.5608 GB, free: 11.96 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 4.425e-05/0.011, allocations: 23.94 kB / 0.5608 GB, free: 11.94 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.01122, allocations: 15.98 kB / 0.5608 GB, free: 11.93 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.01156, allocations: 153.8 kB / 0.561 GB, free: 11.75 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.184e-05/0.01162, allocations: 71.33 kB / 0.5611 GB, free: 11.66 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.422e-05/0.01164, allocations: 4 kB / 0.5611 GB, free: 11.65 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.01167, allocations: 12.5 kB / 0.5611 GB, free: 11.64 MB / 478.1 MB Notification: Performance of SimCode: time 6.51e-07/0.01167, allocations: 0 / 0.5611 GB, free: 11.64 MB / 478.1 MB Notification: Performance of Templates: time 0.005143/0.01681, allocations: 2.033 MB / 0.5631 GB, free: 9.664 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.046286944299936] Failed to read output from testmodel.py, exit status != 0: 0.025031279772520065 0.039156494 0.030807113 Calling exit ...