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) 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.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw",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.005836/0.005836, allocations: 100.1 kB / 15.73 MB, free: 6.031 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.001225/0.001225, allocations: 190.9 kB / 16.67 MB, free: 5.969 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002287/0.002287, allocations: 290.6 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9783/0.9783, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 91.86 kB / 0.681 GB, free: 20 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1746, allocations: 86.98 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00262/0.1772, allocations: 1.256 MB / 0.7671 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003332/0.1776, allocations: 119.5 kB / 0.7672 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.301e-05/0.1776, allocations: 4 kB / 0.7672 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.633e-05/0.1777, allocations: 4 kB / 0.7672 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.666e-05/0.1778, allocations: 3.938 kB / 0.7673 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.178, allocations: 35.89 kB / 0.7673 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.428e-05/0.1781, allocations: 15.92 kB / 0.7673 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.95e-05/0.1782, allocations: 4 kB / 0.7673 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.464e-05/0.1782, allocations: 7.922 kB / 0.7673 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.354e-05/0.1782, allocations: 4 kB / 0.7673 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.1783, allocations: 0 / 0.7673 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.1784, allocations: 55.94 kB / 0.7674 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.1784, allocations: 4 kB / 0.7674 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.1785, allocations: 3.938 kB / 0.7674 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.1786, allocations: 48.16 kB / 0.7674 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1786, allocations: 0 / 0.7674 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.285e-06/0.1786, allocations: 0 / 0.7674 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.1786, allocations: 0 / 0.7674 GB, free: 7.391 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004324/0.1791, allocations: 323.5 kB / 0.7677 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1791, allocations: 15.97 kB / 0.7677 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.1792, allocations: 38.75 kB / 0.7678 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.1792, allocations: 0.9375 kB / 0.7678 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.1795, allocations: 176.2 kB / 0.768 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1795, allocations: 384 / 0.768 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.1795, allocations: 4.125 kB / 0.768 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.508e-05/0.1796, allocations: 29.7 kB / 0.768 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.1796, allocations: 0 / 0.768 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.1796, allocations: 0 / 0.768 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1796, allocations: 0 / 0.768 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.268e-05/0.1797, allocations: 15.98 kB / 0.768 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.1798, allocations: 145.7 kB / 0.7681 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.432e-05/0.1799, allocations: 26.55 kB / 0.7682 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.202e-05/0.1799, allocations: 16.84 kB / 0.7682 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007262/0.1806, allocations: 0.6013 MB / 0.7688 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.1807, allocations: 38.56 kB / 0.7688 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.1807, allocations: 0 / 0.7688 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001459/0.1808, allocations: 41.59 kB / 0.7688 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.1809, allocations: 55.34 kB / 0.7689 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.469e-05/0.181, allocations: 97.86 kB / 0.769 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.181, allocations: 29.7 kB / 0.769 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.181, allocations: 80.14 kB / 0.7691 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.1811, allocations: 7.922 kB / 0.7691 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.1811, allocations: 21.84 kB / 0.7691 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1812, allocations: 310.8 kB / 0.7694 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.125e-05/0.1812, allocations: 0 / 0.7694 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.004e-05/0.1813, allocations: 4 kB / 0.7694 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.796e-05/0.1813, allocations: 12.86 kB / 0.7694 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1813, allocations: 0 / 0.7694 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.007e-05/0.1814, allocations: 49.53 kB / 0.7695 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1814, allocations: 4 kB / 0.7695 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.1814, allocations: 8.031 kB / 0.7695 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1814, allocations: 0 / 0.7695 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.282e-05/0.1815, allocations: 4 kB / 0.7695 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1815, allocations: 3.984 kB / 0.7695 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.158e-05/0.1815, allocations: 7.938 kB / 0.7695 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.1815, allocations: 0 / 0.7695 GB, free: 4.891 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 (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 6.964e-05/0.1816, allocations: 110.5 kB / 0.7696 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.1816, allocations: 3.938 kB / 0.7696 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.115e-05/0.1817, allocations: 49 kB / 0.7697 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1817, allocations: 0 / 0.7697 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1817, allocations: 3.984 kB / 0.7697 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1817, allocations: 0 / 0.7697 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.038e-05/0.1818, allocations: 157.6 kB / 0.7698 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1818, allocations: 4 kB / 0.7698 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.47e-05/0.1819, allocations: 11.88 kB / 0.7698 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1819, allocations: 0 / 0.7698 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.1819, allocations: 0 / 0.7698 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1819, allocations: 7.984 kB / 0.7698 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1819, allocations: 0 / 0.7698 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.094e-05/0.182, allocations: 65.11 kB / 0.7699 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.182, allocations: 77.11 kB / 0.77 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.182, allocations: 7.984 kB / 0.77 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.76e-05/0.1821, allocations: 0 / 0.77 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/0.1821, allocations: 0 / 0.77 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.1821, allocations: 0 / 0.77 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.432e-05/0.1821, allocations: 79.28 kB / 0.7701 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1821, allocations: 4.031 kB / 0.7701 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002033/0.1823, allocations: 20 kB / 0.7701 GB, free: 4.203 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 (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.0005525/0.1829, allocations: 0.6201 MB / 0.7707 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.554e-05/0.183, allocations: 8 kB / 0.7707 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.183, allocations: 4.094 kB / 0.7707 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.544e-05/0.183, allocations: 11.94 kB / 0.7707 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.1833, allocations: 7.984 kB / 0.7707 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.1845, allocations: 1.091 MB / 0.7718 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.1848, allocations: 0.6729 MB / 0.7724 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.032e-05/0.1848, allocations: 0 / 0.7724 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.1849, allocations: 19.38 kB / 0.7725 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.1849, allocations: 0 / 0.7725 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.2026, allocations: 1.452 MB / 0.7739 GB, free: 324 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.69/7.892, allocations: 3.938 kB / 0.7739 GB, free: 320 kB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)