Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.001288/0.001288, allocations: 79.78 kB / 19.94 MB, free: 1.773 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.001363/0.001363, allocations: 165.2 kB / 23.22 MB, free: 4.891 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.1 MB / 203.5 MB, free: 9.168 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.8881/0.8881, allocations: 114 MB / 373.9 MB, free: 13.25 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.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.5547 GB, free: 2.637 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.305e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.633 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001768/0.001791, allocations: 0.7251 MB / 0.5554 GB, free: 1.914 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.003446, allocations: 1.17 MB / 0.5565 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.003497, allocations: 0 / 0.5565 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.215e-05/0.003529, allocations: 3.938 kB / 0.5565 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.48e-05/0.003604, allocations: 19.86 kB / 0.5566 GB, free: 0.707 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.004156, allocations: 137.9 kB / 0.5567 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.004368, allocations: 115.8 kB / 0.5568 GB, free: 476 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.313e-05/0.004462, allocations: 11.98 kB / 0.5568 GB, free: 464 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.004613, allocations: 71.81 kB / 0.5569 GB, free: 392 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.237e-05/0.004706, allocations: 35.94 kB / 0.5569 GB, free: 356 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.004739, allocations: 12 kB / 0.5569 GB, free: 344 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.577e-05/0.004814, allocations: 27.92 kB / 0.5569 GB, free: 316 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/0.004842, allocations: 15.98 kB / 0.557 GB, free: 300 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.85e-05/0.00491, allocations: 35.91 kB / 0.557 GB, free: 264 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.005148, allocations: 131.6 kB / 0.5571 GB, free: 132 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.00515, allocations: 0 / 0.5571 GB, free: 132 kB / 462.1 MB Notification: Performance of FrontEnd: time 6.52e-07/0.005151, allocations: 0 / 0.5571 GB, free: 132 kB / 462.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.005159, allocations: 0 / 0.5571 GB, free: 132 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006442/0.005804, allocations: 338.4 kB / 0.5574 GB, free: 15.76 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.005841, allocations: 8.625 kB / 0.5575 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.763e-05/0.005898, allocations: 12.89 kB / 0.5575 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.006027, allocations: 117.7 kB / 0.5576 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.006038, allocations: 8.375 kB / 0.5576 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.006067, allocations: 8.375 kB / 0.5576 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.006283, allocations: 70.16 kB / 0.5577 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.006293, allocations: 192 / 0.5577 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.006305, allocations: 4.375 kB / 0.5577 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.006311, allocations: 4.359 kB / 0.5577 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.006509, allocations: 43.89 kB / 0.5577 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/0.006991, allocations: 264.4 kB / 0.558 GB, free: 15.17 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.007181, allocations: 62.55 kB / 0.558 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.007287, allocations: 24.97 kB / 0.558 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.007298, allocations: 7.938 kB / 0.5581 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.007521, allocations: 95.3 kB / 0.5581 GB, free: 14.96 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.007522, allocations: 0 / 0.5581 GB, free: 14.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004751/0.007998, allocations: 145.5 kB / 0.5583 GB, free: 14.81 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.008049, allocations: 51.48 kB / 0.5583 GB, free: 14.75 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.008174, allocations: 125.8 kB / 0.5585 GB, free: 14.62 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.008212, allocations: 29.7 kB / 0.5585 GB, free: 14.58 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.189e-05/0.008294, allocations: 96.08 kB / 0.5586 GB, free: 14.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.008323, allocations: 23.83 kB / 0.5586 GB, free: 14.46 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.51e-05/0.008408, allocations: 41.64 kB / 0.5586 GB, free: 14.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.008561, allocations: 322.8 kB / 0.5589 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.008757, allocations: 81.66 kB / 0.559 GB, free: 14 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.008967, allocations: 118 kB / 0.5591 GB, free: 13.87 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.009267, allocations: 137.8 kB / 0.5593 GB, free: 13.71 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.009269, allocations: 4 kB / 0.5593 GB, free: 13.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005086/0.009778, allocations: 245.2 kB / 0.5595 GB, free: 13.45 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/0.009821, allocations: 37.69 kB / 0.5595 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.009827, allocations: 3.984 kB / 0.5595 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.009842, allocations: 0 / 0.5595 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.054e-05/0.009933, allocations: 15.92 kB / 0.5596 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.00994, allocations: 4 kB / 0.5596 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.01016, allocations: 36.05 kB / 0.5596 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.01018, allocations: 11.98 kB / 0.5596 GB, free: 13.34 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: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001091/0.01029, allocations: 122.9 kB / 0.5597 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.01031, allocations: 11.89 kB / 0.5597 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.01034, allocations: 12.44 kB / 0.5597 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01034, allocations: 0 / 0.5597 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.01035, allocations: 3.984 kB / 0.5597 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.01035, allocations: 0 / 0.5597 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005051/0.01086, allocations: 322.1 kB / 0.5601 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01086, allocations: 0 / 0.5601 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.967e-05/0.01092, allocations: 11.98 kB / 0.5601 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01092, allocations: 0 / 0.5601 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.01093, allocations: 4.062 kB / 0.5601 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01093, allocations: 0 / 0.5601 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01093, allocations: 0 / 0.5601 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.01127, allocations: 219.3 kB / 0.5603 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.38e-05/0.01128, allocations: 11.89 kB / 0.5603 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.0113, allocations: 4 kB / 0.5603 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.674e-05/0.01139, allocations: 7.984 kB / 0.5603 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.01143, allocations: 15.92 kB / 0.5603 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.01144, allocations: 0 / 0.5603 GB, free: 12.55 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.793e-05/0.0115, allocations: 98.59 kB / 0.5604 GB, free: 12.45 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.0115, allocations: 4 kB / 0.5604 GB, free: 12.45 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.01176, allocations: 20 kB / 0.5604 GB, free: 12.43 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001734/0.01193, allocations: 105.9 kB / 0.5605 GB, free: 12.32 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004206/0.01235, allocations: 197 kB / 0.5607 GB, free: 12.11 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01235, allocations: 0 / 0.5607 GB, free: 12.11 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.01247, allocations: 31.92 kB / 0.5608 GB, free: 12.07 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.01275, allocations: 19.92 kB / 0.5608 GB, free: 12.05 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.01312, allocations: 153.4 kB / 0.5609 GB, free: 11.88 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.485e-05/0.01319, allocations: 87.5 kB / 0.561 GB, free: 11.77 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 3.118e-05/0.01322, allocations: 7.984 kB / 0.561 GB, free: 11.77 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.01325, allocations: 12.5 kB / 0.561 GB, free: 11.75 MB / 478.1 MB Notification: Performance of SimCode: time 3.91e-07/0.01325, allocations: 0 / 0.561 GB, free: 11.75 MB / 478.1 MB Notification: Performance of Templates: time 0.00456/0.01781, allocations: 1.572 MB / 0.5626 GB, free: 10.23 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.999230455607176] Failed to read output from testmodel.py, exit status != 0: 0.02551373839378357 0.040401268000000004 0.032225784 Calling exit ...