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.004945/0.004945, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001288/0.001288, allocations: 192.2 kB / 16.67 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.227/1.227, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00205/0.002049, allocations: 283 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8896/0.8896, allocations: 169.2 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 95.83 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3748, allocations: 86.97 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002273/0.3771, allocations: 1.288 MB / 0.7672 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005362/0.3777, allocations: 314.8 kB / 0.7675 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.398e-05/0.3777, allocations: 4 kB / 0.7675 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.3778, allocations: 0 / 0.7675 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.478e-05/0.3779, allocations: 11.92 kB / 0.7675 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.3782, allocations: 75.72 kB / 0.7676 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.506e-05/0.3783, allocations: 31.86 kB / 0.7676 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.3783, allocations: 7.984 kB / 0.7676 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.3784, allocations: 35.91 kB / 0.7676 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.554e-05/0.3785, allocations: 11.92 kB / 0.7676 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.3785, allocations: 4 kB / 0.7676 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.3787, allocations: 79.91 kB / 0.7677 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.3787, allocations: 4 kB / 0.7677 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.3787, allocations: 11.94 kB / 0.7677 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.3789, allocations: 79.16 kB / 0.7678 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3789, allocations: 0 / 0.7678 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.366e-06/0.3789, allocations: 4 kB / 0.7678 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.3789, allocations: 3.938 kB / 0.7678 GB, free: 1.902 MB / 0.5294 GB 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.0003661/0.3793, allocations: 360.8 kB / 0.7682 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3793, allocations: 11.97 kB / 0.7682 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.359e-05/0.3794, allocations: 34.69 kB / 0.7682 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.3794, allocations: 4.938 kB / 0.7682 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.3795, allocations: 164.3 kB / 0.7684 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.3795, allocations: 4.375 kB / 0.7684 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.846e-06/0.3795, allocations: 4.125 kB / 0.7684 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.813e-05/0.3796, allocations: 41.69 kB / 0.7684 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.3797, allocations: 0 / 0.7684 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.3797, allocations: 4 kB / 0.7684 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.3797, allocations: 0 / 0.7684 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.547e-05/0.3797, allocations: 7.984 kB / 0.7684 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.3799, allocations: 165.7 kB / 0.7686 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.861e-05/0.38, allocations: 30.58 kB / 0.7686 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.38, allocations: 20.84 kB / 0.7686 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/0.381, allocations: 1.175 MB / 0.7698 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.3811, allocations: 38.55 kB / 0.7698 GB, free: 15.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3811, allocations: 4 kB / 0.7698 GB, free: 15.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0001414/0.3812, allocations: 45.64 kB / 0.7699 GB, free: 15.37 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.3813, allocations: 59.39 kB / 0.7699 GB, free: 15.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.707e-05/0.3813, allocations: 113.8 kB / 0.77 GB, free: 15.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.3814, allocations: 25.7 kB / 0.7701 GB, free: 15.15 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.322e-05/0.3814, allocations: 80.14 kB / 0.7701 GB, free: 15.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.3814, allocations: 11.84 kB / 0.7701 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.3815, allocations: 17.72 kB / 0.7702 GB, free: 15.03 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.3816, allocations: 318.8 kB / 0.7705 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.3816, allocations: 3.984 kB / 0.7705 GB, free: 14.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.206e-05/0.3816, allocations: 4 kB / 0.7705 GB, free: 14.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.4e-05/0.3816, allocations: 16.86 kB / 0.7705 GB, free: 14.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3816, allocations: 0 / 0.7705 GB, free: 14.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.944e-05/0.3817, allocations: 53.56 kB / 0.7705 GB, free: 14.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.3817, allocations: 7.938 kB / 0.7705 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3818, allocations: 4.328 kB / 0.7705 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.3818, allocations: 0 / 0.7705 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.921e-05/0.3818, allocations: 8 kB / 0.7706 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.279e-06/0.3818, allocations: 4 kB / 0.7706 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.723e-05/0.3819, allocations: 0 / 0.7706 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.3819, allocations: 4 kB / 0.7706 GB, free: 14.6 MB / 0.545 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 (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.344e-05/0.3819, allocations: 116.2 kB / 0.7707 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.382, allocations: 15.88 kB / 0.7707 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.3821, allocations: 53.53 kB / 0.7707 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3821, allocations: 4 kB / 0.7707 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3821, allocations: 0 / 0.7707 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3821, allocations: 4 kB / 0.7707 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.4e-05/0.3822, allocations: 165.5 kB / 0.7709 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3822, allocations: 0 / 0.7709 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.838e-05/0.3823, allocations: 7.984 kB / 0.7709 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3823, allocations: 4 kB / 0.7709 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.3823, allocations: 0 / 0.7709 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3823, allocations: 0 / 0.7709 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3823, allocations: 0 / 0.7709 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.141e-05/0.3824, allocations: 77.02 kB / 0.771 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.3824, allocations: 81.11 kB / 0.7711 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.3825, allocations: 3.984 kB / 0.7711 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.203e-05/0.3825, allocations: 8 kB / 0.7711 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.013e-05/0.3825, allocations: 3.938 kB / 0.7711 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.3825, allocations: 0 / 0.7711 GB, free: 13.96 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.363e-05/0.3826, allocations: 87.27 kB / 0.7712 GB, free: 13.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3826, allocations: 0 / 0.7712 GB, free: 13.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002197/0.3828, allocations: 35.88 kB / 0.7712 GB, free: 13.84 MB / 0.545 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 (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.0004048/0.3832, allocations: 0.6318 MB / 0.7718 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.371e-05/0.3833, allocations: 23.92 kB / 0.7718 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3833, allocations: 0 / 0.7718 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.39e-05/0.3833, allocations: 4 kB / 0.7718 GB, free: 13.15 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.3835, allocations: 16.5 kB / 0.7719 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000358/0.3839, allocations: 155.6 kB / 0.772 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.3841, allocations: 0.6807 MB / 0.7727 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.086e-05/0.3842, allocations: 8.547 kB / 0.7727 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.3842, allocations: 7.438 kB / 0.7727 GB, free: 12.22 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.3842, allocations: 4 kB / 0.7727 GB, free: 12.21 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.4012, allocations: 1.658 MB / 0.7743 GB, free: 10.71 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.094/7.495, allocations: 5.812 kB / 0.7743 GB, free: 10.71 MB / 0.545 GB (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)