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.007741/0.007741, allocations: 102.9 kB / 15.74 MB, free: 5.551 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.001935/0.001935, allocations: 195.9 kB / 16.67 MB, free: 5.48 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8168/0.8168, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 62.09 kB / 0.5851 GB, free: 21.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1228, allocations: 80.94 MB / 0.6642 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002297/0.1251, allocations: 1.446 MB / 0.6656 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.1265, allocations: 0.8851 MB / 0.6664 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.334e-05/0.1265, allocations: 3.938 kB / 0.6664 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.1267, allocations: 7.938 kB / 0.6665 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005179/0.1272, allocations: 139.6 kB / 0.6666 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.1275, allocations: 103.7 kB / 0.6667 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.1276, allocations: 63.81 kB / 0.6667 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.614e-05/0.1276, allocations: 4 kB / 0.6667 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.454e-05/0.1277, allocations: 35.91 kB / 0.6668 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.1278, allocations: 47.77 kB / 0.6668 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.1279, allocations: 4 kB / 0.6668 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003517/0.1282, allocations: 235.7 kB / 0.6671 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.301e-05/0.1283, allocations: 51.88 kB / 0.6671 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.588e-05/0.1284, allocations: 63.55 kB / 0.6672 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000351/0.1287, allocations: 279.2 kB / 0.6674 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1287, allocations: 0 / 0.6674 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.11e-07/0.1288, allocations: 0 / 0.6674 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1288, allocations: 0 / 0.6674 GB, free: 2.926 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.0006761/0.1294, allocations: 0.5137 MB / 0.6679 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1295, allocations: 13.05 kB / 0.6679 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.814e-05/0.1295, allocations: 34.75 kB / 0.668 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.1296, allocations: 20.8 kB / 0.668 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000559/0.1301, allocations: 0.6473 MB / 0.6686 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1302, allocations: 8.125 kB / 0.6686 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.1302, allocations: 4 kB / 0.6686 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.1304, allocations: 69.66 kB / 0.6687 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.1304, allocations: 0 / 0.6687 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.1304, allocations: 8 kB / 0.6687 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1304, allocations: 0 / 0.6687 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.1306, allocations: 79.92 kB / 0.6688 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002876/0.1309, allocations: 325.5 kB / 0.6691 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.1311, allocations: 118.5 kB / 0.6692 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.1313, allocations: 48.83 kB / 0.6693 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.202e-05/0.1313, allocations: 15.98 kB / 0.6693 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.1313, allocations: 30.56 kB / 0.6693 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1313, allocations: 0 / 0.6693 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004177/0.1318, allocations: 173.4 kB / 0.6695 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.1318, allocations: 63.34 kB / 0.6695 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006333/0.1324, allocations: 0.7664 MB / 0.6703 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.1325, allocations: 33.7 kB / 0.6703 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.1325, allocations: 124.1 kB / 0.6704 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.1326, allocations: 7.906 kB / 0.6704 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.1326, allocations: 21.7 kB / 0.6705 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.1327, allocations: 334.8 kB / 0.6708 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.1328, allocations: 39.97 kB / 0.6708 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.133, allocations: 62.53 kB / 0.6709 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.1332, allocations: 85.08 kB / 0.671 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1332, allocations: 3.938 kB / 0.671 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002644/0.1335, allocations: 137.5 kB / 0.6711 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1335, allocations: 12.03 kB / 0.6711 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1335, allocations: 0 / 0.6711 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1335, allocations: 0 / 0.6711 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.091e-05/0.1336, allocations: 11.98 kB / 0.6711 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.1336, allocations: 0 / 0.6711 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.1337, allocations: 7.984 kB / 0.6711 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1337, allocations: 4 kB / 0.6711 GB, free: 14.9 MB / 0.5137 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.068e-05/0.1338, allocations: 129.8 kB / 0.6713 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.1339, allocations: 27.84 kB / 0.6713 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002821/0.1341, allocations: 138.8 kB / 0.6714 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1342, allocations: 0 / 0.6714 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1342, allocations: 3.984 kB / 0.6714 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1342, allocations: 0 / 0.6714 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.1343, allocations: 229.5 kB / 0.6716 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1343, allocations: 0 / 0.6716 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.558e-05/0.1344, allocations: 11.98 kB / 0.6716 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1344, allocations: 4 kB / 0.6716 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.1344, allocations: 0 / 0.6716 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1344, allocations: 0 / 0.6716 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1344, allocations: 0 / 0.6716 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.1347, allocations: 156.9 kB / 0.6718 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.151e-05/0.1348, allocations: 108.9 kB / 0.6719 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.1348, allocations: 3.938 kB / 0.6719 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.87e-05/0.1349, allocations: 8 kB / 0.6719 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.135, allocations: 11.92 kB / 0.6719 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.135, allocations: 0 / 0.6719 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004881/0.1355, allocations: 0.6136 MB / 0.6725 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1355, allocations: 0 / 0.6725 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003037/0.1358, allocations: 75.86 kB / 0.6726 GB, free: 13.28 MB / 0.5137 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.0006708/0.1365, allocations: 0.7501 MB / 0.6733 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002567/0.1367, allocations: 87.88 kB / 0.6734 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1367, allocations: 0 / 0.6734 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.1369, allocations: 47.95 kB / 0.6735 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.1371, allocations: 20.5 kB / 0.6735 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.1403, allocations: 3.309 MB / 0.6767 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.1405, allocations: 0.7279 MB / 0.6774 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.107e-05/0.1406, allocations: 24.67 kB / 0.6774 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.514e-05/0.1407, allocations: 51.42 kB / 0.6775 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.1407, allocations: 0 / 0.6775 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.1606, allocations: 4.58 MB / 0.682 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.512/7.673, allocations: 6.078 kB / 0.682 GB, free: 3.68 MB / 0.5137 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)