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.004588/0.004588, allocations: 101.3 kB / 15.73 MB, free: 6.059 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.001232/0.001233, allocations: 194.7 kB / 16.67 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.401/1.401, 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.8455/0.8455, allocations: 135.5 MB / 426.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 66.77 kB / 0.5857 GB, free: 21.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1379, allocations: 81.02 MB / 0.6649 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002475/0.1404, allocations: 1.45 MB / 0.6663 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1418, allocations: 0.8812 MB / 0.6671 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.953e-05/0.1419, allocations: 3.938 kB / 0.6671 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.142, allocations: 4 kB / 0.6671 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004936/0.1425, allocations: 133 kB / 0.6673 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.1428, allocations: 110.7 kB / 0.6674 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.1429, allocations: 63.83 kB / 0.6674 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.174e-05/0.1429, allocations: 3.938 kB / 0.6674 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.864e-05/0.143, allocations: 39.89 kB / 0.6675 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.1431, allocations: 47.69 kB / 0.6675 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.1432, allocations: 4 kB / 0.6675 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003825/0.1436, allocations: 231.6 kB / 0.6678 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.009e-05/0.1436, allocations: 55.88 kB / 0.6678 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.862e-05/0.1437, allocations: 63.53 kB / 0.6679 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003753/0.1441, allocations: 287.2 kB / 0.6681 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1441, allocations: 0 / 0.6681 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1441, allocations: 0 / 0.6681 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.1441, allocations: 0 / 0.6681 GB, free: 2.23 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.0007165/0.1449, allocations: 0.5059 MB / 0.6686 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.1449, allocations: 9.109 kB / 0.6686 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.405e-05/0.1449, allocations: 30.75 kB / 0.6687 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.145, allocations: 20.8 kB / 0.6687 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006771/0.1457, allocations: 0.6552 MB / 0.6693 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-06/0.1457, allocations: 4.125 kB / 0.6693 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.1457, allocations: 4 kB / 0.6693 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.1459, allocations: 69.66 kB / 0.6694 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.1459, allocations: 0 / 0.6694 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.141e-06/0.1459, allocations: 0 / 0.6694 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.1459, allocations: 0 / 0.6694 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.1461, allocations: 91.86 kB / 0.6695 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.1465, allocations: 317.6 kB / 0.6698 GB, free: 392 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.1467, allocations: 118.4 kB / 0.6699 GB, free: 264 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.1469, allocations: 48.89 kB / 0.67 GB, free: 212 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/0.1469, allocations: 23.91 kB / 0.67 GB, free: 188 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.147, allocations: 34.56 kB / 0.67 GB, free: 144 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.147, allocations: 0 / 0.67 GB, free: 144 kB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004491/0.1474, allocations: 169.7 kB / 0.6702 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.1475, allocations: 51.41 kB / 0.6702 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007703/0.1483, allocations: 0.7741 MB / 0.671 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1483, allocations: 25.7 kB / 0.671 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.66e-05/0.1484, allocations: 136.1 kB / 0.6711 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.1484, allocations: 7.906 kB / 0.6711 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.1485, allocations: 21.7 kB / 0.6712 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1486, allocations: 326.8 kB / 0.6715 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.1487, allocations: 39.97 kB / 0.6715 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.1489, allocations: 66.52 kB / 0.6716 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.1491, allocations: 88.77 kB / 0.6717 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.1491, allocations: 3.938 kB / 0.6717 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002832/0.1494, allocations: 133.5 kB / 0.6718 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.1494, allocations: 4 kB / 0.6718 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1494, allocations: 4 kB / 0.6718 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1495, allocations: 0 / 0.6718 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.059e-05/0.1495, allocations: 19.92 kB / 0.6718 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.1496, allocations: 0 / 0.6718 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.1497, allocations: 8 kB / 0.6718 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.1497, allocations: 0 / 0.6718 GB, free: 14.21 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 0.0001099/0.1498, allocations: 133.8 kB / 0.672 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.1498, allocations: 19.86 kB / 0.672 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003184/0.1501, allocations: 146.8 kB / 0.6721 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.1502, allocations: 4 kB / 0.6721 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.1502, allocations: 0 / 0.6721 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1502, allocations: 0 / 0.6721 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.1504, allocations: 237.5 kB / 0.6723 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1504, allocations: 0 / 0.6723 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.673e-05/0.1505, allocations: 11.98 kB / 0.6724 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1505, allocations: 0 / 0.6724 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.1505, allocations: 4 kB / 0.6724 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1505, allocations: 0 / 0.6724 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.1505, allocations: 0 / 0.6724 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.1508, allocations: 164.8 kB / 0.6725 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.962e-05/0.1509, allocations: 104.9 kB / 0.6726 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.1509, allocations: 4 kB / 0.6726 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.151, allocations: 8 kB / 0.6726 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.1511, allocations: 3.984 kB / 0.6726 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.1511, allocations: 0 / 0.6726 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006025/0.1517, allocations: 0.6214 MB / 0.6732 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1517, allocations: 0 / 0.6732 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002909/0.152, allocations: 75.86 kB / 0.6733 GB, free: 12.58 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.000778/0.1528, allocations: 0.7491 MB / 0.674 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002775/0.153, allocations: 87.91 kB / 0.6741 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1531, allocations: 0 / 0.6741 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.1532, allocations: 43.97 kB / 0.6742 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.1534, allocations: 12.55 kB / 0.6742 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/0.1571, allocations: 3.32 MB / 0.6774 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.1575, allocations: 0.724 MB / 0.6781 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.177e-05/0.1576, allocations: 20.64 kB / 0.6781 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.888e-05/0.1576, allocations: 59.36 kB / 0.6782 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.1577, allocations: 3.938 kB / 0.6782 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.1829, allocations: 4.582 MB / 0.6827 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/7.926, allocations: 6.203 kB / 0.6827 GB, free: 2.98 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)