Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="IDEAS_dev_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.001638/0.001638, 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.001895/0.001896, 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.494/1.494, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9566/0.9566, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.64 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1456, allocations: 80.92 MB / 0.5845 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.004197/0.1499, allocations: 1.444 MB / 0.5859 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.1521, allocations: 0.875 MB / 0.5867 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.158e-05/0.1522, allocations: 0 / 0.5867 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.1524, allocations: 15.92 kB / 0.5868 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000788/0.1533, allocations: 139.9 kB / 0.5869 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.1536, allocations: 99.69 kB / 0.587 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.1538, allocations: 59.89 kB / 0.587 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/0.1538, allocations: 4 kB / 0.587 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.154, allocations: 43.83 kB / 0.5871 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.1541, allocations: 39.91 kB / 0.5871 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.1542, allocations: 0 / 0.5871 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00053/0.1547, allocations: 235.6 kB / 0.5874 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.1548, allocations: 55.81 kB / 0.5874 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1549, allocations: 59.59 kB / 0.5875 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005103/0.1555, allocations: 279.5 kB / 0.5877 GB, free: 1.086 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1555, allocations: 0 / 0.5877 GB, free: 1.086 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1555, allocations: 0 / 0.5877 GB, free: 1.086 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1555, allocations: 4 kB / 0.5877 GB, free: 1.082 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.001026/0.1565, allocations: 0.4983 MB / 0.5882 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.483e-05/0.1566, allocations: 8.031 kB / 0.5882 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.617e-05/0.1567, allocations: 34.73 kB / 0.5883 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.772e-05/0.1568, allocations: 20.69 kB / 0.5883 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009688/0.1577, allocations: 0.651 MB / 0.5889 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.1578, allocations: 4.375 kB / 0.5889 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.1578, allocations: 7.938 kB / 0.5889 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.1581, allocations: 73.66 kB / 0.589 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1581, allocations: 0 / 0.589 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.1581, allocations: 4 kB / 0.589 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1581, allocations: 0 / 0.589 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.1585, allocations: 75.94 kB / 0.5891 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004853/0.159, allocations: 321.6 kB / 0.5894 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.1594, allocations: 126.4 kB / 0.5895 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.1596, allocations: 44.89 kB / 0.5895 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.76e-05/0.1597, allocations: 23.95 kB / 0.5896 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.1598, allocations: 34.56 kB / 0.5896 GB, free: 15 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.943e-06/0.1598, allocations: 0 / 0.5896 GB, free: 15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0007335/0.1605, allocations: 169.4 kB / 0.5898 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.1606, allocations: 51.41 kB / 0.5898 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.1619, allocations: 0.778 MB / 0.5906 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.1619, allocations: 25.7 kB / 0.5906 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.1621, allocations: 132.1 kB / 0.5907 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.1621, allocations: 3.906 kB / 0.5907 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.256e-05/0.1622, allocations: 17.72 kB / 0.5907 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000202/0.1624, allocations: 330.8 kB / 0.5911 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.1626, allocations: 43.97 kB / 0.5911 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.1629, allocations: 62.53 kB / 0.5912 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.1633, allocations: 80.8 kB / 0.5912 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1633, allocations: 0 / 0.5912 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005093/0.1638, allocations: 149.2 kB / 0.5914 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1639, allocations: 10.12 kB / 0.5914 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1639, allocations: 0 / 0.5914 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1639, allocations: 0 / 0.5914 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.164, allocations: 12 kB / 0.5914 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1641, allocations: 0 / 0.5914 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.1643, allocations: 15.92 kB / 0.5914 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.1643, allocations: 0 / 0.5914 GB, free: 13.07 MB / 0.4981 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.0001579/0.1645, allocations: 137.8 kB / 0.5915 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.301e-05/0.1645, allocations: 19.81 kB / 0.5916 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005105/0.165, allocations: 134.8 kB / 0.5917 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1651, allocations: 0 / 0.5917 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1651, allocations: 0 / 0.5917 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1651, allocations: 7.938 kB / 0.5917 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.1654, allocations: 237.5 kB / 0.5919 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1654, allocations: 4 kB / 0.5919 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.1656, allocations: 11.98 kB / 0.5919 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1656, allocations: 0 / 0.5919 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1656, allocations: 0 / 0.5919 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1656, allocations: 0 / 0.5919 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.1656, allocations: 4 kB / 0.5919 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004988/0.1661, allocations: 156.8 kB / 0.5921 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.1663, allocations: 101.2 kB / 0.5922 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-05/0.1664, allocations: 7.984 kB / 0.5922 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.1665, allocations: 8 kB / 0.5922 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.1666, allocations: 0 / 0.5922 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.1666, allocations: 3.984 kB / 0.5922 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009599/0.1676, allocations: 0.6136 MB / 0.5928 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.3e-07/0.1676, allocations: 0 / 0.5928 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006107/0.1682, allocations: 75.98 kB / 0.5929 GB, free: 11.45 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 (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.001156/0.1694, allocations: 0.7488 MB / 0.5936 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004512/0.1699, allocations: 87.92 kB / 0.5937 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1699, allocations: 7.938 kB / 0.5937 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.1701, allocations: 47.91 kB / 0.5937 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.1705, allocations: 8.562 kB / 0.5938 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005898/0.1764, allocations: 3.299 MB / 0.597 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.1768, allocations: 0.7279 MB / 0.5977 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.177, allocations: 20.64 kB / 0.5977 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.1771, allocations: 55.41 kB / 0.5978 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of SimCode: time 7.92e-07/0.1772, allocations: 0 / 0.5978 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03506/0.2122, allocations: 4.549 MB / 0.6022 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.31, allocations: 16.41 kB / 0.6022 GB, free: 1.898 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)