Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.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.001339/0.001339, allocations: 75.77 kB / 19.93 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.001481/0.001481, allocations: 170.8 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.384/1.384, allocations: 177.2 MB / 203.5 MB, free: 9.172 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.9003/0.9003, allocations: 114 MB / 373.9 MB, free: 13.24 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.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.556e-06/3.556e-06, allocations: 3.984 kB / 0.5547 GB, free: 2.629 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/2.037e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.625 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00147/0.00149, allocations: 0.6359 MB / 0.5553 GB, free: 1.992 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.002964, allocations: 1.221 MB / 0.5565 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/0.003003, allocations: 0 / 0.5565 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.332e-05/0.003026, allocations: 7.938 kB / 0.5565 GB, free: 0.75 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.981e-05/0.003096, allocations: 11.91 kB / 0.5565 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.003682, allocations: 217.4 kB / 0.5567 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.003891, allocations: 167.7 kB / 0.5569 GB, free: 376 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.181e-05/0.003963, allocations: 11.98 kB / 0.5569 GB, free: 364 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.004102, allocations: 91.88 kB / 0.557 GB, free: 272 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.004213, allocations: 55.84 kB / 0.557 GB, free: 216 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.00425, allocations: 16 kB / 0.5571 GB, free: 200 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.26e-05/0.004323, allocations: 23.98 kB / 0.5571 GB, free: 176 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.275e-05/0.004346, allocations: 15.97 kB / 0.5571 GB, free: 160 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.661e-05/0.004422, allocations: 55.84 kB / 0.5571 GB, free: 104 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.004665, allocations: 179.6 kB / 0.5573 GB, free: 15.93 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004667, allocations: 0 / 0.5573 GB, free: 15.93 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004668, allocations: 0 / 0.5573 GB, free: 15.93 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.004673, allocations: 3.984 kB / 0.5573 GB, free: 15.92 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.0004868/0.00516, allocations: 349.6 kB / 0.5577 GB, free: 15.54 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.005194, allocations: 12.62 kB / 0.5577 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.845e-05/0.005252, allocations: 16.89 kB / 0.5577 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.711e-05/0.005349, allocations: 117.7 kB / 0.5578 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.005366, allocations: 4.375 kB / 0.5578 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.005395, allocations: 8.375 kB / 0.5578 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.005496, allocations: 46.25 kB / 0.5579 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.005503, allocations: 4.125 kB / 0.5579 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.005515, allocations: 12.3 kB / 0.5579 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-06/0.005518, allocations: 384 / 0.5579 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.041e-05/0.005558, allocations: 15.94 kB / 0.5579 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.005962, allocations: 268.5 kB / 0.5581 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.473e-05/0.006036, allocations: 34.56 kB / 0.5582 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.847e-05/0.006065, allocations: 16.86 kB / 0.5582 GB, free: 14.92 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.006076, allocations: 3.938 kB / 0.5582 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/0.006199, allocations: 79.41 kB / 0.5583 GB, free: 14.82 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.006201, allocations: 0 / 0.5583 GB, free: 14.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002418/0.006442, allocations: 105.6 kB / 0.5584 GB, free: 14.71 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.006486, allocations: 55.39 kB / 0.5584 GB, free: 14.65 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.634e-05/0.006583, allocations: 121.8 kB / 0.5585 GB, free: 14.52 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.00662, allocations: 33.7 kB / 0.5586 GB, free: 14.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.514e-05/0.006686, allocations: 88.09 kB / 0.5587 GB, free: 14.39 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.006704, allocations: 23.89 kB / 0.5587 GB, free: 14.37 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.372e-05/0.006798, allocations: 45.69 kB / 0.5587 GB, free: 14.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.006931, allocations: 318.8 kB / 0.559 GB, free: 14 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.007101, allocations: 123.4 kB / 0.5591 GB, free: 13.86 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.007294, allocations: 151.7 kB / 0.5593 GB, free: 13.69 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.007495, allocations: 164 kB / 0.5594 GB, free: 13.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.007497, allocations: 0 / 0.5594 GB, free: 13.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004712/0.007968, allocations: 332.2 kB / 0.5598 GB, free: 13.14 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.675e-05/0.008025, allocations: 67.39 kB / 0.5598 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.008031, allocations: 4 kB / 0.5598 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.008043, allocations: 0 / 0.5598 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.27e-05/0.008066, allocations: 11.92 kB / 0.5598 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.00807, allocations: 0 / 0.5598 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/0.008402, allocations: 56 kB / 0.5599 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.008438, allocations: 19.97 kB / 0.5599 GB, free: 12.98 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,nand1.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.0001042/0.008542, allocations: 121.8 kB / 0.56 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.008559, allocations: 11.89 kB / 0.56 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.008584, allocations: 8.438 kB / 0.56 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.008585, allocations: 0 / 0.56 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.008588, allocations: 0 / 0.56 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.008591, allocations: 3.938 kB / 0.5601 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.008711, allocations: 129.3 kB / 0.5602 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.008712, allocations: 0 / 0.5602 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.065e-05/0.008722, allocations: 7.938 kB / 0.5602 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.008726, allocations: 3.938 kB / 0.5602 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.008735, allocations: 4 kB / 0.5602 GB, free: 12.65 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.008736, allocations: 4 kB / 0.5602 GB, free: 12.65 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008737, allocations: 0 / 0.5602 GB, free: 12.65 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.008885, allocations: 105.1 kB / 0.5603 GB, free: 12.53 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-06/0.008892, allocations: 0 / 0.5603 GB, free: 12.53 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.008908, allocations: 7.938 kB / 0.5603 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.345e-05/0.008931, allocations: 7.984 kB / 0.5603 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.008967, allocations: 4 kB / 0.5603 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.008973, allocations: 0 / 0.5603 GB, free: 12.51 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.672e-05/0.00903, allocations: 99.2 kB / 0.5604 GB, free: 12.41 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.00903, allocations: 0 / 0.5604 GB, free: 12.41 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.009266, allocations: 39.89 kB / 0.5604 GB, free: 12.37 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,nand1.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.0001287/0.009395, allocations: 105 kB / 0.5605 GB, free: 12.26 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003589/0.009754, allocations: 282.1 kB / 0.5608 GB, free: 11.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.009755, allocations: 0 / 0.5608 GB, free: 11.95 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 4.488e-05/0.0098, allocations: 24 kB / 0.5608 GB, free: 11.92 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.01002, allocations: 16.23 kB / 0.5609 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.01032, allocations: 153.2 kB / 0.561 GB, free: 11.73 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.086e-05/0.01038, allocations: 79.27 kB / 0.5611 GB, free: 11.63 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.062e-05/0.0104, allocations: 4 kB / 0.5611 GB, free: 11.63 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.01042, allocations: 8.5 kB / 0.5611 GB, free: 11.62 MB / 478.1 MB Notification: Performance of SimCode: time 3e-07/0.01042, allocations: 4 kB / 0.5611 GB, free: 11.62 MB / 478.1 MB Notification: Performance of Templates: time 0.004795/0.01522, allocations: 2.033 MB / 0.5631 GB, free: 9.645 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.065874420106411] Failed to read output from testmodel.py, exit status != 0: 0.022326063364744186 0.036367924 0.028802874000000003 Calling exit ...