Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.001337/0.001337, allocations: 110.1 kB / 19.58 MB, free: 2.336 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.001385/0.001385, allocations: 188.4 kB / 22.85 MB, free: 5.641 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.401/1.401, allocations: 225.6 MB / 251.5 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002423/0.002423, allocations: 293.6 kB / 307 MB, free: 8.375 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.198/1.198, allocations: 180.8 MB / 0.5304 GB, free: 14.48 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002807/0.002807, allocations: 102.3 kB / 0.7311 GB, free: 38.76 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.204, allocations: 94.21 MB / 0.8231 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002788/0.2068, allocations: 1.274 MB / 0.8243 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003435/0.2072, allocations: 127.5 kB / 0.8245 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.2072, allocations: 0 / 0.8245 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.2072, allocations: 3.938 kB / 0.8245 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.529e-05/0.2073, allocations: 0 / 0.8245 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.2075, allocations: 39.83 kB / 0.8245 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.408e-05/0.2076, allocations: 11.92 kB / 0.8245 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.918e-05/0.2077, allocations: 8 kB / 0.8245 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.476e-05/0.2077, allocations: 8 kB / 0.8245 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.84e-05/0.2078, allocations: 7.922 kB / 0.8245 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.2078, allocations: 0 / 0.8245 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.2079, allocations: 55.94 kB / 0.8246 GB, free: 488 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.2079, allocations: 0 / 0.8246 GB, free: 488 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.2079, allocations: 3.938 kB / 0.8246 GB, free: 484 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.2081, allocations: 43.88 kB / 0.8246 GB, free: 440 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2081, allocations: 0 / 0.8246 GB, free: 440 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2081, allocations: 0 / 0.8246 GB, free: 440 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.2081, allocations: 3.938 kB / 0.8246 GB, free: 436 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004264/0.2085, allocations: 264.1 kB / 0.8249 GB, free: 144 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2085, allocations: 8.031 kB / 0.8249 GB, free: 136 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.2086, allocations: 0.9375 kB / 0.8249 GB, free: 136 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.2087, allocations: 106.5 kB / 0.825 GB, free: 4 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.2087, allocations: 4.375 kB / 0.825 GB, free: 0 / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.2087, allocations: 384 / 0.825 GB, free: 0 / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.684e-05/0.2088, allocations: 41.56 kB / 0.825 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2088, allocations: 0 / 0.825 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.2088, allocations: 4 kB / 0.825 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.2088, allocations: 4 kB / 0.8251 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.132e-05/0.2089, allocations: 0 / 0.8251 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.209, allocations: 124.8 kB / 0.8252 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.707e-05/0.2091, allocations: 26.61 kB / 0.8252 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/0.2091, allocations: 4.859 kB / 0.8252 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004684/0.2096, allocations: 91.86 kB / 0.8253 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.2096, allocations: 42.48 kB / 0.8253 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.2096, allocations: 0 / 0.8253 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001517/0.2098, allocations: 37.66 kB / 0.8254 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.2098, allocations: 55.41 kB / 0.8254 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.575e-05/0.2099, allocations: 101.8 kB / 0.8255 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.2099, allocations: 25.7 kB / 0.8255 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/0.21, allocations: 84.27 kB / 0.8256 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.21, allocations: 3.953 kB / 0.8256 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.21, allocations: 17.72 kB / 0.8256 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2102, allocations: 310.8 kB / 0.8259 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.2102, allocations: 4 kB / 0.8259 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.868e-06/0.2102, allocations: 3.984 kB / 0.8259 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.715e-05/0.2102, allocations: 16.8 kB / 0.826 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2102, allocations: 4 kB / 0.826 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.322e-05/0.2103, allocations: 41.89 kB / 0.826 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2103, allocations: 4 kB / 0.826 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2103, allocations: 0 / 0.826 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.2104, allocations: 3.984 kB / 0.826 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.101e-05/0.2104, allocations: 4 kB / 0.826 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.2104, allocations: 0 / 0.826 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.328e-05/0.2104, allocations: 7.984 kB / 0.826 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.2104, allocations: 4 kB / 0.826 GB, free: 14.82 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001193/0.2106, allocations: 110.5 kB / 0.8261 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-06/0.2106, allocations: 3.938 kB / 0.8261 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.2107, allocations: 48.94 kB / 0.8262 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2107, allocations: 0 / 0.8262 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2107, allocations: 7.938 kB / 0.8262 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2107, allocations: 0 / 0.8262 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.2108, allocations: 124.8 kB / 0.8263 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.2108, allocations: 3.938 kB / 0.8263 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/0.2108, allocations: 4 kB / 0.8263 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2109, allocations: 4 kB / 0.8263 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.2109, allocations: 4.031 kB / 0.8263 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2109, allocations: 0 / 0.8263 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2109, allocations: 3.938 kB / 0.8263 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.755e-05/0.2109, allocations: 65.06 kB / 0.8264 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.211, allocations: 11.89 kB / 0.8264 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.211, allocations: 0 / 0.8264 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.568e-05/0.211, allocations: 0 / 0.8264 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.211, allocations: 0 / 0.8264 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.211, allocations: 8.031 kB / 0.8264 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.688e-05/0.2111, allocations: 75.28 kB / 0.8265 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2111, allocations: 0 / 0.8265 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001996/0.2113, allocations: 23.92 kB / 0.8265 GB, free: 14.25 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001769/0.2115, allocations: 107.2 kB / 0.8266 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.742e-05/0.2116, allocations: 11.98 kB / 0.8266 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2116, allocations: 0 / 0.8266 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.301e-05/0.2116, allocations: 12 kB / 0.8266 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.2118, allocations: 13.34 kB / 0.8266 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002795/0.2121, allocations: 102.3 kB / 0.8267 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.2124, allocations: 0.6768 MB / 0.8274 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.362e-05/0.2125, allocations: 4 kB / 0.8274 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.977e-05/0.2125, allocations: 11.5 kB / 0.8274 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.2125, allocations: 0 / 0.8274 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of Templates: time 0.003103/0.2156, allocations: 0.6035 MB / 0.828 GB, free: 12.66 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.189289488829672] Failed to read output from testmodel.py, exit status != 0: 0.22333214804530144 0.23986881099999996 0.028528478000000003 Calling exit ...