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.002059/0.002059, allocations: 114.6 kB / 19.59 MB, free: 2.301 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.00233/0.00233, allocations: 190.6 kB / 22.85 MB, free: 5.645 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.451/1.451, allocations: 225.6 MB / 251.5 MB, free: 13.09 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.9988/0.9988, allocations: 149.5 MB / 456.3 MB, free: 1.258 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.002221/0.002221, allocations: 72.16 kB / 0.6324 GB, free: 9.129 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2181, allocations: 87.87 MB / 0.7182 GB, free: 1.176 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002837/0.2209, allocations: 0.739 MB / 0.7189 GB, free: 452 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.002012/0.2229, allocations: 1.084 MB / 0.72 GB, free: 15.34 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 9.299e-05/0.223, allocations: 4 kB / 0.72 GB, free: 15.34 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 5.067e-05/0.223, allocations: 7.922 kB / 0.72 GB, free: 15.33 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.2232, allocations: 11.88 kB / 0.72 GB, free: 15.32 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.2236, allocations: 51.83 kB / 0.7201 GB, free: 15.27 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0001892/0.2238, allocations: 67.83 kB / 0.7201 GB, free: 15.2 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.2239, allocations: 20.17 kB / 0.7202 GB, free: 15.18 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.224, allocations: 27.86 kB / 0.7202 GB, free: 15.15 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.928e-05/0.2241, allocations: 31.91 kB / 0.7202 GB, free: 15.12 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.2242, allocations: 4 kB / 0.7202 GB, free: 15.12 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.14e-05/0.2242, allocations: 35.86 kB / 0.7202 GB, free: 15.08 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 3.46e-05/0.2243, allocations: 19.91 kB / 0.7203 GB, free: 15.06 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 6.576e-05/0.2243, allocations: 31.86 kB / 0.7203 GB, free: 15.03 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.2246, allocations: 79.62 kB / 0.7204 GB, free: 14.95 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.2246, allocations: 0 / 0.7204 GB, free: 14.95 MB / 0.545 GB
Notification: Performance of FrontEnd: time 3.236e-06/0.2246, allocations: 4 kB / 0.7204 GB, free: 14.95 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 8.536e-06/0.2246, allocations: 0 / 0.7204 GB, free: 14.95 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.0006872/0.2253, allocations: 294.1 kB / 0.7207 GB, free: 14.63 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.2253, allocations: 12.62 kB / 0.7207 GB, free: 14.62 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/0.2254, allocations: 12.89 kB / 0.7207 GB, free: 14.61 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.2255, allocations: 118.4 kB / 0.7208 GB, free: 14.47 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.2255, allocations: 4.375 kB / 0.7208 GB, free: 14.46 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.2256, allocations: 8.312 kB / 0.7208 GB, free: 14.46 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.2258, allocations: 66.22 kB / 0.7209 GB, free: 14.39 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.2258, allocations: 3.938 kB / 0.7209 GB, free: 14.38 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.2258, allocations: 0 / 0.7209 GB, free: 14.38 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.2258, allocations: 7.984 kB / 0.7209 GB, free: 14.38 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.226, allocations: 43.97 kB / 0.7209 GB, free: 14.33 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007811/0.2268, allocations: 299.7 kB / 0.7212 GB, free: 14 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.227, allocations: 50.55 kB / 0.7213 GB, free: 13.94 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.2271, allocations: 32.97 kB / 0.7213 GB, free: 13.9 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.2272, allocations: 0 / 0.7213 GB, free: 13.9 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002836/0.2275, allocations: 79.41 kB / 0.7214 GB, free: 13.81 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.2275, allocations: 0 / 0.7214 GB, free: 13.81 MB / 0.545 GB
Notification: Performance of matching and sorting (n=7): time 0.0005079/0.228, allocations: 129.6 kB / 0.7215 GB, free: 13.68 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.228, allocations: 55.41 kB / 0.7215 GB, free: 13.61 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.2282, allocations: 121.8 kB / 0.7217 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.2282, allocations: 25.7 kB / 0.7217 GB, free: 13.45 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 8.685e-05/0.2283, allocations: 96.08 kB / 0.7218 GB, free: 13.36 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.2283, allocations: 19.84 kB / 0.7218 GB, free: 13.34 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.903e-05/0.2284, allocations: 33.64 kB / 0.7218 GB, free: 13.3 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001772/0.2286, allocations: 322.8 kB / 0.7221 GB, free: 12.97 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.2287, allocations: 31.97 kB / 0.7222 GB, free: 12.94 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.2288, allocations: 73.92 kB / 0.7222 GB, free: 12.85 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.2291, allocations: 109.9 kB / 0.7223 GB, free: 12.72 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2291, allocations: 0 / 0.7223 GB, free: 12.72 MB / 0.545 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003761/0.2295, allocations: 137.4 kB / 0.7225 GB, free: 12.58 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.2295, allocations: 7.938 kB / 0.7225 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.2295, allocations: 4 kB / 0.7225 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.2295, allocations: 0 / 0.7225 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.2297, allocations: 15.98 kB / 0.7225 GB, free: 12.55 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.2297, allocations: 8 kB / 0.7225 GB, free: 12.54 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.867e-05/0.2298, allocations: 8.203 kB / 0.7225 GB, free: 12.54 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/0.2298, allocations: 16 kB / 0.7225 GB, free: 12.52 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.0001286/0.23, allocations: 121.7 kB / 0.7226 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.23, allocations: 11.94 kB / 0.7227 GB, free: 12.38 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.23, allocations: 8.375 kB / 0.7227 GB, free: 12.37 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.23, allocations: 0 / 0.7227 GB, free: 12.37 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.23, allocations: 0 / 0.7227 GB, free: 12.37 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.2301, allocations: 4 kB / 0.7227 GB, free: 12.36 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006495/0.2307, allocations: 353.4 kB / 0.723 GB, free: 11.97 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2307, allocations: 4 kB / 0.723 GB, free: 11.96 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.012e-05/0.2308, allocations: 4 kB / 0.723 GB, free: 11.96 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2308, allocations: 0 / 0.723 GB, free: 11.96 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.2308, allocations: 0 / 0.723 GB, free: 11.96 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.2308, allocations: 7.922 kB / 0.723 GB, free: 11.95 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2308, allocations: 4 kB / 0.723 GB, free: 11.95 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/0.2312, allocations: 199.8 kB / 0.7232 GB, free: 11.74 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.2312, allocations: 7.953 kB / 0.7232 GB, free: 11.73 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.2313, allocations: 3.984 kB / 0.7232 GB, free: 11.73 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.315e-05/0.2313, allocations: 11.88 kB / 0.7232 GB, free: 11.71 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.497e-05/0.2314, allocations: 7.984 kB / 0.7232 GB, free: 11.71 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.2314, allocations: 0 / 0.7232 GB, free: 11.71 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 8.94e-05/0.2315, allocations: 95.92 kB / 0.7233 GB, free: 11.61 MB / 0.545 GB
Notification: Performance of sort global known variables: time 9e-08/0.2315, allocations: 4 kB / 0.7233 GB, free: 11.61 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002986/0.2318, allocations: 16 kB / 0.7234 GB, free: 11.59 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.0002398/0.232, allocations: 107.5 kB / 0.7235 GB, free: 11.48 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0003525/0.2324, allocations: 71.97 kB / 0.7235 GB, free: 11.41 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2324, allocations: 0 / 0.7235 GB, free: 11.41 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.2326, allocations: 44.33 kB / 0.7236 GB, free: 11.37 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.2329, allocations: 14.28 kB / 0.7236 GB, free: 11.36 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005308/0.2334, allocations: 158.1 kB / 0.7237 GB, free: 11.17 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.2339, allocations: 0.6924 MB / 0.7244 GB, free: 10.45 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 4.906e-05/0.2339, allocations: 7.984 kB / 0.7244 GB, free: 10.45 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.234, allocations: 15.44 kB / 0.7244 GB, free: 10.43 MB / 0.545 GB
Notification: Performance of SimCode: time 8.32e-07/0.234, allocations: 3.938 kB / 0.7244 GB, free: 10.43 MB / 0.545 GB
Notification: Performance of Templates: time 0.004753/0.2387, allocations: 0.9924 MB / 0.7254 GB, free: 9.445 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.110786992125213]
Failed to read output from testmodel.py, exit status != 0:
0.24851326271891594 0.26814770200000004 0.038898874
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f80bf8d97b0>