Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.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.001454/0.001454, allocations: 113.2 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.00153/0.00153, allocations: 190.9 kB / 22.85 MB, free: 5.664 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.568/1.568, allocations: 225.6 MB / 251.5 MB, free: 13.07 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.9916/0.9916, allocations: 149.5 MB / 456.3 MB, free: 1.324 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.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.23 kB / 0.6324 GB, free: 9.152 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.229, allocations: 87.87 MB / 0.7182 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002418/0.2315, allocations: 0.7579 MB / 0.719 GB, free: 460 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002285/0.2338, allocations: 1.26 MB / 0.7202 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.2339, allocations: 0 / 0.7202 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.681e-05/0.2339, allocations: 15.86 kB / 0.7202 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.234, allocations: 11.81 kB / 0.7202 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.2351, allocations: 257.4 kB / 0.7205 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004362/0.2355, allocations: 247.6 kB / 0.7207 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.2357, allocations: 49.02 kB / 0.7207 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.2359, allocations: 107.8 kB / 0.7208 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/0.2362, allocations: 103.7 kB / 0.7209 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.569e-05/0.2362, allocations: 24 kB / 0.721 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.2363, allocations: 35.98 kB / 0.721 GB, free: 14.35 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.936e-05/0.2364, allocations: 43.83 kB / 0.721 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.2366, allocations: 99.62 kB / 0.7211 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.237, allocations: 243.2 kB / 0.7214 GB, free: 13.97 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.237, allocations: 0 / 0.7214 GB, free: 13.97 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.472e-06/0.237, allocations: 0 / 0.7214 GB, free: 13.97 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.237, allocations: 0 / 0.7214 GB, free: 13.97 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008386/0.2379, allocations: 429.2 kB / 0.7218 GB, free: 13.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.2379, allocations: 8.625 kB / 0.7218 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.671e-05/0.238, allocations: 20.84 kB / 0.7218 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006085/0.2386, allocations: 174.5 kB / 0.722 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.2386, allocations: 16.36 kB / 0.722 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/0.2387, allocations: 20.38 kB / 0.722 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.2389, allocations: 129.5 kB / 0.7221 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.239, allocations: 11.88 kB / 0.7221 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.239, allocations: 11.98 kB / 0.7222 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.239, allocations: 0 / 0.7222 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.2391, allocations: 71.89 kB / 0.7222 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006944/0.2398, allocations: 423.3 kB / 0.7226 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.24, allocations: 82.53 kB / 0.7227 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.748e-05/0.2401, allocations: 40.83 kB / 0.7227 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.2401, allocations: 0 / 0.7227 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/0.2404, allocations: 140.7 kB / 0.7229 GB, free: 12.29 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.2404, allocations: 0 / 0.7229 GB, free: 12.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0005/0.2409, allocations: 241.5 kB / 0.7231 GB, free: 12.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.2409, allocations: 59.41 kB / 0.7232 GB, free: 11.97 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.2411, allocations: 141.2 kB / 0.7233 GB, free: 11.83 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.2411, allocations: 33.64 kB / 0.7233 GB, free: 11.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.2412, allocations: 112.5 kB / 0.7234 GB, free: 11.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.2413, allocations: 39.72 kB / 0.7235 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.2414, allocations: 65.69 kB / 0.7235 GB, free: 11.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.2416, allocations: 326.8 kB / 0.7239 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.2417, allocations: 59.95 kB / 0.7239 GB, free: 11.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.2419, allocations: 136.4 kB / 0.724 GB, free: 11.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005105/0.2425, allocations: 217.9 kB / 0.7242 GB, free: 10.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.2425, allocations: 0 / 0.7242 GB, free: 10.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000576/0.243, allocations: 312.8 kB / 0.7245 GB, free: 10.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.517e-05/0.2431, allocations: 73.73 kB / 0.7246 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2431, allocations: 0 / 0.7246 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.2431, allocations: 4 kB / 0.7246 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.418e-05/0.2432, allocations: 7.938 kB / 0.7246 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.2432, allocations: 7.984 kB / 0.7246 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003737/0.2436, allocations: 59.83 kB / 0.7247 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.2436, allocations: 20.03 kB / 0.7247 GB, free: 10.27 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 2 * 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.0001738/0.2438, allocations: 138.4 kB / 0.7248 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.2438, allocations: 15.84 kB / 0.7249 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.514e-05/0.2439, allocations: 12.78 kB / 0.7249 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2439, allocations: 4 kB / 0.7249 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.2439, allocations: 0 / 0.7249 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.2439, allocations: 3.984 kB / 0.7249 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006167/0.2445, allocations: 465.4 kB / 0.7253 GB, free: 9.582 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.2445, allocations: 0 / 0.7253 GB, free: 9.582 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.2445, allocations: 7.984 kB / 0.7253 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2445, allocations: 0 / 0.7253 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.2445, allocations: 4 kB / 0.7253 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2445, allocations: 0 / 0.7253 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2445, allocations: 0 / 0.7253 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000357/0.2449, allocations: 298.6 kB / 0.7256 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.176e-05/0.2449, allocations: 19.89 kB / 0.7256 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.2449, allocations: 8 kB / 0.7256 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.304e-05/0.245, allocations: 4 kB / 0.7256 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.2451, allocations: 15.97 kB / 0.7257 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.735e-05/0.2451, allocations: 11.98 kB / 0.7257 GB, free: 9.207 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.497e-05/0.2452, allocations: 95.27 kB / 0.7258 GB, free: 9.113 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2452, allocations: 0 / 0.7258 GB, free: 9.113 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003397/0.2455, allocations: 43.94 kB / 0.7258 GB, free: 9.07 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: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001968/0.2457, allocations: 115.2 kB / 0.7259 GB, free: 8.949 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004645/0.2462, allocations: 266.5 kB / 0.7262 GB, free: 8.664 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2462, allocations: 0 / 0.7262 GB, free: 8.664 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.2463, allocations: 59.89 kB / 0.7262 GB, free: 8.605 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.2466, allocations: 32.41 kB / 0.7263 GB, free: 8.574 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005799/0.2472, allocations: 263.6 kB / 0.7265 GB, free: 8.289 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.2476, allocations: 0.7046 MB / 0.7272 GB, free: 7.559 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.39e-05/0.2477, allocations: 13.08 kB / 0.7272 GB, free: 7.547 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.2477, allocations: 19.44 kB / 0.7272 GB, free: 7.527 MB / 0.545 GB Notification: Performance of SimCode: time 6.71e-07/0.2477, allocations: 0 / 0.7272 GB, free: 7.527 MB / 0.545 GB Notification: Performance of Templates: time 0.006654/0.2543, allocations: 2.214 MB / 0.7294 GB, free: 5.332 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.158619607798755] Failed to read output from testmodel.py, exit status != 0: 0.2650856217369437 0.28764401100000003 0.045717591 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f1b42bdd7b0>