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.001182/0.001182, allocations: 108 kB / 15.61 MB, free: 148 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.001217/0.001217, allocations: 194.5 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.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002094/0.002094, allocations: 282.7 kB / 290.7 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9417/0.9417, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 98.19 kB / 0.5953 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1304, allocations: 86.98 MB / 0.6803 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002123/0.1325, allocations: 1.283 MB / 0.6815 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004974/0.1331, allocations: 296.3 kB / 0.6818 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.1331, allocations: 4.875 kB / 0.6818 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.1331, allocations: 3.938 kB / 0.6818 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.383e-05/0.1332, allocations: 17.38 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.1335, allocations: 72.84 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.821e-05/0.1335, allocations: 31.86 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.617e-05/0.1336, allocations: 15.94 kB / 0.682 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.407e-05/0.1337, allocations: 15.98 kB / 0.682 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.184e-05/0.1337, allocations: 15.91 kB / 0.682 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.1337, allocations: 4 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.1339, allocations: 83.91 kB / 0.6821 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.1339, allocations: 7.938 kB / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.1339, allocations: 7.938 kB / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.1341, allocations: 84.06 kB / 0.6822 GB, free: 14.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.696e-06/0.1341, allocations: 0 / 0.6822 GB, free: 14.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1341, allocations: 0 / 0.6822 GB, free: 14.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1341, allocations: 0 / 0.6822 GB, free: 14.68 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003459/0.1345, allocations: 351.4 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.1345, allocations: 8.031 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.852e-05/0.1345, allocations: 34.69 kB / 0.6825 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.1346, allocations: 8.844 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.664e-05/0.1347, allocations: 168.3 kB / 0.6827 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1347, allocations: 8.375 kB / 0.6827 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-06/0.1347, allocations: 384 / 0.6827 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.674e-05/0.1348, allocations: 41.61 kB / 0.6828 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.1348, allocations: 0 / 0.6828 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1348, allocations: 4 kB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.1348, allocations: 0 / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.851e-05/0.1349, allocations: 11.98 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.135, allocations: 157.7 kB / 0.6829 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.476e-05/0.1351, allocations: 38.52 kB / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.757e-05/0.1351, allocations: 12.91 kB / 0.683 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/0.1362, allocations: 1.187 MB / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.1362, allocations: 46.55 kB / 0.6842 GB, free: 12.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1362, allocations: 0 / 0.6842 GB, free: 12.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001312/0.1363, allocations: 53.53 kB / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.1364, allocations: 55.41 kB / 0.6843 GB, free: 12.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.732e-05/0.1365, allocations: 109.8 kB / 0.6844 GB, free: 11.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.1365, allocations: 25.7 kB / 0.6844 GB, free: 11.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.591e-05/0.1365, allocations: 84.08 kB / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.1365, allocations: 11.89 kB / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.1366, allocations: 17.72 kB / 0.6845 GB, free: 11.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.1367, allocations: 314.8 kB / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.533e-05/0.1367, allocations: 3.984 kB / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.181e-05/0.1367, allocations: 8 kB / 0.6848 GB, free: 11.47 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.207e-05/0.1367, allocations: 16.86 kB / 0.6849 GB, free: 11.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1367, allocations: 0 / 0.6849 GB, free: 11.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.981e-05/0.1368, allocations: 53.47 kB / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.1368, allocations: 8 kB / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.1368, allocations: 4 kB / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1369, allocations: 0 / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.375e-05/0.1369, allocations: 4 kB / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.1369, allocations: 0 / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.751e-05/0.1369, allocations: 4 kB / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.137, allocations: 4 kB / 0.6849 GB, free: 11.37 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 (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 6.384e-05/0.137, allocations: 111.1 kB / 0.685 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.137, allocations: 7.938 kB / 0.685 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.1372, allocations: 61.86 kB / 0.6851 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1372, allocations: 0 / 0.6851 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.1372, allocations: 48 / 0.6851 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1372, allocations: 7.984 kB / 0.6851 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.657e-05/0.1373, allocations: 153.7 kB / 0.6853 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1373, allocations: 3.938 kB / 0.6853 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.812e-05/0.1373, allocations: 7.984 kB / 0.6853 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1373, allocations: 4 kB / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.1373, allocations: 4 kB / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1374, allocations: 0 / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1374, allocations: 3.938 kB / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.034e-05/0.1374, allocations: 69.03 kB / 0.6853 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.1375, allocations: 89.05 kB / 0.6854 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.1375, allocations: 3.984 kB / 0.6854 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.022e-05/0.1376, allocations: 4 kB / 0.6854 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.067e-05/0.1376, allocations: 0 / 0.6854 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.1376, allocations: 4 kB / 0.6854 GB, free: 10.74 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.858e-05/0.1376, allocations: 95.2 kB / 0.6855 GB, free: 10.65 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1377, allocations: 0 / 0.6855 GB, free: 10.65 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002041/0.1379, allocations: 27.94 kB / 0.6856 GB, free: 10.62 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 (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.0003841/0.1382, allocations: 0.6319 MB / 0.6862 GB, free: 9.961 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.471e-05/0.1383, allocations: 23.92 kB / 0.6862 GB, free: 9.938 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1383, allocations: 3.938 kB / 0.6862 GB, free: 9.934 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.571e-05/0.1384, allocations: 8 kB / 0.6862 GB, free: 9.926 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.1385, allocations: 4.75 kB / 0.6862 GB, free: 9.922 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.1389, allocations: 159.8 kB / 0.6864 GB, free: 9.727 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.1391, allocations: 0.6885 MB / 0.687 GB, free: 9.012 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.915e-05/0.1391, allocations: 4 kB / 0.687 GB, free: 9.008 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.1392, allocations: 11.44 kB / 0.6871 GB, free: 8.996 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1392, allocations: 0 / 0.6871 GB, free: 8.996 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.1559, allocations: 1.633 MB / 0.6886 GB, free: 7.492 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.034/7.19, allocations: 3.938 kB / 0.6887 GB, free: 7.488 MB / 494.1 MB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_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_PowerLawFixedM.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)