Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.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.001271/0.001271, allocations: 113.4 kB / 19.69 MB, free: 2.199 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.001321/0.001321, allocations: 188.1 kB / 22.98 MB, free: 5.062 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.478/1.478, allocations: 225.6 MB / 251.8 MB, free: 13.01 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.9974/0.9974, allocations: 149.6 MB / 456.6 MB, free: 1.195 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.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 72.03 kB / 0.6328 GB, free: 9.016 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2277, allocations: 87.88 MB / 0.7186 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004937/0.2327, allocations: 2.639 MB / 0.7212 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002211/0.2349, allocations: 0.9157 MB / 0.7221 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004701/0.2354, allocations: 11.94 kB / 0.7221 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.2357, allocations: 63.34 kB / 0.7222 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.236, allocations: 71.39 kB / 0.7223 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007547/0.2367, allocations: 238.3 kB / 0.7225 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007654/0.2375, allocations: 459.6 kB / 0.7229 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003594/0.2379, allocations: 146.4 kB / 0.7231 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002725/0.2381, allocations: 159.4 kB / 0.7232 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.2384, allocations: 147.2 kB / 0.7233 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.154e-05/0.2385, allocations: 48 kB / 0.7234 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.41e-05/0.2386, allocations: 56 kB / 0.7234 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.967e-05/0.2387, allocations: 87.77 kB / 0.7235 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.2389, allocations: 183 kB / 0.7237 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007847/0.2396, allocations: 0.6266 MB / 0.7243 GB, free: 11.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2396, allocations: 3.984 kB / 0.7243 GB, free: 11.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2396, allocations: 0 / 0.7243 GB, free: 11.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.032e-05/0.2397, allocations: 0 / 0.7243 GB, free: 11.2 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001239/0.2409, allocations: 0.5791 MB / 0.7249 GB, free: 10.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.241, allocations: 12.03 kB / 0.7249 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.2411, allocations: 44.66 kB / 0.7249 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007098/0.2418, allocations: 338.3 kB / 0.7253 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.251e-05/0.2418, allocations: 25.03 kB / 0.7253 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.314e-05/0.2419, allocations: 24.38 kB / 0.7253 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007201/0.2426, allocations: 331.1 kB / 0.7256 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.2426, allocations: 0 / 0.7256 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.2426, allocations: 12 kB / 0.7256 GB, free: 9.785 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.2426, allocations: 7.984 kB / 0.7256 GB, free: 9.777 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005517/0.2432, allocations: 238.5 kB / 0.7259 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.245, allocations: 1.125 MB / 0.727 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/0.2456, allocations: 222.8 kB / 0.7272 GB, free: 8.133 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.2458, allocations: 96.86 kB / 0.7273 GB, free: 8.035 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.2458, allocations: 4 kB / 0.7273 GB, free: 8.031 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.2458, allocations: 38.5 kB / 0.7273 GB, free: 7.984 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.2458, allocations: 0 / 0.7273 GB, free: 7.984 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0007476/0.2466, allocations: 294.6 kB / 0.7276 GB, free: 7.691 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.2467, allocations: 89.05 kB / 0.7277 GB, free: 7.586 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003973/0.2471, allocations: 328.5 kB / 0.728 GB, free: 7.258 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.2471, allocations: 29.7 kB / 0.728 GB, free: 7.223 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.2473, allocations: 200.4 kB / 0.7282 GB, free: 7.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.486e-05/0.2473, allocations: 55.47 kB / 0.7283 GB, free: 6.965 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.368e-05/0.2474, allocations: 45.7 kB / 0.7283 GB, free: 6.914 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.2476, allocations: 334.8 kB / 0.7286 GB, free: 6.578 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.2478, allocations: 88.83 kB / 0.7287 GB, free: 6.488 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.248, allocations: 125.4 kB / 0.7288 GB, free: 6.355 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/0.2484, allocations: 188.7 kB / 0.729 GB, free: 6.164 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2484, allocations: 4 kB / 0.729 GB, free: 6.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000503/0.2489, allocations: 249.3 kB / 0.7293 GB, free: 5.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.2489, allocations: 4 kB / 0.7293 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.249, allocations: 11.98 kB / 0.7293 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.249, allocations: 0 / 0.7293 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.2492, allocations: 31.98 kB / 0.7293 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.2492, allocations: 8.062 kB / 0.7293 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.2493, allocations: 19.83 kB / 0.7293 GB, free: 5.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.2493, allocations: 11.98 kB / 0.7293 GB, free: 5.824 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002788/0.2496, allocations: 196 kB / 0.7295 GB, free: 5.629 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001654/0.2498, allocations: 103.4 kB / 0.7296 GB, free: 5.516 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003108/0.2501, allocations: 160.9 kB / 0.7298 GB, free: 5.352 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.135e-06/0.2501, allocations: 4 kB / 0.7298 GB, free: 5.348 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004/0.2505, allocations: 225.3 kB / 0.73 GB, free: 5.121 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.2505, allocations: 9.25 kB / 0.73 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-06/0.2505, allocations: 0 / 0.73 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-06/0.2505, allocations: 0 / 0.73 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.2506, allocations: 31.92 kB / 0.73 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.2506, allocations: 4.062 kB / 0.73 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.2507, allocations: 19.89 kB / 0.7301 GB, free: 5.059 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.2508, allocations: 11.88 kB / 0.7301 GB, free: 5.047 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001656/0.2509, allocations: 196.2 kB / 0.7303 GB, free: 4.848 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.043e-05/0.251, allocations: 27.81 kB / 0.7303 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.587e-05/0.2511, allocations: 39.16 kB / 0.7303 GB, free: 4.785 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.2511, allocations: 4 kB / 0.7303 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2511, allocations: 0 / 0.7303 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.2511, allocations: 3.938 kB / 0.7303 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005168/0.2516, allocations: 384.4 kB / 0.7307 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2516, allocations: 0 / 0.7307 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.2518, allocations: 27.98 kB / 0.7307 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2518, allocations: 0 / 0.7307 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.2518, allocations: 4 kB / 0.7307 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2518, allocations: 0 / 0.7307 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.2518, allocations: 3.938 kB / 0.7307 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007826/0.2526, allocations: 443.2 kB / 0.7312 GB, free: 3.875 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.2527, allocations: 51.75 kB / 0.7312 GB, free: 3.824 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.2528, allocations: 0 / 0.7312 GB, free: 3.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.2529, allocations: 15.98 kB / 0.7312 GB, free: 3.809 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.253, allocations: 15.91 kB / 0.7312 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.253, allocations: 8 kB / 0.7312 GB, free: 3.785 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002681/0.2532, allocations: 231.1 kB / 0.7315 GB, free: 3.562 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2532, allocations: 4.062 kB / 0.7315 GB, free: 3.559 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004116/0.2537, allocations: 91.72 kB / 0.7316 GB, free: 3.469 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0001575/0.2538, allocations: 108.6 kB / 0.7317 GB, free: 3.355 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006293/0.2544, allocations: 265.8 kB / 0.7319 GB, free: 3.098 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2544, allocations: 256 / 0.7319 GB, free: 3.098 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.2546, allocations: 91.97 kB / 0.732 GB, free: 3.008 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005736/0.2552, allocations: 89.22 kB / 0.7321 GB, free: 2.926 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.2565, allocations: 0.5777 MB / 0.7326 GB, free: 2.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.2569, allocations: 0.783 MB / 0.7334 GB, free: 1.512 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001431/0.2571, allocations: 22.28 kB / 0.7334 GB, free: 1.488 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/0.2571, allocations: 23.44 kB / 0.7335 GB, free: 1.465 MB / 0.545 GB Notification: Performance of SimCode: time 9.42e-07/0.2571, allocations: 0 / 0.7335 GB, free: 1.465 MB / 0.545 GB Notification: Performance of Templates: time 0.008006/0.2651, allocations: 3.297 MB / 0.7367 GB, free: 14.2 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.045259120874107] Failed to read output from testmodel.py, exit status != 0: 0.2745934668928385 0.290286096 0.047330396000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fea96f5d7b0>