Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.Utilities.Validation.PIDWithInputGains.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.001751/0.001751, allocations: 104 kB / 20.34 MB, free: 1.59 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.001973/0.001973, allocations: 188.4 kB / 23.6 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.467/1.467, 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.9599/0.9599, allocations: 149.5 MB / 457.1 MB, free: 1.305 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.Utilities.Validation.PIDWithInputGains,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.Utilities.Validation.PIDWithInputGains") translateModel(IBPSA.Controls.OBC.Utilities.Validation.PIDWithInputGains,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.Utilities.Validation.PIDWithInputGains") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 71.31 kB / 0.6331 GB, free: 9.184 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1801, allocations: 87.88 MB / 0.7189 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.Utilities.Validation.PIDWithInputGains): time 0.004371/0.1844, allocations: 2.767 MB / 0.7216 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00348/0.1879, allocations: 2.129 MB / 0.7237 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003811/0.1883, allocations: 15.94 kB / 0.7237 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003706/0.1887, allocations: 130.5 kB / 0.7239 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000338/0.189, allocations: 146.8 kB / 0.724 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.1908, allocations: 0.7885 MB / 0.7248 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001393/0.1922, allocations: 1.262 MB / 0.726 GB, free: 9.977 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006221/0.1929, allocations: 344.2 kB / 0.7263 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005408/0.1934, allocations: 494.4 kB / 0.7268 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006013/0.194, allocations: 489.9 kB / 0.7273 GB, free: 8.656 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00019/0.1942, allocations: 136 kB / 0.7274 GB, free: 8.523 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.1944, allocations: 144 kB / 0.7275 GB, free: 8.383 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.1946, allocations: 215.2 kB / 0.7277 GB, free: 8.172 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004734/0.1951, allocations: 0.4977 MB / 0.7282 GB, free: 7.672 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.1966, allocations: 1.413 MB / 0.7296 GB, free: 6.254 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1966, allocations: 0 / 0.7296 GB, free: 6.254 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.864e-06/0.1966, allocations: 0 / 0.7296 GB, free: 6.254 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.696e-05/0.1966, allocations: 0 / 0.7296 GB, free: 6.254 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002456/0.1991, allocations: 1.386 MB / 0.731 GB, free: 4.793 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.1991, allocations: 12.62 kB / 0.731 GB, free: 4.781 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000228/0.1994, allocations: 108.3 kB / 0.7311 GB, free: 4.676 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008442/0.2002, allocations: 0.5117 MB / 0.7316 GB, free: 4.141 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.241e-05/0.2003, allocations: 66.31 kB / 0.7316 GB, free: 4.074 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.2004, allocations: 88.38 kB / 0.7317 GB, free: 3.988 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.2017, allocations: 0.669 MB / 0.7324 GB, free: 3.305 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.2017, allocations: 4.188 kB / 0.7324 GB, free: 3.301 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-05/0.2017, allocations: 27.94 kB / 0.7324 GB, free: 3.273 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.2018, allocations: 16 kB / 0.7324 GB, free: 3.258 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009884/0.2028, allocations: 485 kB / 0.7329 GB, free: 2.781 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0036/0.2064, allocations: 2.122 MB / 0.735 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.2075, allocations: 0.5171 MB / 0.7355 GB, free: 80 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005256/0.208, allocations: 258.8 kB / 0.7357 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.903e-05/0.2081, allocations: 8.406 kB / 0.7357 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006689/0.2087, allocations: 376.1 kB / 0.7361 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=68): time 2.755e-06/0.2088, allocations: 0 / 0.7361 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=68): time 0.00159/0.2103, allocations: 0.7591 MB / 0.7368 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.907e-05/0.2104, allocations: 115.5 kB / 0.7369 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007022/0.2111, allocations: 0.5302 MB / 0.7374 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.2112, allocations: 49.7 kB / 0.7375 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003331/0.2116, allocations: 357 kB / 0.7378 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.2118, allocations: 214.2 kB / 0.738 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003381/0.2121, allocations: 182.2 kB / 0.7382 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.2123, allocations: 378.8 kB / 0.7386 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007827/0.2131, allocations: 347.6 kB / 0.7389 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008895/0.214, allocations: 486.8 kB / 0.7394 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.2153, allocations: 0.7456 MB / 0.7401 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.2153, allocations: 0 / 0.7401 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002211/0.2175, allocations: 1.102 MB / 0.7412 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.2176, allocations: 174.8 kB / 0.7413 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.2176, allocations: 8 kB / 0.7413 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.2177, allocations: 4 kB / 0.7413 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.2181, allocations: 107.9 kB / 0.7414 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/0.2181, allocations: 4 kB / 0.7415 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.2192, allocations: 215.2 kB / 0.7417 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.997e-05/0.2193, allocations: 47.95 kB / 0.7417 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009327/0.2202, allocations: 477.6 kB / 0.7422 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007897/0.221, allocations: 450.8 kB / 0.7426 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001077/0.2221, allocations: 0.7027 MB / 0.7433 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.515e-06/0.2221, allocations: 0 / 0.7433 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.001923/0.224, allocations: 1.063 MB / 0.7443 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.2242, allocations: 168.5 kB / 0.7445 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.2242, allocations: 8.297 kB / 0.7445 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.2242, allocations: 8.109 kB / 0.7445 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003728/0.2245, allocations: 99.77 kB / 0.7446 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.2246, allocations: 11.94 kB / 0.7446 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009863/0.2255, allocations: 187.5 kB / 0.7448 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.2256, allocations: 51.91 kB / 0.7448 GB, free: 6.027 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 (resSig.y,$PRE.resSig.y,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or2.y,greThr.y,lesThr.lesHys.y,$PRE.lesThr.lesHys.y,Td.booPul.y,$PRE.Td.booPul.y,Ti.booPul.y,$PRE.Ti.booPul.y,k.booPul.y,$PRE.k.booPul.y,PIDWitInpGai.greThrkTd.greHys.y,$PRE.PIDWitInpGai.greThrkTd.greHys.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 5 * 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.0003573/0.226, allocations: 238.1 kB / 0.7451 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.2261, allocations: 71.58 kB / 0.7451 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.2274, allocations: 0.6015 MB / 0.7457 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.2274, allocations: 3.984 kB / 0.7457 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2274, allocations: 0 / 0.7457 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.2276, allocations: 79.38 kB / 0.7458 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.295e-05/0.2276, allocations: 15.98 kB / 0.7458 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.2279, allocations: 39.97 kB / 0.7458 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.2281, allocations: 56.55 kB / 0.7459 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001378/0.2294, allocations: 0.6729 MB / 0.7466 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001697/0.2311, allocations: 1.04 MB / 0.7476 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004552/0.2316, allocations: 253.1 kB / 0.7478 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005117/0.2321, allocations: 362.9 kB / 0.7482 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of Backend: time 4.51e-07/0.2321, allocations: 0 / 0.7482 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002934/0.235, allocations: 1.567 MB / 0.7497 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of SimCode: time 0.3454/0.5805, allocations: 1.591 MB / 0.7512 GB, free: 31.93 MB / 0.5606 GB Notification: Performance of Templates: time 0.03124/0.6117, allocations: 16.14 MB / 0.767 GB, free: 28.79 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.Utilities.Validation.PIDWithInputGains.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.Utilities.Validation.PIDWithInputGains.sim & ./IBPSA_latest_IBPSA.Controls.OBC.Utilities.Validation.PIDWithInputGains -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.473499129000629] Failed to read output from testmodel.py, exit status != 0: 0.6194809360004001 0.630630543 0.431529221 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f925ded97e0>