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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007233/0.007233, allocations: 95.81 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 202.7 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002158/0.002158, allocations: 278.8 kB / 290.8 MB, free: 1.762 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.062/1.062, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 87.86 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2137, allocations: 86.97 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002437/0.2162, allocations: 1.299 MB / 0.7676 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005903/0.2168, allocations: 299 kB / 0.7679 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.2169, allocations: 3.938 kB / 0.7679 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.2169, allocations: 0 / 0.7679 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.217, allocations: 15.89 kB / 0.7679 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.2173, allocations: 71.73 kB / 0.768 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.978e-05/0.2174, allocations: 35.84 kB / 0.7681 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.966e-05/0.2175, allocations: 4 kB / 0.7681 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.184e-05/0.2176, allocations: 27.92 kB / 0.7681 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.739e-05/0.2177, allocations: 15.91 kB / 0.7681 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.2177, allocations: 4 kB / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.2179, allocations: 87.91 kB / 0.7682 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.2179, allocations: 0 / 0.7682 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.2179, allocations: 15.88 kB / 0.7682 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.2181, allocations: 79.72 kB / 0.7683 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2181, allocations: 0 / 0.7683 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.744e-06/0.2181, allocations: 0 / 0.7683 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2181, allocations: 0 / 0.7683 GB, free: 6.469 MB / 0.5606 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.0004374/0.2186, allocations: 359.2 kB / 0.7686 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.2186, allocations: 8.031 kB / 0.7686 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.2187, allocations: 4.938 kB / 0.7686 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.2188, allocations: 168.3 kB / 0.7688 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.2188, allocations: 8.375 kB / 0.7688 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.2188, allocations: 384 / 0.7688 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.2189, allocations: 45.61 kB / 0.7688 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.219, allocations: 0 / 0.7688 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.219, allocations: 0 / 0.7688 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.219, allocations: 4 kB / 0.7688 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.965e-05/0.219, allocations: 4 kB / 0.7688 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.2192, allocations: 165.6 kB / 0.769 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.983e-05/0.2193, allocations: 38.52 kB / 0.769 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.286e-05/0.2194, allocations: 12.92 kB / 0.7691 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/0.2205, allocations: 1.183 MB / 0.7702 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.2205, allocations: 34.56 kB / 0.7702 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2205, allocations: 3.938 kB / 0.7702 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0001687/0.2207, allocations: 49.69 kB / 0.7703 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.2207, allocations: 55.34 kB / 0.7703 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.553e-05/0.2208, allocations: 109.8 kB / 0.7705 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.2208, allocations: 25.7 kB / 0.7705 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.2209, allocations: 88.08 kB / 0.7706 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.2209, allocations: 11.89 kB / 0.7706 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.2209, allocations: 17.72 kB / 0.7706 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2211, allocations: 318.8 kB / 0.7709 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.2211, allocations: 0 / 0.7709 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.488e-05/0.2211, allocations: 7.984 kB / 0.7709 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.703e-05/0.2212, allocations: 16.86 kB / 0.7709 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2212, allocations: 0 / 0.7709 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.609e-05/0.2212, allocations: 53.56 kB / 0.771 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2213, allocations: 5.875 kB / 0.771 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2213, allocations: 4 kB / 0.771 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.2213, allocations: 8 kB / 0.771 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.525e-05/0.2213, allocations: 4 kB / 0.771 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2214, allocations: 0 / 0.771 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.631e-05/0.2214, allocations: 0 / 0.771 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.2214, allocations: 0 / 0.771 GB, free: 3.207 MB / 0.5606 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 9.983e-05/0.2215, allocations: 110.5 kB / 0.7711 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.2215, allocations: 7.891 kB / 0.7711 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.2216, allocations: 65.91 kB / 0.7712 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2217, allocations: 0 / 0.7712 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.2217, allocations: 0 / 0.7712 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2217, allocations: 7.969 kB / 0.7712 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.2218, allocations: 161.7 kB / 0.7713 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.2218, allocations: 3.938 kB / 0.7713 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.487e-05/0.2218, allocations: 4 kB / 0.7713 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2218, allocations: 0 / 0.7713 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.2219, allocations: 4 kB / 0.7713 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2219, allocations: 3.984 kB / 0.7713 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2219, allocations: 4 kB / 0.7713 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.66e-05/0.222, allocations: 73.08 kB / 0.7714 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.222, allocations: 85.05 kB / 0.7715 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.2221, allocations: 0 / 0.7715 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.441e-05/0.2221, allocations: 0 / 0.7715 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.2221, allocations: 7.984 kB / 0.7715 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.2221, allocations: 0 / 0.7715 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.696e-05/0.2222, allocations: 91.28 kB / 0.7716 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.804e-06/0.2222, allocations: 3.938 kB / 0.7716 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002111/0.2224, allocations: 39.73 kB / 0.7716 GB, free: 2.441 MB / 0.5606 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.0001986/0.2226, allocations: 127.1 kB / 0.7718 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.187e-05/0.2227, allocations: 12 kB / 0.7718 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2227, allocations: 0 / 0.7718 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.93e-05/0.2227, allocations: 11.98 kB / 0.7718 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.223, allocations: 7.938 kB / 0.7718 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/0.2232, allocations: 122 kB / 0.7719 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.2235, allocations: 0.6807 MB / 0.7726 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.896e-05/0.2236, allocations: 8.531 kB / 0.7726 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.2236, allocations: 11.44 kB / 0.7726 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.2236, allocations: 0 / 0.7726 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of Templates: time 0.003033/0.2266, allocations: 0.7919 MB / 0.7734 GB, free: 0.6172 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (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)