Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="BuildingSystems_BuildingSystems_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.004099/0.004099, allocations: 96.31 kB / 15.73 MB, free: 6.055 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.001106/0.001106, allocations: 191.4 kB / 16.67 MB, free: 5.977 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002323/0.002323, allocations: 275 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9204/0.9204, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 99.89 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1455, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002258/0.1478, allocations: 1.236 MB / 0.7671 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.1489, allocations: 0.7059 MB / 0.7678 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.149, allocations: 0 / 0.7678 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.417e-05/0.149, allocations: 4 kB / 0.7678 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.1491, allocations: 0 / 0.7678 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.1494, allocations: 95.61 kB / 0.7679 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.754e-05/0.1495, allocations: 15.98 kB / 0.7679 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.1495, allocations: 4 kB / 0.7679 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.408e-05/0.1496, allocations: 3.938 kB / 0.7679 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.079e-05/0.1497, allocations: 7.984 kB / 0.7679 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.915e-06/0.1497, allocations: 0 / 0.7679 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002654/0.15, allocations: 135.8 kB / 0.768 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.15, allocations: 3.984 kB / 0.7681 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.012e-05/0.15, allocations: 3.938 kB / 0.7681 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.1502, allocations: 80.09 kB / 0.7681 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1502, allocations: 0 / 0.7681 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1502, allocations: 4 kB / 0.7681 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.1502, allocations: 0 / 0.7681 GB, free: 6.625 MB / 0.5606 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.0003413/0.1505, allocations: 331.3 kB / 0.7685 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1506, allocations: 12.03 kB / 0.7685 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.1506, allocations: 34.69 kB / 0.7685 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.25e-05/0.1507, allocations: 0.9375 kB / 0.7685 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1508, allocations: 164.4 kB / 0.7687 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1508, allocations: 8.062 kB / 0.7687 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.998e-06/0.1508, allocations: 8 kB / 0.7687 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.863e-05/0.1509, allocations: 34.2 kB / 0.7687 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1509, allocations: 0 / 0.7687 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.1509, allocations: 4 kB / 0.7687 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1509, allocations: 0 / 0.7687 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.904e-05/0.151, allocations: 0 / 0.7687 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.1511, allocations: 157.6 kB / 0.7689 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.118e-05/0.1512, allocations: 34.48 kB / 0.7689 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.761e-05/0.1512, allocations: 8.859 kB / 0.7689 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004152/0.1516, allocations: 413.6 kB / 0.7693 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.1516, allocations: 30.56 kB / 0.7693 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1516, allocations: 0 / 0.7693 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001346/0.1518, allocations: 45.69 kB / 0.7694 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.1518, allocations: 55.34 kB / 0.7694 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.112e-05/0.1519, allocations: 102 kB / 0.7695 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.1519, allocations: 29.64 kB / 0.7695 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/0.152, allocations: 80.14 kB / 0.7696 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.152, allocations: 7.953 kB / 0.7696 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.152, allocations: 13.72 kB / 0.7696 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.458e-05/0.1521, allocations: 310.8 kB / 0.7699 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.1521, allocations: 3.984 kB / 0.7699 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.15e-05/0.1522, allocations: 12.12 kB / 0.77 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.507e-05/0.1522, allocations: 8.859 kB / 0.77 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1522, allocations: 3.938 kB / 0.77 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.122e-05/0.1523, allocations: 41.64 kB / 0.77 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1523, allocations: 8 kB / 0.77 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1523, allocations: 0 / 0.77 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1523, allocations: 0 / 0.77 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.22e-05/0.1524, allocations: 7.984 kB / 0.77 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1524, allocations: 0 / 0.77 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.52e-05/0.1524, allocations: 4.094 kB / 0.77 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.1524, allocations: 0 / 0.77 GB, free: 4.367 MB / 0.5606 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.914e-05/0.1525, allocations: 110.4 kB / 0.7701 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-06/0.1525, allocations: 7.953 kB / 0.7701 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.498e-05/0.1526, allocations: 44.81 kB / 0.7702 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1526, allocations: 3.938 kB / 0.7702 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1526, allocations: 0 / 0.7702 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1526, allocations: 0 / 0.7702 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.765e-05/0.1527, allocations: 157.6 kB / 0.7703 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1527, allocations: 11.95 kB / 0.7703 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.99e-05/0.1527, allocations: 4 kB / 0.7703 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1527, allocations: 0 / 0.7703 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.1528, allocations: 0 / 0.7703 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1528, allocations: 0 / 0.7703 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1528, allocations: 0 / 0.7703 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.87e-05/0.1528, allocations: 65.06 kB / 0.7704 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.1529, allocations: 81.11 kB / 0.7705 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.1529, allocations: 8.031 kB / 0.7705 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.159e-05/0.1529, allocations: 0 / 0.7705 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.637e-06/0.1529, allocations: 0 / 0.7705 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.1529, allocations: 0 / 0.7705 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.904e-05/0.153, allocations: 79.28 kB / 0.7706 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.153, allocations: 3.938 kB / 0.7706 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002167/0.1532, allocations: 31.86 kB / 0.7706 GB, free: 3.672 MB / 0.5606 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.0004079/0.1536, allocations: 0.6247 MB / 0.7712 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.957e-05/0.1537, allocations: 12 kB / 0.7712 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1537, allocations: 0 / 0.7712 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.147e-05/0.1537, allocations: 7.938 kB / 0.7712 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.1539, allocations: 5.875 kB / 0.7712 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.1542, allocations: 139.2 kB / 0.7714 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.1544, allocations: 0.6768 MB / 0.772 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.808e-05/0.1544, allocations: 0 / 0.772 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.185e-05/0.1545, allocations: 7.438 kB / 0.772 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.1545, allocations: 0 / 0.772 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.1713, allocations: 1.548 MB / 0.7736 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.124/7.295, allocations: 6.625 kB / 0.7736 GB, free: 0.6992 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1)