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.004626/0.004626, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001238/0.001238, allocations: 201.8 kB / 16.68 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002341/0.002341, allocations: 282.4 kB / 290.8 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9766/0.9766, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003018/0.003018, allocations: 95.92 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1741, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00246/0.1767, allocations: 1.259 MB / 0.7671 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003079/0.177, allocations: 131.5 kB / 0.7673 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.177, allocations: 0 / 0.7673 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.177, allocations: 0 / 0.7673 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.68e-05/0.1771, allocations: 8 kB / 0.7673 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.1773, allocations: 35.83 kB / 0.7673 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.51e-05/0.1774, allocations: 15.94 kB / 0.7673 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.994e-05/0.1775, allocations: 3.984 kB / 0.7673 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.135e-05/0.1775, allocations: 11.92 kB / 0.7673 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.914e-05/0.1775, allocations: 4 kB / 0.7673 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.1776, allocations: 0 / 0.7673 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.1777, allocations: 55.94 kB / 0.7674 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.016e-05/0.1777, allocations: 0 / 0.7674 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.1777, allocations: 11.88 kB / 0.7674 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.1779, allocations: 44.16 kB / 0.7674 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1779, allocations: 0 / 0.7674 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1779, allocations: 0 / 0.7674 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.1779, allocations: 0 / 0.7674 GB, free: 7.348 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.0004289/0.1783, allocations: 335.3 kB / 0.7678 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1784, allocations: 12.03 kB / 0.7678 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/0.1784, allocations: 34.73 kB / 0.7678 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.341e-05/0.1785, allocations: 4.938 kB / 0.7678 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.1786, allocations: 168.3 kB / 0.768 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1786, allocations: 4.375 kB / 0.768 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.1787, allocations: 4.125 kB / 0.768 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.763e-05/0.1788, allocations: 29.7 kB / 0.768 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.1788, allocations: 0 / 0.768 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1788, allocations: 7.969 kB / 0.768 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1788, allocations: 0 / 0.768 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.891e-05/0.1788, allocations: 4 kB / 0.768 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.179, allocations: 153.7 kB / 0.7682 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.812e-05/0.1791, allocations: 30.5 kB / 0.7682 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.182e-05/0.1791, allocations: 12.86 kB / 0.7682 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008026/0.1799, allocations: 0.5974 MB / 0.7688 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.18, allocations: 34.56 kB / 0.7688 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.18, allocations: 4 kB / 0.7688 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001419/0.1801, allocations: 45.64 kB / 0.7689 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.1802, allocations: 51.41 kB / 0.7689 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.28e-05/0.1802, allocations: 101.8 kB / 0.769 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1803, allocations: 25.7 kB / 0.769 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.1803, allocations: 84.14 kB / 0.7691 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.1803, allocations: 3.938 kB / 0.7691 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.1804, allocations: 9.719 kB / 0.7691 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1805, allocations: 323 kB / 0.7694 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/0.1805, allocations: 0 / 0.7694 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.016e-05/0.1806, allocations: 4 kB / 0.7694 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.171e-05/0.1806, allocations: 16.84 kB / 0.7695 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1806, allocations: 0 / 0.7695 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.828e-05/0.1807, allocations: 41.59 kB / 0.7695 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1807, allocations: 8 kB / 0.7695 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1807, allocations: 0 / 0.7695 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1807, allocations: 4.094 kB / 0.7695 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.227e-05/0.1808, allocations: 7.938 kB / 0.7695 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.1808, allocations: 3.938 kB / 0.7695 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.037e-05/0.1808, allocations: 0 / 0.7695 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-06/0.1808, allocations: 3.938 kB / 0.7695 GB, free: 4.848 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 8.26e-05/0.1809, allocations: 118.5 kB / 0.7696 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.1809, allocations: 3.938 kB / 0.7696 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.479e-05/0.181, allocations: 44.81 kB / 0.7697 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.181, allocations: 4.031 kB / 0.7697 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.181, allocations: 0 / 0.7697 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1811, allocations: 0 / 0.7697 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.1812, allocations: 153.6 kB / 0.7698 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1812, allocations: 0 / 0.7698 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.627e-05/0.1812, allocations: 7.984 kB / 0.7698 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1812, allocations: 0 / 0.7698 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.1812, allocations: 0 / 0.7698 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.1812, allocations: 3.938 kB / 0.7698 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1812, allocations: 4 kB / 0.7699 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.16e-05/0.1813, allocations: 69.06 kB / 0.7699 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.1814, allocations: 85.06 kB / 0.77 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.1814, allocations: 0 / 0.77 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.902e-05/0.1815, allocations: 0 / 0.77 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.1815, allocations: 4 kB / 0.77 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.1815, allocations: 0 / 0.77 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.109e-05/0.1815, allocations: 79.28 kB / 0.7701 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1815, allocations: 0 / 0.7701 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002786/0.1818, allocations: 23.95 kB / 0.7701 GB, free: 4.16 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.0004551/0.1823, allocations: 0.6162 MB / 0.7707 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.514e-05/0.1824, allocations: 4 kB / 0.7707 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1824, allocations: 0 / 0.7707 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.487e-05/0.1824, allocations: 8.094 kB / 0.7707 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.1827, allocations: 11.98 kB / 0.7707 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.1838, allocations: 1.091 MB / 0.7718 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.1841, allocations: 0.6729 MB / 0.7724 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.286e-05/0.1841, allocations: 11.92 kB / 0.7725 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.1841, allocations: 7.438 kB / 0.7725 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.1841, allocations: 4 kB / 0.7725 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.371/1.555, allocations: 1.457 MB / 0.7739 GB, free: 280 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/14.7, allocations: 3.938 kB / 0.7739 GB, free: 276 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)