Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.WindPressureProfile,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="BuildingSystems_BuildingSystems_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.005618/0.005618, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001498/0.001499, allocations: 201.6 kB / 16.68 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002433/0.002433, allocations: 278.9 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1/1, allocations: 178.6 MB / 0.5074 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002569/0.002569, allocations: 93.69 kB / 0.6943 GB, free: 3.605 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.4304, allocations: 89.14 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002573/0.433, allocations: 1.458 MB / 0.7828 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.4345, allocations: 0.8867 MB / 0.7836 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.04e-05/0.4345, allocations: 1.219 kB / 0.7836 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.4347, allocations: 8.031 kB / 0.7836 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005291/0.4352, allocations: 139.7 kB / 0.7838 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.4355, allocations: 102.2 kB / 0.7839 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.4356, allocations: 59.81 kB / 0.7839 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.654e-05/0.4357, allocations: 3.328 kB / 0.7839 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.489e-05/0.4358, allocations: 43.17 kB / 0.784 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.4359, allocations: 49.22 kB / 0.784 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.4359, allocations: 2.562 kB / 0.784 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003917/0.4363, allocations: 227.6 kB / 0.7842 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.95e-05/0.4364, allocations: 61.05 kB / 0.7843 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.093e-05/0.4365, allocations: 55.25 kB / 0.7843 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.4369, allocations: 282.4 kB / 0.7846 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4369, allocations: 0.6562 kB / 0.7846 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4369, allocations: 1.25 kB / 0.7846 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.4369, allocations: 4 kB / 0.7846 GB, free: 11.88 MB / 0.5606 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.0007053/0.4376, allocations: 0.5008 MB / 0.7851 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.4377, allocations: 11.3 kB / 0.7851 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.4377, allocations: 38.69 kB / 0.7852 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.4378, allocations: 17.45 kB / 0.7852 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006228/0.4384, allocations: 0.6509 MB / 0.7858 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.4384, allocations: 5.812 kB / 0.7858 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.477e-06/0.4384, allocations: 1.312 kB / 0.7858 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.4386, allocations: 75.3 kB / 0.7859 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.4386, allocations: 0 / 0.7859 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.4386, allocations: 1.25 kB / 0.7859 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4387, allocations: 3.938 kB / 0.7859 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002218/0.4389, allocations: 79.2 kB / 0.786 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.4392, allocations: 321.8 kB / 0.7863 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.4395, allocations: 124.6 kB / 0.7864 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.4396, allocations: 47.73 kB / 0.7864 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.178e-05/0.4397, allocations: 18.67 kB / 0.7865 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.4397, allocations: 32.75 kB / 0.7865 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.4397, allocations: 0 / 0.7865 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004224/0.4401, allocations: 173.8 kB / 0.7867 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.4402, allocations: 52.06 kB / 0.7867 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008151/0.441, allocations: 0.773 MB / 0.7875 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.441, allocations: 26.2 kB / 0.7875 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.741e-05/0.4411, allocations: 127.3 kB / 0.7876 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.4412, allocations: 22.02 kB / 0.7876 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.4412, allocations: 15.38 kB / 0.7876 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.4413, allocations: 334.3 kB / 0.788 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.4415, allocations: 40.53 kB / 0.788 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.4416, allocations: 57.47 kB / 0.7881 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.4419, allocations: 92.17 kB / 0.7881 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.4419, allocations: 8.531 kB / 0.7881 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002632/0.4422, allocations: 129.9 kB / 0.7883 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.4422, allocations: 6.031 kB / 0.7883 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4422, allocations: 0 / 0.7883 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.4422, allocations: 0.6094 kB / 0.7883 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.252e-05/0.4423, allocations: 15.08 kB / 0.7883 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.4423, allocations: 0 / 0.7883 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.4424, allocations: 13.67 kB / 0.7883 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.4424, allocations: 5.844 kB / 0.7883 GB, free: 9.703 MB / 0.5606 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 0.0001059/0.4426, allocations: 131.2 kB / 0.7884 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.4426, allocations: 19.11 kB / 0.7885 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.4429, allocations: 140.9 kB / 0.7886 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4429, allocations: 1.125 kB / 0.7886 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4429, allocations: 0.6094 kB / 0.7886 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.4429, allocations: 1.312 kB / 0.7886 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.4432, allocations: 234.1 kB / 0.7888 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4432, allocations: 0 / 0.7888 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.348e-05/0.4432, allocations: 14.06 kB / 0.7888 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.4432, allocations: 2.047 kB / 0.7888 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.4433, allocations: 0 / 0.7888 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4433, allocations: 1.406 kB / 0.7888 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4433, allocations: 0.7969 kB / 0.7888 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.4436, allocations: 162 kB / 0.789 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.082e-05/0.4436, allocations: 104.5 kB / 0.7891 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.4437, allocations: 0 / 0.7891 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.079e-05/0.4438, allocations: 7 kB / 0.7891 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.4438, allocations: 12.09 kB / 0.7891 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.4438, allocations: 5.031 kB / 0.7891 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000556/0.4444, allocations: 0.6153 MB / 0.7897 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4444, allocations: 0 / 0.7897 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003693/0.4448, allocations: 75.08 kB / 0.7898 GB, free: 8.871 MB / 0.5606 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.0007466/0.4455, allocations: 0.7527 MB / 0.7905 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002696/0.4458, allocations: 92.33 kB / 0.7906 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4458, allocations: 1.062 kB / 0.7906 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.4459, allocations: 43.67 kB / 0.7906 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.4462, allocations: 15.84 kB / 0.7907 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/0.4496, allocations: 3.306 MB / 0.7939 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.45, allocations: 0.7257 MB / 0.7946 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.77e-05/0.4501, allocations: 25.56 kB / 0.7946 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.152e-05/0.4502, allocations: 48.69 kB / 0.7947 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.4502, allocations: 1.062 kB / 0.7947 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/0.4764, allocations: 4.609 MB / 0.7992 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/8.179, allocations: 9.109 kB / 0.7992 GB, free: 4.223 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)