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.001931/0.001931, 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.00232/0.00232, allocations: 194.1 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.44/1.44, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002585/0.002586, allocations: 278.9 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.099/1.099, allocations: 178.6 MB / 0.5073 GB, free: 4.586 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002832/0.002832, allocations: 116.5 kB / 0.6066 GB, free: 24.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1489, allocations: 89.13 MB / 0.6936 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002401/0.1513, allocations: 1.258 MB / 0.6948 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002771/0.1516, allocations: 115.6 kB / 0.6949 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.68e-05/0.1516, allocations: 4.469 kB / 0.6949 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.278e-05/0.1517, allocations: 1.344 kB / 0.6949 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.241e-05/0.1517, allocations: 0 / 0.6949 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.1519, allocations: 44.55 kB / 0.695 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.68e-05/0.152, allocations: 23.33 kB / 0.695 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.509e-05/0.152, allocations: 3.984 kB / 0.695 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.036e-05/0.1521, allocations: 7.938 kB / 0.695 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.057e-05/0.1521, allocations: 4 kB / 0.695 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.1521, allocations: 0 / 0.695 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.1523, allocations: 51.94 kB / 0.6951 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.1523, allocations: 0 / 0.6951 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.1523, allocations: 7.938 kB / 0.6951 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.1524, allocations: 36.22 kB / 0.6951 GB, free: 2.652 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1524, allocations: 0.7812 kB / 0.6951 GB, free: 2.652 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1524, allocations: 3.938 kB / 0.6951 GB, free: 2.648 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.1524, allocations: 1.594 kB / 0.6951 GB, free: 2.648 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.0003939/0.1528, allocations: 337.5 kB / 0.6954 GB, free: 2.273 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1529, allocations: 8.031 kB / 0.6955 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.55e-05/0.1529, allocations: 35.39 kB / 0.6955 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.193e-05/0.153, allocations: 5.719 kB / 0.6955 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.1531, allocations: 164.4 kB / 0.6956 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1531, allocations: 4.375 kB / 0.6957 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.1531, allocations: 4.312 kB / 0.6957 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.249e-05/0.1532, allocations: 33.64 kB / 0.6957 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1532, allocations: 3.984 kB / 0.6957 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.1532, allocations: 0 / 0.6957 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1532, allocations: 4 kB / 0.6957 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.646e-05/0.1533, allocations: 0 / 0.6957 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.1534, allocations: 149.7 kB / 0.6958 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.615e-05/0.1535, allocations: 34.59 kB / 0.6959 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.947e-05/0.1535, allocations: 8.797 kB / 0.6959 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007796/0.1543, allocations: 0.6091 MB / 0.6965 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.1544, allocations: 30.56 kB / 0.6965 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1544, allocations: 0 / 0.6965 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001301/0.1545, allocations: 45.64 kB / 0.6965 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.1545, allocations: 55.53 kB / 0.6966 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.502e-05/0.1546, allocations: 101.8 kB / 0.6967 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.1546, allocations: 25.7 kB / 0.6967 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.1547, allocations: 80.14 kB / 0.6968 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.1547, allocations: 7.844 kB / 0.6968 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.1547, allocations: 13.72 kB / 0.6968 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1549, allocations: 314.8 kB / 0.6971 GB, free: 260 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/0.1549, allocations: 11.92 kB / 0.6971 GB, free: 248 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-06/0.1549, allocations: 4 kB / 0.6971 GB, free: 244 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.319e-05/0.155, allocations: 16.86 kB / 0.6971 GB, free: 224 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.155, allocations: 0 / 0.6971 GB, free: 224 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.6e-05/0.155, allocations: 37.64 kB / 0.6972 GB, free: 180 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.155, allocations: 4 kB / 0.6972 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-06/0.1551, allocations: 3.938 kB / 0.6972 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.1551, allocations: 0 / 0.6972 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.554e-05/0.1551, allocations: 11.98 kB / 0.6972 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1551, allocations: 96 / 0.6972 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.775e-05/0.1552, allocations: 7.938 kB / 0.6972 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.1552, allocations: 4 kB / 0.6972 GB, free: 148 kB / 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.315e-05/0.1553, allocations: 109.8 kB / 0.6973 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.1553, allocations: 7.844 kB / 0.6973 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.1554, allocations: 52.8 kB / 0.6974 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1554, allocations: 0 / 0.6974 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1554, allocations: 0 / 0.6974 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.1554, allocations: 0 / 0.6974 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.1555, allocations: 153.7 kB / 0.6975 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1555, allocations: 3.938 kB / 0.6975 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.402e-05/0.1556, allocations: 4.188 kB / 0.6975 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1556, allocations: 0 / 0.6975 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.1556, allocations: 0 / 0.6975 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1556, allocations: 0 / 0.6975 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.1556, allocations: 3.984 kB / 0.6975 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.532e-05/0.1557, allocations: 75.08 kB / 0.6976 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.1557, allocations: 85.05 kB / 0.6977 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.1558, allocations: 0 / 0.6977 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.691e-05/0.1558, allocations: 0 / 0.6977 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.368e-05/0.1558, allocations: 0 / 0.6977 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.1558, allocations: 4 kB / 0.6977 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.1558, allocations: 79.27 kB / 0.6978 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1558, allocations: 0 / 0.6978 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001982/0.1561, allocations: 12 kB / 0.6978 GB, free: 15.47 MB / 0.4981 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.000421/0.1565, allocations: 0.6241 MB / 0.6984 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.466e-05/0.1566, allocations: 8 kB / 0.6984 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1566, allocations: 0 / 0.6984 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.556e-05/0.1566, allocations: 7.984 kB / 0.6984 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.1568, allocations: 12.16 kB / 0.6984 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009613/0.1578, allocations: 1.095 MB / 0.6995 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.1581, allocations: 0.6768 MB / 0.7001 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.647e-05/0.1581, allocations: 4 kB / 0.7002 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.1581, allocations: 11.44 kB / 0.7002 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1582, allocations: 0 / 0.7002 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.1796, allocations: 1.419 MB / 0.7015 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.729/7.909, allocations: 8.312 kB / 0.7016 GB, free: 11.58 MB / 0.4981 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 & 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)