Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008669/0.0008669, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008323/0.0008323, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8503/0.8503, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001445/0.001445, allocations: 229.3 kB / 260.2 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6578/0.6578, allocations: 138.4 MB / 455.1 MB, free: 30.05 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 0.6475 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.373e-05, allocations: 6.281 kB / 0.6475 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001682/0.001705, allocations: 1.306 MB / 0.6488 GB, free: 56 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.218/0.2197, allocations: 261.7 kB / 0.6491 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.944e-05/0.2198, allocations: 2.406 kB / 0.6491 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.741e-05/0.2198, allocations: 0 / 0.6491 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.504e-05/0.2199, allocations: 17.5 kB / 0.6491 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.2201, allocations: 75.16 kB / 0.6491 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.529e-05/0.2202, allocations: 37.98 kB / 0.6492 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.073e-05/0.2202, allocations: 5.109 kB / 0.6492 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.2203, allocations: 35.84 kB / 0.6492 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.439e-05/0.2203, allocations: 12.55 kB / 0.6492 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.2203, allocations: 0.5312 kB / 0.6492 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.2205, allocations: 77.69 kB / 0.6493 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.2205, allocations: 4.375 kB / 0.6493 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.646e-05/0.2205, allocations: 12.06 kB / 0.6493 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.2206, allocations: 88.92 kB / 0.6494 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.2206, allocations: 0.6562 kB / 0.6494 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2206, allocations: 0 / 0.6494 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.2206, allocations: 3.422 kB / 0.6494 GB, free: 56.36 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002475/0.2209, allocations: 278.7 kB / 0.6497 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.2209, allocations: 10.94 kB / 0.6497 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.2209, allocations: 7.844 kB / 0.6497 GB, free: 56.08 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.615e-05/0.221, allocations: 110.3 kB / 0.6498 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.221, allocations: 2.219 kB / 0.6498 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.685e-06/0.221, allocations: 2.531 kB / 0.6498 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.118e-05/0.2211, allocations: 68.75 kB / 0.6499 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2211, allocations: 0 / 0.6499 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.2211, allocations: 8.734 kB / 0.6499 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.2211, allocations: 0.75 kB / 0.6499 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.985e-05/0.2211, allocations: 9.938 kB / 0.6499 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.198e-05/0.2212, allocations: 111.4 kB / 0.65 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.117e-05/0.2213, allocations: 32.7 kB / 0.65 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.509e-05/0.2213, allocations: 11.36 kB / 0.65 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003837/0.2217, allocations: 148.3 kB / 0.6502 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.2217, allocations: 33.86 kB / 0.6502 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2217, allocations: 3.094 kB / 0.6502 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0001231/0.2218, allocations: 54.92 kB / 0.6503 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.541e-05/0.2218, allocations: 52.41 kB / 0.6503 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.985e-05/0.2219, allocations: 110.1 kB / 0.6504 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.691e-06/0.2219, allocations: 25.7 kB / 0.6504 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.165e-05/0.2219, allocations: 82.25 kB / 0.6505 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.2219, allocations: 14.7 kB / 0.6505 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.2219, allocations: 20.38 kB / 0.6506 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.77e-05/0.222, allocations: 313.6 kB / 0.6509 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.14e-05/0.222, allocations: 5.469 kB / 0.6509 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.147e-06/0.222, allocations: 8.188 kB / 0.6509 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.711e-05/0.222, allocations: 19.73 kB / 0.6509 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.222, allocations: 0 / 0.6509 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.105e-05/0.2221, allocations: 44.38 kB / 0.6509 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.2221, allocations: 5.375 kB / 0.6509 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2221, allocations: 1.875 kB / 0.6509 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.2221, allocations: 4.781 kB / 0.6509 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.788e-05/0.2221, allocations: 6.797 kB / 0.6509 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.2221, allocations: 1.875 kB / 0.6509 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.011e-05/0.2221, allocations: 3.125 kB / 0.651 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.2221, allocations: 1.453 kB / 0.651 GB, free: 54.99 MB / 0.5573 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 (3): * Single equations (assignments): 3 * 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 3.304e-05/0.2222, allocations: 115.7 kB / 0.6511 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-06/0.2222, allocations: 2.25 kB / 0.6511 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.546e-05/0.2223, allocations: 60.06 kB / 0.6511 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2223, allocations: 4.781 kB / 0.6511 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.2223, allocations: 2.156 kB / 0.6511 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2223, allocations: 1.188 kB / 0.6511 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.377e-05/0.2223, allocations: 112.2 kB / 0.6512 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2223, allocations: 0.9688 kB / 0.6512 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.308e-05/0.2223, allocations: 6.625 kB / 0.6512 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2223, allocations: 0.875 kB / 0.6512 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.2223, allocations: 5.562 kB / 0.6513 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.2223, allocations: 4.5 kB / 0.6513 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2223, allocations: 4.719 kB / 0.6513 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.843e-05/0.2224, allocations: 71.56 kB / 0.6513 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/0.2224, allocations: 10.08 kB / 0.6513 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.355e-06/0.2224, allocations: 4.922 kB / 0.6513 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.667e-05/0.2225, allocations: 3.109 kB / 0.6513 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.2225, allocations: 7.172 kB / 0.6514 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.2225, allocations: 6.375 kB / 0.6514 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.013e-05/0.2225, allocations: 87.39 kB / 0.6514 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2225, allocations: 0 / 0.6514 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001378/0.2226, allocations: 30.08 kB / 0.6515 GB, free: 54.54 MB / 0.5573 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 (3): * Single equations (assignments): 3 * 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.0001383/0.2228, allocations: 130.8 kB / 0.6516 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.851e-05/0.2228, allocations: 17.97 kB / 0.6516 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.2228, allocations: 0 / 0.6516 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.051e-05/0.2228, allocations: 8.266 kB / 0.6516 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.223, allocations: 7.641 kB / 0.6516 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001834/0.2232, allocations: 144.4 kB / 0.6518 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.577e-05/0.2232, allocations: 64.03 kB / 0.6518 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.522e-05/0.2232, allocations: 15.56 kB / 0.6518 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of SimCode: time 4.61e-07/0.2232, allocations: 0.7188 kB / 0.6518 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of Templates: time 0.001617/0.2248, allocations: 0.7493 MB / 0.6526 GB, free: 54.19 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.122062903828919] Failed to read output from testmodel.py, exit status != 0: 0.22999794967472553 0.23655376400000003 0.014191750000000001 Calling exit ...