Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",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.001025/0.001025, allocations: 108 kB / 15.6 MB, free: 132 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.001016/0.001016, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.254/1.254, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7132/0.7132, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 59.59 kB / 0.5019 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3479, allocations: 80.21 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002537/0.3505, allocations: 1.443 MB / 0.5816 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.3518, allocations: 0.8904 MB / 0.5825 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.443e-05/0.3519, allocations: 0 / 0.5825 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.352, allocations: 12.73 kB / 0.5825 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005433/0.3526, allocations: 131.6 kB / 0.5826 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.3529, allocations: 108.8 kB / 0.5827 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.353, allocations: 56.92 kB / 0.5828 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.3531, allocations: 14.84 kB / 0.5828 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.25e-05/0.3532, allocations: 38.89 kB / 0.5828 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.3533, allocations: 40.72 kB / 0.5829 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.3533, allocations: 3.312 kB / 0.5829 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004055/0.3537, allocations: 229.3 kB / 0.5831 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.502e-05/0.3538, allocations: 60.73 kB / 0.5831 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.629e-05/0.3539, allocations: 56.45 kB / 0.5832 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003978/0.3543, allocations: 282.1 kB / 0.5835 GB, free: 2.621 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3543, allocations: 4 kB / 0.5835 GB, free: 2.617 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3543, allocations: 0 / 0.5835 GB, free: 2.617 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.3543, allocations: 1.156 kB / 0.5835 GB, free: 2.617 MB / 430.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.0005682/0.3549, allocations: 0.4979 MB / 0.584 GB, free: 2.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3549, allocations: 9.25 kB / 0.584 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.461e-05/0.355, allocations: 32.44 kB / 0.584 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.355, allocations: 16.78 kB / 0.584 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000529/0.3556, allocations: 0.6574 MB / 0.5847 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.515e-06/0.3556, allocations: 2.578 kB / 0.5847 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.3556, allocations: 9.312 kB / 0.5847 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.3558, allocations: 72.23 kB / 0.5847 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.3558, allocations: 0 / 0.5847 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.3558, allocations: 0 / 0.5847 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3558, allocations: 5.484 kB / 0.5847 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.356, allocations: 77.66 kB / 0.5848 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.3563, allocations: 330 kB / 0.5851 GB, free: 1.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.3565, allocations: 122 kB / 0.5852 GB, free: 1.465 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.3567, allocations: 46.56 kB / 0.5853 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.209e-05/0.3567, allocations: 14.91 kB / 0.5853 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.164e-05/0.3567, allocations: 31.86 kB / 0.5853 GB, free: 1.414 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3567, allocations: 4.562 kB / 0.5853 GB, free: 1.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004204/0.3572, allocations: 166.2 kB / 0.5855 GB, free: 1.363 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.697e-05/0.3572, allocations: 52.19 kB / 0.5855 GB, free: 1.301 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006753/0.3579, allocations: 0.7736 MB / 0.5863 GB, free: 1.055 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.3579, allocations: 30.61 kB / 0.5863 GB, free: 1.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.123e-05/0.3579, allocations: 130.7 kB / 0.5865 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.358, allocations: 10.55 kB / 0.5865 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.358, allocations: 18.7 kB / 0.5865 GB, free: 0.875 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.851e-05/0.3581, allocations: 329.6 kB / 0.5868 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.3582, allocations: 41.69 kB / 0.5868 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.3583, allocations: 61.53 kB / 0.5869 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.3585, allocations: 88.56 kB / 0.587 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3585, allocations: 0 / 0.587 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002433/0.3588, allocations: 132.7 kB / 0.5871 GB, free: 468 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.3588, allocations: 6.531 kB / 0.5871 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3588, allocations: 7.875 kB / 0.5871 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.3588, allocations: 0 / 0.5871 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.928e-05/0.3589, allocations: 11.7 kB / 0.5871 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.3589, allocations: 0 / 0.5871 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.359, allocations: 18.27 kB / 0.5871 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.359, allocations: 0.9688 kB / 0.5872 GB, free: 452 kB / 430.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 7.187e-05/0.3591, allocations: 131.8 kB / 0.5873 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.3591, allocations: 15.69 kB / 0.5873 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.3594, allocations: 136.4 kB / 0.5874 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3594, allocations: 0.7031 kB / 0.5874 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3594, allocations: 4.875 kB / 0.5874 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3594, allocations: 0 / 0.5874 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.3596, allocations: 234.8 kB / 0.5877 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3596, allocations: 0.875 kB / 0.5877 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.323e-05/0.3596, allocations: 13.84 kB / 0.5877 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3596, allocations: 0.9375 kB / 0.5877 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.3597, allocations: 1 kB / 0.5877 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3597, allocations: 1.453 kB / 0.5877 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3597, allocations: 0 / 0.5877 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.36, allocations: 163 kB / 0.5878 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.827e-05/0.36, allocations: 107.3 kB / 0.5879 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.3601, allocations: 0.5156 kB / 0.5879 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.3601, allocations: 8.406 kB / 0.5879 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.3602, allocations: 6.234 kB / 0.5879 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.3602, allocations: 2 kB / 0.5879 GB, free: 15.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005616/0.3608, allocations: 0.6153 MB / 0.5885 GB, free: 15.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3608, allocations: 4 kB / 0.5885 GB, free: 15.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003297/0.3611, allocations: 75.14 kB / 0.5886 GB, free: 15.61 MB / 446.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.0006819/0.3618, allocations: 0.7393 MB / 0.5893 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002579/0.3621, allocations: 91.89 kB / 0.5894 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3621, allocations: 0.5625 kB / 0.5894 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.3622, allocations: 49.03 kB / 0.5895 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.3624, allocations: 21.38 kB / 0.5895 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/0.3657, allocations: 3.295 MB / 0.5927 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.3659, allocations: 0.7234 MB / 0.5934 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.7e-05/0.366, allocations: 24.52 kB / 0.5934 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.258e-05/0.3661, allocations: 53.02 kB / 0.5935 GB, free: 12.64 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3661, allocations: 0 / 0.5935 GB, free: 12.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.3869, allocations: 4.534 MB / 0.5979 GB, free: 11.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.838/7.225, allocations: 7.234 kB / 0.5979 GB, free: 11.07 MB / 446.1 MB (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)