Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.001909/0.001909, allocations: 114.4 kB / 19.59 MB, free: 2.281 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.002236/0.002236, allocations: 194.3 kB / 22.85 MB, free: 5.668 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.486/1.486, allocations: 225.6 MB / 251.5 MB, free: 13.05 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.9825/0.9825, allocations: 149.5 MB / 456.3 MB, free: 1.281 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.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime")
translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00312/0.00312, allocations: 71.94 kB / 0.6324 GB, free: 9.125 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2355, allocations: 87.87 MB / 0.7182 GB, free: 1.176 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002265/0.2377, allocations: 0.6565 MB / 0.7189 GB, free: 0.5234 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001868/0.2396, allocations: 1.167 MB / 0.72 GB, free: 15.34 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.947e-05/0.2397, allocations: 3.938 kB / 0.72 GB, free: 15.34 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 3.766e-05/0.2397, allocations: 3.938 kB / 0.72 GB, free: 15.34 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 9.243e-05/0.2398, allocations: 11.86 kB / 0.72 GB, free: 15.32 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006578/0.2405, allocations: 150.7 kB / 0.7202 GB, free: 15.18 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0002555/0.2407, allocations: 139.8 kB / 0.7203 GB, free: 15.04 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.2408, allocations: 7.984 kB / 0.7203 GB, free: 15.04 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.241, allocations: 59.89 kB / 0.7204 GB, free: 14.98 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.2411, allocations: 51.86 kB / 0.7204 GB, free: 14.93 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.2411, allocations: 16 kB / 0.7204 GB, free: 14.91 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.633e-05/0.2412, allocations: 24 kB / 0.7204 GB, free: 14.89 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 3.994e-05/0.2413, allocations: 27.84 kB / 0.7205 GB, free: 14.86 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 9.119e-05/0.2414, allocations: 51.84 kB / 0.7205 GB, free: 14.81 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.2416, allocations: 127.6 kB / 0.7206 GB, free: 14.68 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2416, allocations: 4 kB / 0.7206 GB, free: 14.68 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.803e-06/0.2416, allocations: 0 / 0.7206 GB, free: 14.68 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 6.653e-06/0.2416, allocations: 0 / 0.7206 GB, free: 14.68 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.0007394/0.2423, allocations: 345.9 kB / 0.721 GB, free: 14.3 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.2424, allocations: 8.625 kB / 0.721 GB, free: 14.3 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.608e-05/0.2425, allocations: 12.89 kB / 0.721 GB, free: 14.29 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.2429, allocations: 154.5 kB / 0.7211 GB, free: 14.11 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.2429, allocations: 8.375 kB / 0.7212 GB, free: 14.1 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/0.243, allocations: 16.38 kB / 0.7212 GB, free: 14.09 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.2432, allocations: 86.12 kB / 0.7212 GB, free: 14 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.2432, allocations: 3.938 kB / 0.7213 GB, free: 13.99 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.2432, allocations: 0 / 0.7213 GB, free: 13.99 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.2432, allocations: 0 / 0.7213 GB, free: 13.99 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.2433, allocations: 39.97 kB / 0.7213 GB, free: 13.95 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007496/0.2441, allocations: 339.6 kB / 0.7216 GB, free: 13.58 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.2443, allocations: 74.55 kB / 0.7217 GB, free: 13.5 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.541e-05/0.2443, allocations: 28.84 kB / 0.7217 GB, free: 13.46 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.2444, allocations: 4 kB / 0.7217 GB, free: 13.46 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002564/0.2446, allocations: 131.3 kB / 0.7218 GB, free: 13.32 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=13): time 2.414e-06/0.2446, allocations: 96 / 0.7218 GB, free: 13.32 MB / 0.545 GB
Notification: Performance of matching and sorting (n=13): time 0.0004549/0.2451, allocations: 204.7 kB / 0.722 GB, free: 13.12 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.2451, allocations: 55.41 kB / 0.7221 GB, free: 13.05 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.2453, allocations: 113.8 kB / 0.7222 GB, free: 12.93 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.2453, allocations: 33.7 kB / 0.7222 GB, free: 12.89 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 7.567e-05/0.2454, allocations: 88.3 kB / 0.7223 GB, free: 12.8 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.2454, allocations: 35.72 kB / 0.7223 GB, free: 12.77 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.2455, allocations: 53.69 kB / 0.7224 GB, free: 12.71 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001497/0.2457, allocations: 322.8 kB / 0.7227 GB, free: 12.38 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.2458, allocations: 47.97 kB / 0.7228 GB, free: 12.34 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.246, allocations: 84.2 kB / 0.7228 GB, free: 12.24 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.2462, allocations: 137.9 kB / 0.723 GB, free: 12.08 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.2462, allocations: 3.984 kB / 0.723 GB, free: 12.08 MB / 0.545 GB
Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003867/0.2466, allocations: 211.2 kB / 0.7232 GB, free: 11.86 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 4.86e-05/0.2466, allocations: 33.7 kB / 0.7232 GB, free: 11.82 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.2466, allocations: 3.938 kB / 0.7232 GB, free: 11.82 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.2466, allocations: 4 kB / 0.7232 GB, free: 11.81 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.109e-05/0.2467, allocations: 20.05 kB / 0.7232 GB, free: 11.79 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.2467, allocations: 0 / 0.7232 GB, free: 11.79 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.247, allocations: 39.92 kB / 0.7233 GB, free: 11.75 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.247, allocations: 8 kB / 0.7233 GB, free: 11.75 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: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (18):
 * Single equations (assignments): 17
 * 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.0001424/0.2471, allocations: 137.6 kB / 0.7234 GB, free: 11.6 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.2471, allocations: 7.953 kB / 0.7234 GB, free: 11.59 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.461e-05/0.2472, allocations: 20.42 kB / 0.7234 GB, free: 11.57 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2472, allocations: 0 / 0.7234 GB, free: 11.57 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2472, allocations: 0 / 0.7234 GB, free: 11.57 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.2472, allocations: 3.984 kB / 0.7234 GB, free: 11.57 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/0.2477, allocations: 409.5 kB / 0.7238 GB, free: 11.12 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2477, allocations: 4 kB / 0.7238 GB, free: 11.12 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.361e-05/0.2477, allocations: 4 kB / 0.7238 GB, free: 11.11 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2477, allocations: 0 / 0.7238 GB, free: 11.11 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.2478, allocations: 4 kB / 0.7238 GB, free: 11.11 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.2478, allocations: 3.984 kB / 0.7238 GB, free: 11.11 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.2478, allocations: 8 kB / 0.7239 GB, free: 11.1 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.2481, allocations: 266.5 kB / 0.7241 GB, free: 10.82 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.451e-05/0.2481, allocations: 3.953 kB / 0.7241 GB, free: 10.82 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.2481, allocations: 11.98 kB / 0.7241 GB, free: 10.81 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.874e-05/0.2482, allocations: 4 kB / 0.7241 GB, free: 10.8 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.2483, allocations: 15.97 kB / 0.7241 GB, free: 10.79 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.2483, allocations: 15.86 kB / 0.7242 GB, free: 10.77 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 5.816e-05/0.2483, allocations: 95.58 kB / 0.7242 GB, free: 10.68 MB / 0.545 GB
Notification: Performance of sort global known variables: time 9.1e-08/0.2483, allocations: 0 / 0.7242 GB, free: 10.68 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002887/0.2486, allocations: 35.98 kB / 0.7243 GB, free: 10.64 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: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y)
 * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (13):
 * Single equations (assignments): 8
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 5
 * 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.0001943/0.2488, allocations: 112.4 kB / 0.7244 GB, free: 10.53 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0003415/0.2492, allocations: 167.3 kB / 0.7245 GB, free: 10.35 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2492, allocations: 4 kB / 0.7245 GB, free: 10.35 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.000107/0.2493, allocations: 52.16 kB / 0.7246 GB, free: 10.3 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.2496, allocations: 26.11 kB / 0.7246 GB, free: 10.27 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00046/0.25, allocations: 190.6 kB / 0.7248 GB, free: 10.06 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.2504, allocations: 0.6924 MB / 0.7255 GB, free: 9.34 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 4.702e-05/0.2504, allocations: 12.48 kB / 0.7255 GB, free: 9.328 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.2505, allocations: 19.38 kB / 0.7255 GB, free: 9.309 MB / 0.545 GB
Notification: Performance of SimCode: time 8.71e-07/0.2505, allocations: 0 / 0.7255 GB, free: 9.309 MB / 0.545 GB
Notification: Performance of Templates: time 0.00529/0.2558, allocations: 1.698 MB / 0.7272 GB, free: 7.621 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.960294690914452]
Failed to read output from testmodel.py, exit status != 0:
0.2675229636952281 0.28184320300000004 0.036753201
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f88c47e97b0>