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.001519/0.001519, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002562/0.002562, allocations: 294.8 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.073/1.073, allocations: 178.6 MB / 0.5073 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002772/0.002772, allocations: 98.83 kB / 0.6065 GB, free: 24.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1511, allocations: 89.14 MB / 0.6936 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002277/0.1534, allocations: 1.22 MB / 0.6948 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1545, allocations: 0.7182 MB / 0.6955 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/0.1546, allocations: 0 / 0.6955 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.203e-05/0.1546, allocations: 0.6562 kB / 0.6955 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.1547, allocations: 7.938 kB / 0.6955 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.155, allocations: 95.97 kB / 0.6956 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.772e-05/0.1551, allocations: 4 kB / 0.6956 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.1551, allocations: 11.97 kB / 0.6956 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.537e-05/0.1552, allocations: 11.94 kB / 0.6956 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.872e-05/0.1552, allocations: 0 / 0.6956 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.685e-06/0.1552, allocations: 0 / 0.6956 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.1555, allocations: 127.8 kB / 0.6957 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.1555, allocations: 8.703 kB / 0.6958 GB, free: 2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.1555, allocations: 7.984 kB / 0.6958 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.1557, allocations: 80.11 kB / 0.6958 GB, free: 1.914 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1557, allocations: 3.938 kB / 0.6958 GB, free: 1.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1557, allocations: 0 / 0.6958 GB, free: 1.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.1558, allocations: 0 / 0.6958 GB, free: 1.91 MB / 494.1 MB 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.0003656/0.1561, allocations: 335.4 kB / 0.6962 GB, free: 1.535 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1562, allocations: 12.03 kB / 0.6962 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.101e-05/0.1562, allocations: 34.75 kB / 0.6962 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.882e-05/0.1562, allocations: 4.875 kB / 0.6962 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.1564, allocations: 164.4 kB / 0.6964 GB, free: 1.277 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1564, allocations: 8.375 kB / 0.6964 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.1564, allocations: 3.938 kB / 0.6964 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.752e-05/0.1565, allocations: 33.7 kB / 0.6964 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.1565, allocations: 0 / 0.6964 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.68e-06/0.1565, allocations: 0 / 0.6964 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1565, allocations: 3.984 kB / 0.6964 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.852e-05/0.1565, allocations: 7.938 kB / 0.6964 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.1567, allocations: 149.7 kB / 0.6966 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.273e-05/0.1568, allocations: 30.55 kB / 0.6966 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.022e-05/0.1568, allocations: 8.859 kB / 0.6966 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004483/0.1572, allocations: 413.6 kB / 0.697 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1573, allocations: 34.56 kB / 0.697 GB, free: 440 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1573, allocations: 0 / 0.697 GB, free: 440 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000124/0.1574, allocations: 45.62 kB / 0.6971 GB, free: 388 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.1575, allocations: 55.53 kB / 0.6971 GB, free: 320 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.738e-05/0.1575, allocations: 93.86 kB / 0.6972 GB, free: 216 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.1575, allocations: 25.7 kB / 0.6972 GB, free: 184 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.1576, allocations: 80.14 kB / 0.6973 GB, free: 100 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.1576, allocations: 3.906 kB / 0.6973 GB, free: 96 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.1576, allocations: 21.7 kB / 0.6973 GB, free: 68 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1578, allocations: 310.8 kB / 0.6976 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.252e-05/0.1578, allocations: 8.125 kB / 0.6976 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.153e-06/0.1578, allocations: 0 / 0.6976 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.955e-05/0.1579, allocations: 12.86 kB / 0.6977 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1579, allocations: 0 / 0.6977 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.594e-05/0.1579, allocations: 49.56 kB / 0.6977 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.158, allocations: 4 kB / 0.6977 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.158, allocations: 0 / 0.6977 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.158, allocations: 0 / 0.6977 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.409e-05/0.158, allocations: 11.94 kB / 0.6977 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.158, allocations: 4.094 kB / 0.6977 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.415e-05/0.1581, allocations: 3.938 kB / 0.6977 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-06/0.1581, allocations: 0 / 0.6977 GB, free: 15.65 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.854e-05/0.1581, allocations: 113.8 kB / 0.6978 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-06/0.1582, allocations: 0 / 0.6978 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.967e-05/0.1583, allocations: 52.69 kB / 0.6979 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1583, allocations: 0 / 0.6979 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.1583, allocations: 0 / 0.6979 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1583, allocations: 4.031 kB / 0.6979 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.1584, allocations: 153.6 kB / 0.698 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1584, allocations: 0 / 0.698 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.207e-05/0.1584, allocations: 8 kB / 0.698 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1584, allocations: 0 / 0.698 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.1584, allocations: 0 / 0.698 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.1585, allocations: 4 kB / 0.698 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1585, allocations: 0 / 0.698 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.673e-05/0.1585, allocations: 76.97 kB / 0.6981 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.1586, allocations: 77.11 kB / 0.6982 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.996e-06/0.1586, allocations: 0 / 0.6982 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.087e-05/0.1586, allocations: 0 / 0.6982 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.1586, allocations: 3.938 kB / 0.6982 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.1587, allocations: 4 kB / 0.6982 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.606e-05/0.1587, allocations: 79.27 kB / 0.6983 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1587, allocations: 0 / 0.6983 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002107/0.1589, allocations: 20 kB / 0.6983 GB, free: 14.97 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.0004845/0.1594, allocations: 0.6321 MB / 0.6989 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.984e-05/0.1595, allocations: 11.92 kB / 0.6989 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1595, allocations: 0 / 0.6989 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.185e-05/0.1595, allocations: 8 kB / 0.6989 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.1596, allocations: 8.906 kB / 0.6989 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.16, allocations: 135.2 kB / 0.6991 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.1603, allocations: 0.669 MB / 0.6997 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.717e-05/0.1603, allocations: 4 kB / 0.6997 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.1604, allocations: 11.42 kB / 0.6997 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1604, allocations: 0 / 0.6997 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.085/1.246, allocations: 1.521 MB / 0.7012 GB, free: 12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/13.48, allocations: 10.86 kB / 0.7012 GB, free: 12 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1)