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.001634/0.001634, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001964/0.001965, allocations: 194 kB / 16.53 MB, free: 6.664 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002096/0.002096, allocations: 295 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9346/0.9346, allocations: 169.3 MB / 0.4982 GB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 96.36 kB / 0.5953 GB, free: 27.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1285, allocations: 86.98 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002168/0.1307, allocations: 1.252 MB / 0.6815 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002556/0.131, allocations: 119.5 kB / 0.6816 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.167e-05/0.131, allocations: 0 / 0.6816 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.293e-05/0.131, allocations: 0.6562 kB / 0.6816 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.199e-05/0.1311, allocations: 6.406 kB / 0.6816 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.1313, allocations: 35.89 kB / 0.6817 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.723e-05/0.1313, allocations: 19.92 kB / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.1314, allocations: 7.984 kB / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.541e-05/0.1314, allocations: 7.938 kB / 0.6817 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.111e-05/0.1315, allocations: 6.062 kB / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.1315, allocations: 0 / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.1316, allocations: 51.94 kB / 0.6818 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.428e-06/0.1316, allocations: 0 / 0.6818 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.1316, allocations: 7.938 kB / 0.6818 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.1317, allocations: 44.72 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1317, allocations: 1.719 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1318, allocations: 4 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1318, allocations: 0 / 0.6818 GB, free: 15.02 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.0003357/0.1321, allocations: 327.5 kB / 0.6821 GB, free: 14.65 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1321, allocations: 8.906 kB / 0.6821 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.062e-05/0.1322, allocations: 42.73 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.981e-05/0.1322, allocations: 1.656 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.1323, allocations: 164.3 kB / 0.6823 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-06/0.1323, allocations: 1 kB / 0.6823 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.1324, allocations: 13.61 kB / 0.6823 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.48e-05/0.1324, allocations: 33.64 kB / 0.6824 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.1324, allocations: 4 kB / 0.6824 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.1325, allocations: 0.75 kB / 0.6824 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.1325, allocations: 3.984 kB / 0.6824 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.786e-05/0.1325, allocations: 8 kB / 0.6824 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/0.1326, allocations: 149.6 kB / 0.6825 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.431e-05/0.1327, allocations: 30.59 kB / 0.6826 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.735e-05/0.1327, allocations: 4.859 kB / 0.6826 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006806/0.1334, allocations: 0.6091 MB / 0.6832 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.1334, allocations: 34.56 kB / 0.6832 GB, free: 13.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.1334, allocations: 0 / 0.6832 GB, free: 13.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000117/0.1336, allocations: 45.64 kB / 0.6832 GB, free: 13.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.1336, allocations: 51.41 kB / 0.6833 GB, free: 13.19 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.902e-05/0.1337, allocations: 101.8 kB / 0.6834 GB, free: 13.08 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.1337, allocations: 25.7 kB / 0.6834 GB, free: 13.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.1337, allocations: 80.14 kB / 0.6835 GB, free: 12.97 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.1337, allocations: 11.84 kB / 0.6835 GB, free: 12.96 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.1338, allocations: 17.84 kB / 0.6835 GB, free: 12.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.133e-05/0.1339, allocations: 314.8 kB / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.13e-05/0.1339, allocations: 0 / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.182e-05/0.1339, allocations: 7.984 kB / 0.6838 GB, free: 12.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.754e-05/0.1339, allocations: 12.86 kB / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1339, allocations: 0 / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.86e-05/0.134, allocations: 45.52 kB / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.134, allocations: 8.094 kB / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.134, allocations: 4 kB / 0.6839 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1341, allocations: 0 / 0.6839 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.86e-05/0.1341, allocations: 0 / 0.6839 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1341, allocations: 7.984 kB / 0.6839 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.803e-05/0.1341, allocations: 0 / 0.6839 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.1341, allocations: 0 / 0.6839 GB, free: 12.52 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 6.484e-05/0.1342, allocations: 111.2 kB / 0.684 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.1342, allocations: 7.938 kB / 0.684 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.667e-05/0.1343, allocations: 48.81 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1343, allocations: 3.938 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1343, allocations: 0 / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.1344, allocations: 0 / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.238e-05/0.1344, allocations: 149.7 kB / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1345, allocations: 3.938 kB / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.467e-05/0.1345, allocations: 8 kB / 0.6842 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1345, allocations: 0 / 0.6842 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.1345, allocations: 3.938 kB / 0.6842 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1345, allocations: 0 / 0.6842 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1345, allocations: 4.031 kB / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.87e-05/0.1346, allocations: 69.03 kB / 0.6843 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.1346, allocations: 81.05 kB / 0.6844 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.1347, allocations: 0 / 0.6844 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.813e-05/0.1347, allocations: 4 kB / 0.6844 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.356e-05/0.1347, allocations: 4 kB / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.1347, allocations: 0 / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.32e-05/0.1347, allocations: 79.5 kB / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1347, allocations: 3.938 kB / 0.6845 GB, free: 11.85 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001955/0.1349, allocations: 15.98 kB / 0.6845 GB, free: 11.84 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.000349/0.1353, allocations: 0.6126 MB / 0.6851 GB, free: 11.19 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.951e-05/0.1354, allocations: 12.03 kB / 0.6851 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1354, allocations: 0 / 0.6851 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.463e-05/0.1354, allocations: 11.92 kB / 0.6851 GB, free: 11.17 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.1356, allocations: 9.891 kB / 0.6851 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008236/0.1365, allocations: 1.099 MB / 0.6862 GB, free: 9.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.1367, allocations: 0.6729 MB / 0.6868 GB, free: 9.281 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.819e-05/0.1367, allocations: 12.05 kB / 0.6868 GB, free: 9.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/0.1367, allocations: 7.438 kB / 0.6869 GB, free: 9.262 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1367, allocations: 0 / 0.6869 GB, free: 9.262 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.1537, allocations: 1.418 MB / 0.6882 GB, free: 7.965 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.88/7.034, allocations: 6.094 kB / 0.6882 GB, free: 7.961 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)