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.000888/0.0008881, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005455/0.005455, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.238/1.238, allocations: 223.3 MB / 240.3 MB, free: 5.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.001682/0.001682, allocations: 266.2 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9479/0.9479, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004058, allocations: 15.91 kB / 0.5988 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1605, allocations: 88.55 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001297/0.1618, allocations: 0.9811 MB / 0.6862 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003217/0.1622, allocations: 130.1 kB / 0.6863 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.499e-05/0.1622, allocations: 0 / 0.6863 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.1622, allocations: 3.984 kB / 0.6863 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.564e-05/0.1623, allocations: 0 / 0.6863 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.1625, allocations: 29.66 kB / 0.6863 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.46e-05/0.1625, allocations: 15.94 kB / 0.6864 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.1626, allocations: 4 kB / 0.6864 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.355e-05/0.1626, allocations: 14.08 kB / 0.6864 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.879e-05/0.1627, allocations: 7.984 kB / 0.6864 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.1627, allocations: 4 kB / 0.6864 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.1628, allocations: 47.94 kB / 0.6864 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.032e-05/0.1628, allocations: 0 / 0.6864 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.1629, allocations: 38.27 kB / 0.6865 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.163, allocations: 32.17 kB / 0.6865 GB, free: 13.65 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.163, allocations: 5.625 kB / 0.6865 GB, free: 13.65 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.163, allocations: 0 / 0.6865 GB, free: 13.65 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.163, allocations: 3.938 kB / 0.6865 GB, free: 13.64 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003569/0.1634, allocations: 324.6 kB / 0.6868 GB, free: 13.28 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1634, allocations: 12.03 kB / 0.6868 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.611e-05/0.1635, allocations: 39.31 kB / 0.6869 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.157e-05/0.1635, allocations: 0.9375 kB / 0.6869 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.1636, allocations: 171.6 kB / 0.687 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.1637, allocations: 4.375 kB / 0.687 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.1637, allocations: 4.375 kB / 0.687 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.287e-05/0.1638, allocations: 33.64 kB / 0.6871 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.1638, allocations: 0 / 0.6871 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.1638, allocations: 0 / 0.6871 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1638, allocations: 0 / 0.6871 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.661e-05/0.1638, allocations: 8 kB / 0.6871 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.164, allocations: 154.9 kB / 0.6872 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.081e-05/0.1641, allocations: 27.17 kB / 0.6873 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.216e-05/0.1641, allocations: 14.5 kB / 0.6873 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006748/0.1648, allocations: 0.6128 MB / 0.6879 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1648, allocations: 34.56 kB / 0.6879 GB, free: 11.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1648, allocations: 0 / 0.6879 GB, free: 11.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000134/0.1649, allocations: 37.69 kB / 0.6879 GB, free: 11.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.165, allocations: 59.34 kB / 0.688 GB, free: 11.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.144e-05/0.1651, allocations: 97.86 kB / 0.6881 GB, free: 11.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.1651, allocations: 25.7 kB / 0.6881 GB, free: 11.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.463e-05/0.1651, allocations: 88.25 kB / 0.6882 GB, free: 11.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.1652, allocations: 7.844 kB / 0.6882 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/0.1652, allocations: 13.72 kB / 0.6882 GB, free: 11.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1653, allocations: 314.8 kB / 0.6885 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.1653, allocations: 0 / 0.6885 GB, free: 11.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-06/0.1653, allocations: 4 kB / 0.6885 GB, free: 11.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.628e-05/0.1654, allocations: 12.86 kB / 0.6885 GB, free: 11.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1654, allocations: 0 / 0.6885 GB, free: 11.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.824e-05/0.1654, allocations: 49.62 kB / 0.6886 GB, free: 11.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1655, allocations: 8 kB / 0.6886 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.1655, allocations: 0 / 0.6886 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1655, allocations: 3.938 kB / 0.6886 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.14e-05/0.1655, allocations: 4 kB / 0.6886 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1656, allocations: 0 / 0.6886 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.596e-05/0.1656, allocations: 0 / 0.6886 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.1656, allocations: 0 / 0.6886 GB, free: 11.16 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 (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 7.254e-05/0.1657, allocations: 111.2 kB / 0.6887 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-06/0.1657, allocations: 15.91 kB / 0.6887 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.34e-05/0.1658, allocations: 44.81 kB / 0.6888 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1658, allocations: 0 / 0.6888 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1658, allocations: 192 / 0.6888 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1658, allocations: 0 / 0.6888 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.566e-05/0.1659, allocations: 153.7 kB / 0.6889 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1659, allocations: 3.938 kB / 0.6889 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.106e-05/0.1659, allocations: 7.938 kB / 0.6889 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.166, allocations: 0 / 0.6889 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.166, allocations: 7.984 kB / 0.6889 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.166, allocations: 4.031 kB / 0.6889 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.166, allocations: 0 / 0.6889 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.525e-05/0.1661, allocations: 65.05 kB / 0.689 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/0.1661, allocations: 81.05 kB / 0.6891 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1661, allocations: 3.984 kB / 0.6891 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.506e-05/0.1661, allocations: 0 / 0.6891 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.1662, allocations: 4 kB / 0.6891 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.1662, allocations: 4.031 kB / 0.6891 GB, free: 10.56 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.005e-05/0.1662, allocations: 79.28 kB / 0.6892 GB, free: 10.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1662, allocations: 0 / 0.6892 GB, free: 10.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001808/0.1664, allocations: 8 kB / 0.6892 GB, free: 10.48 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 (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.0003743/0.1668, allocations: 0.6202 MB / 0.6898 GB, free: 9.824 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.564e-05/0.1669, allocations: 12 kB / 0.6898 GB, free: 9.812 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1669, allocations: 0 / 0.6898 GB, free: 9.812 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.705e-05/0.1669, allocations: 7.938 kB / 0.6898 GB, free: 9.805 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.1671, allocations: 11.98 kB / 0.6898 GB, free: 9.793 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008648/0.168, allocations: 1.103 MB / 0.6909 GB, free: 8.609 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.1682, allocations: 0.6731 MB / 0.6915 GB, free: 7.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.65e-05/0.1682, allocations: 8.047 kB / 0.6915 GB, free: 7.902 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.1683, allocations: 11.44 kB / 0.6916 GB, free: 7.891 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1683, allocations: 4 kB / 0.6916 GB, free: 7.887 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01044/0.1787, allocations: 1.244 MB / 0.6928 GB, free: 6.816 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.179, allocations: 220.9 kB / 0.693 GB, free: 6.562 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/1.816, allocations: 0 / 0.693 GB, free: 6.562 MB / 494.1 MB (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)