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.003854/0.003854, allocations: 98.02 kB / 15.73 MB, free: 6.062 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.001075/0.001075, allocations: 195.3 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.219/1.219, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7345/0.7345, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 66.92 kB / 0.5809 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1309, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002458/0.1334, allocations: 1.449 MB / 0.6606 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.1348, allocations: 0.8928 MB / 0.6615 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.307e-05/0.1349, allocations: 4 kB / 0.6615 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.1351, allocations: 7.922 kB / 0.6615 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005382/0.1356, allocations: 135.6 kB / 0.6616 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.1359, allocations: 111.7 kB / 0.6617 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.799e-05/0.136, allocations: 47.91 kB / 0.6618 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.136, allocations: 7.984 kB / 0.6618 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.072e-05/0.1361, allocations: 39.84 kB / 0.6618 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.802e-05/0.1362, allocations: 51.81 kB / 0.6619 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.1363, allocations: 4 kB / 0.6619 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000351/0.1366, allocations: 227.6 kB / 0.6621 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.14e-05/0.1367, allocations: 51.88 kB / 0.6621 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.467e-05/0.1368, allocations: 71.52 kB / 0.6622 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.1371, allocations: 279.2 kB / 0.6625 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1371, allocations: 4 kB / 0.6625 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1371, allocations: 0 / 0.6625 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.1372, allocations: 0 / 0.6625 GB, free: 7.383 MB / 0.4981 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.0006662/0.1378, allocations: 0.502 MB / 0.663 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.1379, allocations: 12.03 kB / 0.663 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.914e-05/0.1379, allocations: 30.75 kB / 0.663 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.1379, allocations: 20.8 kB / 0.663 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005672/0.1385, allocations: 0.6551 MB / 0.6637 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.1385, allocations: 8.125 kB / 0.6637 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.1386, allocations: 4 kB / 0.6637 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.1387, allocations: 73.66 kB / 0.6637 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.1387, allocations: 0 / 0.6637 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1388, allocations: 4 kB / 0.6638 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1388, allocations: 0 / 0.6638 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.139, allocations: 75.94 kB / 0.6638 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002975/0.1393, allocations: 321.6 kB / 0.6641 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.1395, allocations: 122.4 kB / 0.6642 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.1396, allocations: 44.89 kB / 0.6643 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.1397, allocations: 15.98 kB / 0.6643 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.1397, allocations: 30.56 kB / 0.6643 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.254e-06/0.1397, allocations: 7.938 kB / 0.6643 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003888/0.1401, allocations: 173.4 kB / 0.6645 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.1401, allocations: 51.41 kB / 0.6646 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006335/0.1408, allocations: 0.778 MB / 0.6653 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.1408, allocations: 25.7 kB / 0.6653 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.1409, allocations: 132.1 kB / 0.6655 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.1409, allocations: 11.91 kB / 0.6655 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.1409, allocations: 17.72 kB / 0.6655 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.141, allocations: 330.8 kB / 0.6658 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.874e-05/0.1411, allocations: 39.97 kB / 0.6658 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.1413, allocations: 58.73 kB / 0.6659 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.1415, allocations: 88.88 kB / 0.666 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.1415, allocations: 7.922 kB / 0.666 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002537/0.1417, allocations: 137.5 kB / 0.6661 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.1417, allocations: 4 kB / 0.6661 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.1418, allocations: 0 / 0.6661 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1418, allocations: 0 / 0.6661 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/0.1418, allocations: 11.98 kB / 0.6661 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.1419, allocations: 0 / 0.6661 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.142, allocations: 11.98 kB / 0.6662 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.142, allocations: 4 kB / 0.6662 GB, free: 3.363 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 9.797e-05/0.1421, allocations: 141.8 kB / 0.6663 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.1421, allocations: 15.86 kB / 0.6663 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.1424, allocations: 134.9 kB / 0.6664 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1424, allocations: 0 / 0.6664 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1424, allocations: 0 / 0.6664 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1424, allocations: 0 / 0.6664 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.1426, allocations: 245.5 kB / 0.6667 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1426, allocations: 0 / 0.6667 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.305e-05/0.1427, allocations: 12 kB / 0.6667 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1427, allocations: 3.984 kB / 0.6667 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.1427, allocations: 0 / 0.6667 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1427, allocations: 0 / 0.6667 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1427, allocations: 0 / 0.6667 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.1429, allocations: 156.9 kB / 0.6668 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.031e-05/0.143, allocations: 105 kB / 0.6669 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.1431, allocations: 4 kB / 0.6669 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.1431, allocations: 11.92 kB / 0.667 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.1432, allocations: 4 kB / 0.667 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-06/0.1432, allocations: 0 / 0.667 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004776/0.1437, allocations: 0.6174 MB / 0.6676 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1437, allocations: 3.938 kB / 0.6676 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000287/0.144, allocations: 71.88 kB / 0.6676 GB, free: 1.746 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.0006474/0.1446, allocations: 0.7527 MB / 0.6684 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.1449, allocations: 87.92 kB / 0.6684 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1449, allocations: 0 / 0.6684 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.145, allocations: 52.19 kB / 0.6685 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.1452, allocations: 8.562 kB / 0.6685 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.1483, allocations: 3.309 MB / 0.6717 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.1485, allocations: 0.724 MB / 0.6724 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.273e-05/0.1486, allocations: 24.62 kB / 0.6725 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.116e-05/0.1487, allocations: 55.41 kB / 0.6725 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.1487, allocations: 0 / 0.6725 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.1685, allocations: 4.571 MB / 0.677 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.976/7.145, allocations: 6.438 kB / 0.677 GB, free: 8.191 MB / 0.5137 GB (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)