Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.001399/0.001399, allocations: 108.2 kB / 20.33 MB, free: 1.582 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.001482/0.001482, allocations: 184.9 kB / 23.59 MB, free: 4.965 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.55/1.55, allocations: 225.6 MB / 252.3 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
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.9854/0.9854, allocations: 149.6 MB / 457.1 MB, free: 1.301 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.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger")
translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 72.95 kB / 0.6332 GB, free: 9.145 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1632, allocations: 87.87 MB / 0.719 GB, free: 1.184 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002062/0.1653, allocations: 0.7429 MB / 0.7197 GB, free: 452 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001497/0.1668, allocations: 1.08 MB / 0.7207 GB, free: 15.35 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.413e-05/0.1668, allocations: 0 / 0.7207 GB, free: 15.35 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 3.814e-05/0.1669, allocations: 11.92 kB / 0.7208 GB, free: 15.34 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 7.546e-05/0.1669, allocations: 7.875 kB / 0.7208 GB, free: 15.33 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.1673, allocations: 51.83 kB / 0.7208 GB, free: 15.28 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.000134/0.1674, allocations: 71.83 kB / 0.7209 GB, free: 15.21 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1675, allocations: 20.11 kB / 0.7209 GB, free: 15.18 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.513e-05/0.1676, allocations: 31.92 kB / 0.7209 GB, free: 15.15 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.99e-05/0.1677, allocations: 35.78 kB / 0.721 GB, free: 15.12 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.1677, allocations: 8 kB / 0.721 GB, free: 15.11 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.581e-05/0.1678, allocations: 23.98 kB / 0.721 GB, free: 15.09 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.1678, allocations: 11.97 kB / 0.721 GB, free: 15.07 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 4.77e-05/0.1678, allocations: 31.81 kB / 0.721 GB, free: 15.04 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.168, allocations: 87.61 kB / 0.7211 GB, free: 14.96 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.168, allocations: 0 / 0.7211 GB, free: 14.96 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.042e-06/0.168, allocations: 0 / 0.7211 GB, free: 14.96 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 5.04e-06/0.168, allocations: 0 / 0.7211 GB, free: 14.96 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: 9
 * Number of variables: 9
Notification: Performance of Generate backend data structure: time 0.0005565/0.1686, allocations: 302.1 kB / 0.7214 GB, free: 14.63 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.1686, allocations: 8.625 kB / 0.7214 GB, free: 14.62 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.1687, allocations: 8.891 kB / 0.7214 GB, free: 14.62 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.1688, allocations: 118.4 kB / 0.7215 GB, free: 14.48 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.1688, allocations: 8.375 kB / 0.7215 GB, free: 14.47 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.1688, allocations: 4.375 kB / 0.7216 GB, free: 14.46 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.169, allocations: 66.17 kB / 0.7216 GB, free: 14.39 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.169, allocations: 7.922 kB / 0.7216 GB, free: 14.39 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1691, allocations: 7.984 kB / 0.7216 GB, free: 14.38 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.1691, allocations: 0 / 0.7216 GB, free: 14.38 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.1692, allocations: 39.97 kB / 0.7217 GB, free: 14.34 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006836/0.1699, allocations: 299.7 kB / 0.722 GB, free: 14 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.1701, allocations: 54.55 kB / 0.722 GB, free: 13.94 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.1702, allocations: 24.97 kB / 0.722 GB, free: 13.91 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.1702, allocations: 4 kB / 0.722 GB, free: 13.91 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.1705, allocations: 75.38 kB / 0.7221 GB, free: 13.82 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.1705, allocations: 0 / 0.7221 GB, free: 13.82 MB / 0.545 GB
Notification: Performance of matching and sorting (n=7): time 0.0004503/0.1709, allocations: 133.6 kB / 0.7222 GB, free: 13.69 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.171, allocations: 55.41 kB / 0.7223 GB, free: 13.62 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.1711, allocations: 121.8 kB / 0.7224 GB, free: 13.49 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.1711, allocations: 25.7 kB / 0.7224 GB, free: 13.46 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 6.621e-05/0.1712, allocations: 96.08 kB / 0.7225 GB, free: 13.36 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.1712, allocations: 23.78 kB / 0.7225 GB, free: 13.34 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.766e-05/0.1712, allocations: 29.7 kB / 0.7226 GB, free: 13.3 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001449/0.1714, allocations: 330.8 kB / 0.7229 GB, free: 12.97 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.1715, allocations: 27.97 kB / 0.7229 GB, free: 12.95 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.1717, allocations: 74.36 kB / 0.723 GB, free: 12.85 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.1719, allocations: 109.8 kB / 0.7231 GB, free: 12.72 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.1719, allocations: 7.984 kB / 0.7231 GB, free: 12.71 MB / 0.545 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003352/0.1722, allocations: 129.5 kB / 0.7232 GB, free: 12.58 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1723, allocations: 8 kB / 0.7232 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.1723, allocations: 0 / 0.7232 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1723, allocations: 4 kB / 0.7232 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.1724, allocations: 20.14 kB / 0.7233 GB, free: 12.55 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.1724, allocations: 8 kB / 0.7233 GB, free: 12.54 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.219e-05/0.1725, allocations: 11.98 kB / 0.7233 GB, free: 12.53 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.1725, allocations: 4 kB / 0.7233 GB, free: 12.53 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 7
 * Number of states: 0 ()
 * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (11):
 * Single equations (assignments): 11
 * Array equations: 0
 * Algorithm blocks: 0
 * 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.0001086/0.1726, allocations: 127.9 kB / 0.7234 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.1727, allocations: 7.953 kB / 0.7234 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.1727, allocations: 12.36 kB / 0.7234 GB, free: 12.38 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1727, allocations: 4 kB / 0.7234 GB, free: 12.37 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1727, allocations: 0 / 0.7234 GB, free: 12.37 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1727, allocations: 4 kB / 0.7234 GB, free: 12.37 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/0.1732, allocations: 349.8 kB / 0.7238 GB, free: 11.98 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1732, allocations: 3.984 kB / 0.7238 GB, free: 11.97 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-05/0.1733, allocations: 7.938 kB / 0.7238 GB, free: 11.96 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1733, allocations: 0 / 0.7238 GB, free: 11.96 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1733, allocations: 4 kB / 0.7238 GB, free: 11.96 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1733, allocations: 3.938 kB / 0.7238 GB, free: 11.96 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1733, allocations: 7.984 kB / 0.7238 GB, free: 11.95 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.1736, allocations: 191.5 kB / 0.724 GB, free: 11.75 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.309e-05/0.1736, allocations: 11.89 kB / 0.724 GB, free: 11.73 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.1737, allocations: 3.984 kB / 0.724 GB, free: 11.73 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.709e-05/0.1738, allocations: 7.938 kB / 0.724 GB, free: 11.72 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.1738, allocations: 7.984 kB / 0.724 GB, free: 11.71 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.1738, allocations: 4 kB / 0.724 GB, free: 11.71 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 6.635e-05/0.1739, allocations: 99.27 kB / 0.7241 GB, free: 11.61 MB / 0.545 GB
Notification: Performance of sort global known variables: time 7e-08/0.1739, allocations: 0 / 0.7241 GB, free: 11.61 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002673/0.1741, allocations: 12 kB / 0.7241 GB, free: 11.6 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.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.0001421/0.1743, allocations: 111.2 kB / 0.7242 GB, free: 11.48 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0002971/0.1746, allocations: 72.08 kB / 0.7243 GB, free: 11.41 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1746, allocations: 0 / 0.7243 GB, free: 11.41 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.1747, allocations: 35.97 kB / 0.7243 GB, free: 11.38 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.175, allocations: 4 kB / 0.7243 GB, free: 11.38 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003753/0.1753, allocations: 170 kB / 0.7245 GB, free: 11.18 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1757, allocations: 0.6965 MB / 0.7252 GB, free: 10.46 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 3.963e-05/0.1757, allocations: 7.984 kB / 0.7252 GB, free: 10.45 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.405e-05/0.1757, allocations: 11.44 kB / 0.7252 GB, free: 10.44 MB / 0.545 GB
Notification: Performance of SimCode: time 5.71e-07/0.1757, allocations: 0 / 0.7252 GB, free: 10.44 MB / 0.545 GB
Notification: Performance of Templates: time 0.004059/0.1798, allocations: 0.9913 MB / 0.7261 GB, free: 9.453 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger  -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.763367295003263]
Failed to read output from testmodel.py, exit status != 0:
0.18885096299345605 0.204605747 0.033237752
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f44d8ef5840>