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.005852/0.005851, allocations: 98.69 kB / 15.73 MB, free: 5.547 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.001237/0.001237, allocations: 189.1 kB / 16.67 MB, free: 5.492 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002254/0.002254, allocations: 275.2 kB / 290.8 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9817/0.9817, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 93.98 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1689, allocations: 86.98 MB / 0.7659 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00233/0.1712, allocations: 1.278 MB / 0.7672 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000528/0.1718, allocations: 306.9 kB / 0.7674 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.272e-05/0.1718, allocations: 0 / 0.7674 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.1719, allocations: 0 / 0.7674 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.572e-05/0.172, allocations: 7.922 kB / 0.7675 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.1723, allocations: 79.72 kB / 0.7675 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.019e-05/0.1724, allocations: 39.84 kB / 0.7676 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/0.1724, allocations: 4 kB / 0.7676 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1725, allocations: 31.91 kB / 0.7676 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.725e-05/0.1726, allocations: 11.92 kB / 0.7676 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.1726, allocations: 4 kB / 0.7676 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.1728, allocations: 83.91 kB / 0.7677 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.1728, allocations: 4 kB / 0.7677 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.1728, allocations: 11.88 kB / 0.7677 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.173, allocations: 80.06 kB / 0.7678 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.173, allocations: 0 / 0.7678 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.342e-06/0.173, allocations: 3.938 kB / 0.7678 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.173, allocations: 0 / 0.7678 GB, free: 6.941 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.0004024/0.1734, allocations: 361.2 kB / 0.7681 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1735, allocations: 11.97 kB / 0.7681 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.1735, allocations: 38.75 kB / 0.7682 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.1735, allocations: 8.922 kB / 0.7682 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1737, allocations: 172.2 kB / 0.7684 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1737, allocations: 384 / 0.7684 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-06/0.1737, allocations: 4.125 kB / 0.7684 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.1738, allocations: 41.69 kB / 0.7684 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.1738, allocations: 0 / 0.7684 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.1738, allocations: 0 / 0.7684 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1738, allocations: 0 / 0.7684 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.779e-05/0.1739, allocations: 7.984 kB / 0.7684 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.1741, allocations: 169.7 kB / 0.7686 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.335e-05/0.1741, allocations: 30.58 kB / 0.7686 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.333e-05/0.1742, allocations: 16.84 kB / 0.7686 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/0.1753, allocations: 1.187 MB / 0.7698 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.1753, allocations: 34.56 kB / 0.7698 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1753, allocations: 0 / 0.7698 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.000152/0.1755, allocations: 49.62 kB / 0.7699 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.1755, allocations: 55.41 kB / 0.7699 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.061e-05/0.1756, allocations: 109.8 kB / 0.77 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1756, allocations: 25.7 kB / 0.77 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.097e-05/0.1757, allocations: 88.08 kB / 0.7701 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.1757, allocations: 11.81 kB / 0.7701 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.1758, allocations: 17.72 kB / 0.7702 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.1759, allocations: 310.8 kB / 0.7704 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.1759, allocations: 7.984 kB / 0.7705 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.152e-05/0.1759, allocations: 0 / 0.7705 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.395e-05/0.1759, allocations: 16.86 kB / 0.7705 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.176, allocations: 0 / 0.7705 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.355e-05/0.176, allocations: 57.56 kB / 0.7705 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.1761, allocations: 9.875 kB / 0.7705 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1761, allocations: 0 / 0.7705 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1761, allocations: 0 / 0.7705 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.308e-05/0.1761, allocations: 4 kB / 0.7705 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1762, allocations: 0 / 0.7705 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/0.1762, allocations: 0 / 0.7705 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1762, allocations: 4.328 kB / 0.7705 GB, free: 3.637 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 7.361e-05/0.1763, allocations: 114.5 kB / 0.7707 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.1763, allocations: 15.84 kB / 0.7707 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.1764, allocations: 61.45 kB / 0.7707 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1764, allocations: 0 / 0.7707 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1764, allocations: 4 kB / 0.7707 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1765, allocations: 0 / 0.7707 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.1766, allocations: 157.6 kB / 0.7709 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1766, allocations: 0 / 0.7709 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.1766, allocations: 15.98 kB / 0.7709 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1766, allocations: 4 kB / 0.7709 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.1766, allocations: 0 / 0.7709 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1766, allocations: 0 / 0.7709 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1766, allocations: 4 kB / 0.7709 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.939e-05/0.1767, allocations: 73.06 kB / 0.771 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/0.1768, allocations: 85 kB / 0.7711 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.1768, allocations: 0 / 0.7711 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.258e-05/0.1769, allocations: 8 kB / 0.7711 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/0.1769, allocations: 7.938 kB / 0.7711 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.1769, allocations: 4 kB / 0.7711 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.814e-05/0.177, allocations: 83.58 kB / 0.7712 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.177, allocations: 3.938 kB / 0.7712 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000212/0.1772, allocations: 31.94 kB / 0.7712 GB, free: 2.871 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.0004439/0.1776, allocations: 0.6358 MB / 0.7718 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.177e-05/0.1777, allocations: 23.92 kB / 0.7718 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1777, allocations: 0 / 0.7718 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-05/0.1778, allocations: 4 kB / 0.7718 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.178, allocations: 8 kB / 0.7718 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.1784, allocations: 170.4 kB / 0.772 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.1786, allocations: 0.6807 MB / 0.7727 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.737e-05/0.1787, allocations: 8.219 kB / 0.7727 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.1787, allocations: 11.44 kB / 0.7727 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.1787, allocations: 0 / 0.7727 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3253/0.504, allocations: 1.646 MB / 0.7743 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.788/8.292, allocations: 2.281 kB / 0.7743 GB, free: 14.38 MB / 0.5606 GB (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)