Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.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.WindPressureLowRise,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",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.004743/0.004743, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001069/0.001069, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8086/0.8086, allocations: 135.1 MB / 425.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 60.12 kB / 0.5851 GB, free: 22.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1383, allocations: 80.92 MB / 0.6641 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002288/0.1406, allocations: 1.234 MB / 0.6654 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.1419, allocations: 0.7141 MB / 0.6661 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.914e-05/0.1419, allocations: 0 / 0.6661 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.269e-05/0.142, allocations: 0 / 0.6661 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.1421, allocations: 4 kB / 0.6661 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.1425, allocations: 87.69 kB / 0.6661 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.864e-05/0.1426, allocations: 11.94 kB / 0.6661 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.349e-05/0.1426, allocations: 7.984 kB / 0.6662 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.1427, allocations: 11.94 kB / 0.6662 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.037e-05/0.1428, allocations: 0 / 0.6662 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.1428, allocations: 0 / 0.6662 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.1431, allocations: 139.8 kB / 0.6663 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.1431, allocations: 0 / 0.6663 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.1432, allocations: 11.94 kB / 0.6663 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.1434, allocations: 72.11 kB / 0.6664 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1434, allocations: 0 / 0.6664 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.674e-06/0.1434, allocations: 4 kB / 0.6664 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.1434, allocations: 0 / 0.6664 GB, free: 4.102 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003872/0.1438, allocations: 331.4 kB / 0.6667 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1438, allocations: 13.11 kB / 0.6667 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.096e-05/0.1439, allocations: 30.75 kB / 0.6667 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.097e-05/0.1439, allocations: 8.859 kB / 0.6668 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.144, allocations: 164.3 kB / 0.6669 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.144, allocations: 4.125 kB / 0.6669 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.144, allocations: 7.984 kB / 0.6669 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.563e-05/0.1441, allocations: 41.64 kB / 0.667 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.1441, allocations: 0 / 0.667 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.1441, allocations: 3.938 kB / 0.667 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1442, allocations: 0 / 0.667 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.269e-05/0.1442, allocations: 7.984 kB / 0.667 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.1443, allocations: 145.7 kB / 0.6671 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.069e-05/0.1444, allocations: 30.48 kB / 0.6671 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.321e-05/0.1444, allocations: 16.84 kB / 0.6672 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004153/0.1448, allocations: 413.6 kB / 0.6676 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.1449, allocations: 34.56 kB / 0.6676 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1449, allocations: 4 kB / 0.6676 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001334/0.145, allocations: 41.69 kB / 0.6676 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.1451, allocations: 55.34 kB / 0.6677 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.273e-05/0.1451, allocations: 97.98 kB / 0.6678 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.1452, allocations: 25.7 kB / 0.6678 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.718e-05/0.1452, allocations: 80.14 kB / 0.6679 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.1452, allocations: 11.88 kB / 0.6679 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.1452, allocations: 17.72 kB / 0.6679 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.352e-05/0.1453, allocations: 310.8 kB / 0.6682 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.1454, allocations: 4 kB / 0.6682 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-06/0.1454, allocations: 128 / 0.6682 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.86e-05/0.1454, allocations: 16.92 kB / 0.6682 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1454, allocations: 3.938 kB / 0.6682 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.325e-05/0.1455, allocations: 41.69 kB / 0.6683 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1455, allocations: 7.938 kB / 0.6683 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1455, allocations: 0 / 0.6683 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1455, allocations: 0 / 0.6683 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.686e-05/0.1456, allocations: 4 kB / 0.6683 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.1456, allocations: 0 / 0.6683 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.64e-05/0.1456, allocations: 4.031 kB / 0.6683 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.1456, allocations: 4 kB / 0.6683 GB, free: 1.836 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 (2): * Single equations (assignments): 2 * 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 6.609e-05/0.1457, allocations: 113.8 kB / 0.6684 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-06/0.1457, allocations: 0 / 0.6684 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.84e-05/0.1458, allocations: 44.81 kB / 0.6684 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1458, allocations: 0 / 0.6684 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1458, allocations: 0 / 0.6684 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1458, allocations: 3.938 kB / 0.6684 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.785e-05/0.1459, allocations: 153.6 kB / 0.6686 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1459, allocations: 4.031 kB / 0.6686 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.359e-05/0.146, allocations: 7.938 kB / 0.6686 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.146, allocations: 0 / 0.6686 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.146, allocations: 4 kB / 0.6686 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.146, allocations: 0 / 0.6686 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.146, allocations: 0 / 0.6686 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.221e-05/0.1461, allocations: 76.95 kB / 0.6687 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.1461, allocations: 77.11 kB / 0.6687 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.1462, allocations: 4.031 kB / 0.6687 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.15e-05/0.1462, allocations: 0 / 0.6687 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.1462, allocations: 3.984 kB / 0.6688 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.1462, allocations: 4 kB / 0.6688 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.498e-05/0.1463, allocations: 75.28 kB / 0.6688 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1463, allocations: 0 / 0.6688 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002286/0.1465, allocations: 19.94 kB / 0.6688 GB, free: 1.148 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 (2): * Single equations (assignments): 2 * 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.0004794/0.147, allocations: 0.6332 MB / 0.6695 GB, free: 496 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.6e-05/0.1471, allocations: 11.98 kB / 0.6695 GB, free: 484 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1471, allocations: 0 / 0.6695 GB, free: 484 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.306e-05/0.1471, allocations: 7.938 kB / 0.6695 GB, free: 476 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.1472, allocations: 11.94 kB / 0.6695 GB, free: 464 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.1476, allocations: 138.4 kB / 0.6696 GB, free: 288 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.1479, allocations: 0.6729 MB / 0.6703 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.976e-05/0.1479, allocations: 3.984 kB / 0.6703 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.1479, allocations: 7.438 kB / 0.6703 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.1479, allocations: 0 / 0.6703 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01661/0.1645, allocations: 1.514 MB / 0.6718 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.353/7.518, allocations: 8.812 kB / 0.6718 GB, free: 14.16 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1)