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.001134/0.001134, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001167/0.001167, allocations: 195.6 kB / 16.14 MB, free: 6.707 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.165/1.165, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001873/0.001873, allocations: 279.1 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8388/0.8388, allocations: 169.2 MB / 0.4977 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 89.89 kB / 0.5946 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1275, allocations: 86.98 MB / 0.6795 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.001959/0.1295, allocations: 1.289 MB / 0.6808 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009196/0.1304, allocations: 0.7176 MB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.064e-05/0.1305, allocations: 0.5312 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.1305, allocations: 0 / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.728e-05/0.1306, allocations: 4.656 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.1308, allocations: 77.52 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.42e-05/0.1308, allocations: 8 kB / 0.6816 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.062e-05/0.1309, allocations: 2.906 kB / 0.6816 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.483e-05/0.1309, allocations: 8 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.586e-05/0.131, allocations: 11.91 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.803e-06/0.131, allocations: 0 / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.1312, allocations: 135.7 kB / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.513e-06/0.1312, allocations: 0 / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.582e-05/0.1312, allocations: 4 kB / 0.6818 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.1314, allocations: 92.58 kB / 0.6818 GB, free: 14.72 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1314, allocations: 0.875 kB / 0.6818 GB, free: 14.72 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.1314, allocations: 0 / 0.6818 GB, free: 14.72 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.1314, allocations: 0 / 0.6818 GB, free: 14.72 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.0002711/0.1317, allocations: 329.2 kB / 0.6822 GB, free: 14.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.1317, allocations: 12.03 kB / 0.6822 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.458e-05/0.1317, allocations: 30.75 kB / 0.6822 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.636e-05/0.1318, allocations: 1.938 kB / 0.6822 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.251e-05/0.1318, allocations: 164.3 kB / 0.6824 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.495e-06/0.1319, allocations: 4.375 kB / 0.6824 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-06/0.1319, allocations: 7.938 kB / 0.6824 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.427e-05/0.1319, allocations: 33.69 kB / 0.6824 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.132, allocations: 4 kB / 0.6824 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-06/0.132, allocations: 0 / 0.6824 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.132, allocations: 0 / 0.6824 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.433e-05/0.132, allocations: 7.938 kB / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001138/0.1321, allocations: 149.7 kB / 0.6826 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.105e-05/0.1322, allocations: 30.55 kB / 0.6826 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.623e-05/0.1322, allocations: 4.859 kB / 0.6826 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003415/0.1325, allocations: 417.6 kB / 0.683 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.1326, allocations: 30.56 kB / 0.683 GB, free: 13.26 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1326, allocations: 4 kB / 0.683 GB, free: 13.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001021/0.1327, allocations: 37.73 kB / 0.6831 GB, free: 13.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.1327, allocations: 55.44 kB / 0.6831 GB, free: 13.15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.876e-05/0.1328, allocations: 105.8 kB / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.1328, allocations: 25.7 kB / 0.6832 GB, free: 13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.332e-05/0.1328, allocations: 80.14 kB / 0.6833 GB, free: 12.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.1328, allocations: 7.844 kB / 0.6833 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.1329, allocations: 17.72 kB / 0.6833 GB, free: 12.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.49e-05/0.1329, allocations: 310.8 kB / 0.6836 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.228e-06/0.1329, allocations: 4.125 kB / 0.6836 GB, free: 12.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-06/0.133, allocations: 11.98 kB / 0.6836 GB, free: 12.56 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.31e-05/0.133, allocations: 12.86 kB / 0.6837 GB, free: 12.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.133, allocations: 0 / 0.6837 GB, free: 12.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.401e-05/0.1331, allocations: 41.58 kB / 0.6837 GB, free: 12.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.1331, allocations: 8 kB / 0.6837 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.1331, allocations: 0 / 0.6837 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.1331, allocations: 3.984 kB / 0.6837 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.717e-05/0.1331, allocations: 8.094 kB / 0.6837 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1331, allocations: 7.922 kB / 0.6837 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.176e-05/0.1332, allocations: 0 / 0.6837 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-06/0.1332, allocations: 0 / 0.6837 GB, free: 12.47 MB / 494.1 MB 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 5.318e-05/0.1332, allocations: 119.1 kB / 0.6838 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-06/0.1332, allocations: 0 / 0.6838 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.332e-05/0.1333, allocations: 48.75 kB / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1333, allocations: 0 / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.1333, allocations: 0 / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.1333, allocations: 4.031 kB / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.591e-05/0.1334, allocations: 149.6 kB / 0.684 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1334, allocations: 0 / 0.684 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-05/0.1335, allocations: 7.984 kB / 0.684 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.1335, allocations: 0 / 0.684 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.1335, allocations: 0 / 0.684 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1335, allocations: 0 / 0.684 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1335, allocations: 0 / 0.684 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.395e-05/0.1335, allocations: 69.08 kB / 0.6841 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.886e-05/0.1336, allocations: 89 kB / 0.6842 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-06/0.1336, allocations: 0 / 0.6842 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.033e-05/0.1336, allocations: 0 / 0.6842 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.122e-05/0.1336, allocations: 3.938 kB / 0.6842 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1336, allocations: 7.938 kB / 0.6842 GB, free: 11.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.683e-05/0.1337, allocations: 79.28 kB / 0.6843 GB, free: 11.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1337, allocations: 0 / 0.6843 GB, free: 11.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001984/0.1339, allocations: 20 kB / 0.6843 GB, free: 11.79 MB / 494.1 MB 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.0003364/0.1342, allocations: 0.6321 MB / 0.6849 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.019e-05/0.1343, allocations: 4 kB / 0.6849 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1343, allocations: 3.938 kB / 0.6849 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.458e-06/0.1343, allocations: 4 kB / 0.6849 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.1344, allocations: 12.09 kB / 0.6849 GB, free: 11.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002783/0.1347, allocations: 125.2 kB / 0.6851 GB, free: 10.94 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.1349, allocations: 0.677 MB / 0.6857 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.568e-05/0.1349, allocations: 3.938 kB / 0.6857 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.696e-05/0.1349, allocations: 11.44 kB / 0.6857 GB, free: 10.22 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1349, allocations: 0 / 0.6857 GB, free: 10.22 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.049/1.184, allocations: 1.412 MB / 0.6871 GB, free: 8.965 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/1.185, allocations: 233.5 kB / 0.6873 GB, free: 8.711 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/2.844, allocations: 3.938 kB / 0.6873 GB, free: 8.707 MB / 494.1 MB (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)