Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_8_Buildings_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.0006808/0.0006809, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0007218/0.0007218, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.167/1.167, allocations: 205.4 MB / 222.1 MB, free: 5.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.504/1.504, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004363/0.0004364, allocations: 18.81 kB / 0.6738 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1657, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001127/0.1668, allocations: 1.002 MB / 0.7884 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004178/0.1673, allocations: 283.3 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.286e-05/0.1673, allocations: 0 / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.215e-05/0.1673, allocations: 3.938 kB / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.488e-05/0.1674, allocations: 7.969 kB / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.1676, allocations: 55.8 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.73e-05/0.1677, allocations: 31.86 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.1677, allocations: 4 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.403e-05/0.1678, allocations: 23.86 kB / 0.7888 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.689e-05/0.1679, allocations: 7.984 kB / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.1679, allocations: 0 / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.168, allocations: 79.92 kB / 0.7889 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.168, allocations: 7.922 kB / 0.7889 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.1681, allocations: 33.7 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.308e-05/0.1682, allocations: 52.16 kB / 0.7889 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1682, allocations: 0 / 0.7889 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1682, allocations: 0 / 0.7889 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.1682, allocations: 0 / 0.7889 GB, free: 10.24 MB / 0.6075 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.0003241/0.1685, allocations: 343.3 kB / 0.7893 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1686, allocations: 12.03 kB / 0.7893 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.557e-05/0.1686, allocations: 38.56 kB / 0.7893 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.358e-05/0.1686, allocations: 7.891 kB / 0.7893 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.1687, allocations: 175 kB / 0.7895 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1688, allocations: 3.938 kB / 0.7895 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.563e-06/0.1688, allocations: 3.938 kB / 0.7895 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.753e-05/0.1689, allocations: 41.67 kB / 0.7895 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1689, allocations: 0 / 0.7895 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1689, allocations: 4 kB / 0.7895 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1689, allocations: 0 / 0.7895 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.335e-05/0.1689, allocations: 8 kB / 0.7896 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.1691, allocations: 161.6 kB / 0.7897 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.056e-05/0.1692, allocations: 38.55 kB / 0.7897 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.1692, allocations: 12.92 kB / 0.7898 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000987/0.1702, allocations: 1.191 MB / 0.7909 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.1702, allocations: 30.56 kB / 0.7909 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1702, allocations: 0 / 0.7909 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000134/0.1704, allocations: 49.69 kB / 0.791 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.1704, allocations: 55.34 kB / 0.791 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.583e-05/0.1705, allocations: 113.8 kB / 0.7912 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.1705, allocations: 25.7 kB / 0.7912 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.653e-05/0.1705, allocations: 84.08 kB / 0.7913 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.1706, allocations: 15.89 kB / 0.7913 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-06/0.1706, allocations: 0 / 0.7913 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.761e-05/0.1707, allocations: 310.8 kB / 0.7916 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.27e-05/0.1707, allocations: 4 kB / 0.7916 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.999e-06/0.1707, allocations: 4 kB / 0.7916 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.846e-05/0.1707, allocations: 4 kB / 0.7916 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1707, allocations: 7.953 kB / 0.7916 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.411e-05/0.1708, allocations: 45.69 kB / 0.7916 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.1708, allocations: 8 kB / 0.7916 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.1708, allocations: 0 / 0.7916 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.1708, allocations: 0 / 0.7916 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.491e-05/0.1709, allocations: 7.984 kB / 0.7916 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.1709, allocations: 0 / 0.7916 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.482e-05/0.1709, allocations: 0 / 0.7916 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.1709, allocations: 4 kB / 0.7917 GB, free: 6.977 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.895e-05/0.171, allocations: 110.4 kB / 0.7918 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.171, allocations: 15.86 kB / 0.7918 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.1711, allocations: 57.53 kB / 0.7918 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1712, allocations: 0 / 0.7918 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1712, allocations: 0 / 0.7918 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1712, allocations: 8.359 kB / 0.7918 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.1713, allocations: 157.7 kB / 0.792 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1713, allocations: 0 / 0.792 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.77e-05/0.1713, allocations: 11.95 kB / 0.792 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1713, allocations: 0 / 0.792 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1713, allocations: 7.984 kB / 0.792 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.1714, allocations: 0 / 0.792 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.1714, allocations: 0 / 0.792 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.01e-05/0.1714, allocations: 73.06 kB / 0.7921 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/0.1715, allocations: 89 kB / 0.7922 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.1715, allocations: 3.953 kB / 0.7922 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.598e-05/0.1716, allocations: 8 kB / 0.7922 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.134e-05/0.1716, allocations: 0 / 0.7922 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.1716, allocations: 0 / 0.7922 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.948e-05/0.1716, allocations: 91.27 kB / 0.7923 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1716, allocations: 0 / 0.7923 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001914/0.1718, allocations: 27.94 kB / 0.7923 GB, free: 6.219 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003876/0.1722, allocations: 0.6435 MB / 0.7929 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.02e-05/0.1723, allocations: 15.98 kB / 0.7929 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1723, allocations: 0 / 0.7929 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.564e-05/0.1723, allocations: 8 kB / 0.7929 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.1725, allocations: 3.953 kB / 0.7929 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.1728, allocations: 196 kB / 0.7931 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.173, allocations: 0.677 MB / 0.7938 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.056e-05/0.1731, allocations: 4.547 kB / 0.7938 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.1731, allocations: 11.44 kB / 0.7938 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.1731, allocations: 4 kB / 0.7938 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009465/0.1826, allocations: 1.406 MB / 0.7952 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001394/0.1828, allocations: 206.8 kB / 0.7954 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.458/1.641, allocations: 0.75 kB / 0.7954 GB, free: 3.059 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) Environment - environmentSimulation: