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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 115 kB / 19.69 MB, free: 2.188 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 187.5 kB / 22.98 MB, free: 5.008 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 225.6 MB / 251.8 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8673/0.8673, allocations: 149.6 MB / 456.6 MB, free: 1.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 4.0.0-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001941/0.001941, allocations: 66.86 kB / 0.6329 GB, free: 9.062 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1736, allocations: 87.87 MB / 0.7187 GB, free: 1.102 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002097/0.1757, allocations: 0.7313 MB / 0.7194 GB, free: 384 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.00156/0.1772, allocations: 1.166 MB / 0.7205 GB, free: 15.2 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.06e-05/0.1773, allocations: 0 / 0.7205 GB, free: 15.2 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.1773, allocations: 7.938 kB / 0.7205 GB, free: 15.19 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 7.885e-05/0.1774, allocations: 15.91 kB / 0.7205 GB, free: 15.17 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005344/0.1779, allocations: 134.5 kB / 0.7207 GB, free: 15.04 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0001942/0.1781, allocations: 115.8 kB / 0.7208 GB, free: 14.93 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.441e-05/0.1782, allocations: 11.98 kB / 0.7208 GB, free: 14.92 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.1783, allocations: 51.89 kB / 0.7208 GB, free: 14.87 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1784, allocations: 47.77 kB / 0.7209 GB, free: 14.82 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.1784, allocations: 12 kB / 0.7209 GB, free: 14.81 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.149e-05/0.1785, allocations: 31.97 kB / 0.7209 GB, free: 14.78 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 2.807e-05/0.1785, allocations: 15.92 kB / 0.7209 GB, free: 14.76 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 6.275e-05/0.1786, allocations: 39.86 kB / 0.721 GB, free: 14.72 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.1788, allocations: 115.5 kB / 0.7211 GB, free: 14.61 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1788, allocations: 0 / 0.7211 GB, free: 14.61 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.223e-06/0.1788, allocations: 0 / 0.7211 GB, free: 14.61 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 9.457e-06/0.1788, allocations: 0 / 0.7211 GB, free: 14.61 MB / 0.545 GB
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.0005977/0.1794, allocations: 339.8 kB / 0.7214 GB, free: 14.24 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1794, allocations: 8.625 kB / 0.7214 GB, free: 14.23 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.1795, allocations: 16.89 kB / 0.7214 GB, free: 14.21 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.1796, allocations: 122.5 kB / 0.7216 GB, free: 14.07 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.1796, allocations: 4.375 kB / 0.7216 GB, free: 14.07 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.1797, allocations: 4.375 kB / 0.7216 GB, free: 14.06 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.1799, allocations: 70.2 kB / 0.7216 GB, free: 13.99 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.1799, allocations: 192 / 0.7216 GB, free: 13.99 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.1799, allocations: 3.938 kB / 0.7216 GB, free: 13.98 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1799, allocations: 4 kB / 0.7216 GB, free: 13.98 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.1801, allocations: 55.88 kB / 0.7217 GB, free: 13.93 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005472/0.1806, allocations: 303.8 kB / 0.722 GB, free: 13.59 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.1808, allocations: 58.48 kB / 0.722 GB, free: 13.52 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.782e-05/0.1809, allocations: 37.03 kB / 0.7221 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.1809, allocations: 0 / 0.7221 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.1811, allocations: 91.38 kB / 0.7222 GB, free: 13.38 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.1811, allocations: 0 / 0.7222 GB, free: 13.38 MB / 0.545 GB
Notification: Performance of matching and sorting (n=8): time 0.000418/0.1815, allocations: 137.6 kB / 0.7223 GB, free: 13.24 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.1816, allocations: 63.39 kB / 0.7224 GB, free: 13.16 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.1817, allocations: 125.7 kB / 0.7225 GB, free: 13.03 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.1817, allocations: 25.7 kB / 0.7225 GB, free: 13 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/0.1818, allocations: 92.12 kB / 0.7226 GB, free: 12.91 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.1818, allocations: 19.89 kB / 0.7226 GB, free: 12.89 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.107e-05/0.1819, allocations: 41.64 kB / 0.7226 GB, free: 12.84 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001311/0.182, allocations: 322.8 kB / 0.7229 GB, free: 12.52 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.1821, allocations: 51.97 kB / 0.723 GB, free: 12.46 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.1823, allocations: 88.25 kB / 0.7231 GB, free: 12.36 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.1826, allocations: 145.9 kB / 0.7232 GB, free: 12.2 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1826, allocations: 0 / 0.7232 GB, free: 12.2 MB / 0.545 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004326/0.183, allocations: 211.1 kB / 0.7234 GB, free: 11.98 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/0.1831, allocations: 37.7 kB / 0.7235 GB, free: 11.94 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1831, allocations: 0 / 0.7235 GB, free: 11.94 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1831, allocations: 8.125 kB / 0.7235 GB, free: 11.93 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.283e-05/0.1832, allocations: 15.92 kB / 0.7235 GB, free: 11.91 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.1832, allocations: 3.938 kB / 0.7235 GB, free: 11.91 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.1834, allocations: 39.84 kB / 0.7235 GB, free: 11.87 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.1834, allocations: 12 kB / 0.7235 GB, free: 11.86 MB / 0.545 GB
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.0001003/0.1835, allocations: 124 kB / 0.7237 GB, free: 11.73 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.1835, allocations: 7.953 kB / 0.7237 GB, free: 11.72 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.227e-05/0.1835, allocations: 16.36 kB / 0.7237 GB, free: 11.7 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1835, allocations: 0 / 0.7237 GB, free: 11.7 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1835, allocations: 0 / 0.7237 GB, free: 11.7 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1835, allocations: 0 / 0.7237 GB, free: 11.7 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004624/0.184, allocations: 349.5 kB / 0.724 GB, free: 11.31 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.184, allocations: 0 / 0.724 GB, free: 11.31 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.466e-05/0.1841, allocations: 8 kB / 0.724 GB, free: 11.3 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.1841, allocations: 3.984 kB / 0.724 GB, free: 11.3 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.1841, allocations: 8 kB / 0.724 GB, free: 11.29 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1841, allocations: 0 / 0.724 GB, free: 11.29 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1841, allocations: 0 / 0.724 GB, free: 11.29 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.1844, allocations: 207.7 kB / 0.7242 GB, free: 11.07 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.155e-05/0.1844, allocations: 7.953 kB / 0.7242 GB, free: 11.07 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.1844, allocations: 4 kB / 0.7242 GB, free: 11.06 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.394e-05/0.1845, allocations: 11.98 kB / 0.7243 GB, free: 11.05 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.1846, allocations: 15.86 kB / 0.7243 GB, free: 11.04 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.1846, allocations: 4.062 kB / 0.7243 GB, free: 11.03 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 6.08e-05/0.1846, allocations: 95.27 kB / 0.7244 GB, free: 10.94 MB / 0.545 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.1846, allocations: 0 / 0.7244 GB, free: 10.94 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002522/0.1849, allocations: 24 kB / 0.7244 GB, free: 10.91 MB / 0.545 GB
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.0001323/0.185, allocations: 103.2 kB / 0.7245 GB, free: 10.8 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0003754/0.1854, allocations: 167.3 kB / 0.7246 GB, free: 10.63 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1854, allocations: 0 / 0.7246 GB, free: 10.63 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.000117/0.1855, allocations: 43.91 kB / 0.7247 GB, free: 10.59 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.1858, allocations: 11.98 kB / 0.7247 GB, free: 10.57 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.1861, allocations: 162.9 kB / 0.7248 GB, free: 10.39 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.1864, allocations: 0.6962 MB / 0.7255 GB, free: 9.664 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 3.141e-05/0.1865, allocations: 4 kB / 0.7255 GB, free: 9.66 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.1865, allocations: 11.44 kB / 0.7255 GB, free: 9.648 MB / 0.545 GB
Notification: Performance of SimCode: time 3.11e-07/0.1865, allocations: 0 / 0.7255 GB, free: 9.648 MB / 0.545 GB
Notification: Performance of Templates: time 0.004131/0.1906, allocations: 1.481 MB / 0.727 GB, free: 8.184 MB / 0.545 GB
"
[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: 5.040367586538196]
Failed to read output from testmodel.py, exit status != 0:
0.19850489031523466 0.211812509 0.030165367000000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7ff3189757b0>