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: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001169/0.001169, allocations: 189.4 kB / 16.25 MB, free: 6.641 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.29/1.29, allocations: 222.9 MB / 239.9 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002167/0.002167, allocations: 287.1 kB / 290.4 MB, free: 2.043 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.003/1.003, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 92.69 kB / 0.5948 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1657, allocations: 86.98 MB / 0.6797 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00247/0.1682, allocations: 1.34 MB / 0.681 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005366/0.1688, allocations: 313.3 kB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.981e-05/0.1688, allocations: 7.938 kB / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.1689, allocations: 0 / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.632e-05/0.169, allocations: 8.703 kB / 0.6814 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.1693, allocations: 65.52 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.606e-05/0.1694, allocations: 31.92 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.409e-05/0.1694, allocations: 8.812 kB / 0.6815 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.059e-05/0.1695, allocations: 25.69 kB / 0.6815 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.253e-05/0.1696, allocations: 7.938 kB / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.1696, allocations: 4.844 kB / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.1697, allocations: 92.36 kB / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.1698, allocations: 3.938 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.752e-05/0.1698, allocations: 15.94 kB / 0.6816 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.1699, allocations: 76.06 kB / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.17, allocations: 0 / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.17, allocations: 0 / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.17, allocations: 0 / 0.6817 GB, free: 14.95 MB / 494.1 MB 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.0004331/0.1704, allocations: 351.4 kB / 0.682 GB, free: 14.56 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.1705, allocations: 8.031 kB / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.287e-05/0.1705, allocations: 34.73 kB / 0.682 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.1706, allocations: 8.844 kB / 0.6821 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.1707, allocations: 172.3 kB / 0.6822 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1708, allocations: 4.375 kB / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-06/0.1708, allocations: 384 / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.1709, allocations: 41.61 kB / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1709, allocations: 0 / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1709, allocations: 4 kB / 0.6823 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.171, allocations: 0 / 0.6823 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.789e-05/0.171, allocations: 11.94 kB / 0.6823 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002267/0.1712, allocations: 161.7 kB / 0.6824 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.1713, allocations: 34.58 kB / 0.6825 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.109e-05/0.1714, allocations: 12.92 kB / 0.6825 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/0.1727, allocations: 1.183 MB / 0.6836 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.1728, allocations: 42.5 kB / 0.6837 GB, free: 12.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.1728, allocations: 0 / 0.6837 GB, free: 12.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001942/0.173, allocations: 53.53 kB / 0.6837 GB, free: 12.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.173, allocations: 55.41 kB / 0.6838 GB, free: 12.35 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.1731, allocations: 113.8 kB / 0.6839 GB, free: 12.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.1732, allocations: 25.7 kB / 0.6839 GB, free: 12.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.1732, allocations: 80.14 kB / 0.684 GB, free: 12.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.1733, allocations: 15.89 kB / 0.684 GB, free: 12.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/0.1733, allocations: 13.72 kB / 0.684 GB, free: 12.08 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1735, allocations: 314.8 kB / 0.6843 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.216e-05/0.1735, allocations: 7.938 kB / 0.6843 GB, free: 11.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.597e-05/0.1735, allocations: 7.984 kB / 0.6843 GB, free: 11.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.658e-05/0.1736, allocations: 20.8 kB / 0.6844 GB, free: 11.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1736, allocations: 0 / 0.6844 GB, free: 11.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.032e-05/0.1737, allocations: 53.53 kB / 0.6844 GB, free: 11.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1737, allocations: 5.875 kB / 0.6844 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1737, allocations: 8 kB / 0.6844 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1737, allocations: 0 / 0.6844 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.265e-05/0.1738, allocations: 4 kB / 0.6844 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.1738, allocations: 4 kB / 0.6844 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.05e-05/0.1738, allocations: 0 / 0.6844 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1738, allocations: 4 kB / 0.6844 GB, free: 11.64 MB / 494.1 MB 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 8.268e-05/0.1739, allocations: 107.2 kB / 0.6845 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.174, allocations: 7.938 kB / 0.6845 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.1741, allocations: 65.84 kB / 0.6846 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1741, allocations: 0 / 0.6846 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1741, allocations: 0 / 0.6846 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1741, allocations: 4.047 kB / 0.6846 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.1743, allocations: 157.7 kB / 0.6848 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1743, allocations: 3.938 kB / 0.6848 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.012e-05/0.1743, allocations: 4 kB / 0.6848 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.1743, allocations: 4 kB / 0.6848 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.1744, allocations: 7.984 kB / 0.6848 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1744, allocations: 0 / 0.6848 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.1744, allocations: 0 / 0.6848 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.1745, allocations: 80.91 kB / 0.6849 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.205e-05/0.1746, allocations: 85.05 kB / 0.6849 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.1746, allocations: 0 / 0.6849 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.688e-05/0.1746, allocations: 4 kB / 0.6849 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.701e-05/0.1747, allocations: 3.984 kB / 0.6849 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.1747, allocations: 4 kB / 0.6849 GB, free: 11.01 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.921e-05/0.1747, allocations: 87.28 kB / 0.685 GB, free: 10.92 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1747, allocations: 0 / 0.685 GB, free: 10.92 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.175, allocations: 31.92 kB / 0.6851 GB, free: 10.89 MB / 494.1 MB 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.0005028/0.1755, allocations: 0.6319 MB / 0.6857 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.1756, allocations: 27.92 kB / 0.6857 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1756, allocations: 0 / 0.6857 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.671e-05/0.1756, allocations: 4 kB / 0.6857 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.1759, allocations: 9.062 kB / 0.6857 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005142/0.1764, allocations: 175.7 kB / 0.6859 GB, free: 9.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.1767, allocations: 0.6884 MB / 0.6866 GB, free: 9.266 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.854e-05/0.1768, allocations: 4 kB / 0.6866 GB, free: 9.262 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.1768, allocations: 11.44 kB / 0.6866 GB, free: 9.254 MB / 494.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1768, allocations: 0 / 0.6866 GB, free: 9.254 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01143/0.1883, allocations: 1.535 MB / 0.6881 GB, free: 7.891 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/0.1885, allocations: 235.2 kB / 0.6883 GB, free: 7.633 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/1.969, allocations: 4 kB / 0.6883 GB, free: 7.629 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)