Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.WindPressureProfile,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="BuildingSystems_BuildingSystems_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.001594/0.001594, allocations: 108 kB / 15.6 MB, free: 132 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.001299/0.0013, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00253/0.00253, allocations: 286.5 kB / 290.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.097/1.097, allocations: 178.6 MB / 0.5073 GB, free: 4.531 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002787/0.002788, allocations: 99.86 kB / 0.6065 GB, free: 24.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1531, allocations: 89.15 MB / 0.6936 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.00277/0.1559, allocations: 1.439 MB / 0.695 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.1576, allocations: 0.8952 MB / 0.6959 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.1577, allocations: 0 / 0.6959 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.1578, allocations: 13.64 kB / 0.6959 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006091/0.1585, allocations: 128.4 kB / 0.696 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.1588, allocations: 108 kB / 0.6961 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.1589, allocations: 67.77 kB / 0.6962 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.1589, allocations: 3.938 kB / 0.6962 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.817e-05/0.159, allocations: 31.91 kB / 0.6962 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.1592, allocations: 51.81 kB / 0.6963 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.1592, allocations: 4 kB / 0.6963 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000383/0.1596, allocations: 227.7 kB / 0.6965 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.024e-05/0.1597, allocations: 51.88 kB / 0.6965 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.124e-05/0.1598, allocations: 67.53 kB / 0.6966 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003786/0.1602, allocations: 275.2 kB / 0.6969 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1602, allocations: 0 / 0.6969 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1602, allocations: 0 / 0.6969 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1602, allocations: 0 / 0.6969 GB, free: 0.8633 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007973/0.161, allocations: 0.4983 MB / 0.6973 GB, free: 324 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1611, allocations: 12.03 kB / 0.6974 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.1611, allocations: 34.75 kB / 0.6974 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.1612, allocations: 16.75 kB / 0.6974 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006936/0.1619, allocations: 0.651 MB / 0.698 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.1619, allocations: 384 / 0.698 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.1619, allocations: 11.94 kB / 0.6981 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.1621, allocations: 65.61 kB / 0.6981 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1621, allocations: 0 / 0.6981 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.1621, allocations: 11.98 kB / 0.6981 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1621, allocations: 4 kB / 0.6981 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/0.1624, allocations: 75.94 kB / 0.6982 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.1627, allocations: 317.6 kB / 0.6985 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.163, allocations: 118.5 kB / 0.6986 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.1632, allocations: 60.7 kB / 0.6987 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.565e-05/0.1632, allocations: 15.98 kB / 0.6987 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1633, allocations: 34.5 kB / 0.6987 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1633, allocations: 0 / 0.6987 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004745/0.1637, allocations: 169.4 kB / 0.6989 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.1638, allocations: 51.41 kB / 0.6989 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008214/0.1646, allocations: 0.7742 MB / 0.6997 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.1647, allocations: 29.7 kB / 0.6997 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.847e-05/0.1648, allocations: 128.1 kB / 0.6998 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.1648, allocations: 11.83 kB / 0.6999 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.1648, allocations: 17.72 kB / 0.6999 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.165, allocations: 330.8 kB / 0.7002 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.1651, allocations: 43.95 kB / 0.7002 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.1653, allocations: 66.48 kB / 0.7003 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.1655, allocations: 84.8 kB / 0.7004 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1655, allocations: 0 / 0.7004 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002875/0.1658, allocations: 137.3 kB / 0.7005 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1658, allocations: 5.094 kB / 0.7005 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1658, allocations: 8.031 kB / 0.7005 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1658, allocations: 0 / 0.7005 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.676e-05/0.1659, allocations: 11.98 kB / 0.7005 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.1659, allocations: 3.984 kB / 0.7005 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.1661, allocations: 9.531 kB / 0.7005 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.1661, allocations: 4 kB / 0.7005 GB, free: 12.85 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 (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.0001335/0.1662, allocations: 137.7 kB / 0.7007 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.1663, allocations: 15.81 kB / 0.7007 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003482/0.1666, allocations: 138.9 kB / 0.7008 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1666, allocations: 0 / 0.7008 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1667, allocations: 0 / 0.7008 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1667, allocations: 0 / 0.7008 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.1669, allocations: 241.5 kB / 0.7011 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1669, allocations: 0 / 0.7011 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.269e-05/0.167, allocations: 4 kB / 0.7011 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.167, allocations: 4 kB / 0.7011 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.167, allocations: 4 kB / 0.7011 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.167, allocations: 3.938 kB / 0.7011 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.167, allocations: 7.922 kB / 0.7011 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.1673, allocations: 161.1 kB / 0.7012 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.491e-05/0.1674, allocations: 104.8 kB / 0.7013 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.1674, allocations: 4 kB / 0.7013 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-05/0.1675, allocations: 11.98 kB / 0.7013 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.1676, allocations: 0 / 0.7013 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.1676, allocations: 4 kB / 0.7014 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005818/0.1682, allocations: 0.6136 MB / 0.702 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.71e-07/0.1682, allocations: 0 / 0.702 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003705/0.1686, allocations: 71.98 kB / 0.702 GB, free: 11.24 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 (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.000852/0.1694, allocations: 0.7527 MB / 0.7028 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002823/0.1697, allocations: 87.92 kB / 0.7028 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1697, allocations: 0 / 0.7028 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.1699, allocations: 43.97 kB / 0.7029 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.1701, allocations: 12.56 kB / 0.7029 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003862/0.174, allocations: 3.307 MB / 0.7061 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.1744, allocations: 0.7278 MB / 0.7068 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.694e-05/0.1745, allocations: 24.64 kB / 0.7069 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.508e-05/0.1746, allocations: 52.05 kB / 0.7069 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of SimCode: time 7.02e-07/0.1746, allocations: 0 / 0.7069 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.2018, allocations: 4.567 MB / 0.7114 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.123, allocations: 12.11 kB / 0.7114 GB, free: 1.684 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)