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: translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 112.2 kB / 16.37 MB, free: 5.953 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.001243/0.001243, allocations: 190.2 kB / 17.3 MB, free: 5.578 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002126/0.002126, allocations: 276.6 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9208/0.9208, allocations: 169.2 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 102 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1508, allocations: 86.97 MB / 0.6816 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.00268/0.1535, allocations: 1.434 MB / 0.683 GB, free: 5.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.155, allocations: 0.8858 MB / 0.6839 GB, free: 5.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.155, allocations: 0 / 0.6839 GB, free: 5.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.1552, allocations: 11.94 kB / 0.6839 GB, free: 5.078 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005692/0.1558, allocations: 138.5 kB / 0.684 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.156, allocations: 99.69 kB / 0.6841 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.1562, allocations: 71.75 kB / 0.6842 GB, free: 4.777 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.1562, allocations: 7.938 kB / 0.6842 GB, free: 4.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.1563, allocations: 35.91 kB / 0.6842 GB, free: 4.734 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.1565, allocations: 43.88 kB / 0.6843 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1565, allocations: 7.938 kB / 0.6843 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003627/0.1569, allocations: 231.7 kB / 0.6845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.796e-05/0.157, allocations: 51.88 kB / 0.6845 GB, free: 4.406 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.843e-05/0.157, allocations: 51.61 kB / 0.6846 GB, free: 4.355 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.1573, allocations: 251.4 kB / 0.6848 GB, free: 4.109 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1574, allocations: 0 / 0.6848 GB, free: 4.109 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1574, allocations: 0 / 0.6848 GB, free: 4.109 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1574, allocations: 0 / 0.6848 GB, free: 4.109 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.0006186/0.158, allocations: 474.5 kB / 0.6853 GB, free: 3.598 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.158, allocations: 12.03 kB / 0.6853 GB, free: 3.586 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.1581, allocations: 16.75 kB / 0.6853 GB, free: 3.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.1584, allocations: 263.9 kB / 0.6856 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1584, allocations: 4.375 kB / 0.6856 GB, free: 3.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.1584, allocations: 8.109 kB / 0.6856 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.1586, allocations: 69.67 kB / 0.6856 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.1586, allocations: 0 / 0.6856 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1586, allocations: 0 / 0.6856 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1586, allocations: 0 / 0.6856 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.1588, allocations: 87.86 kB / 0.6857 GB, free: 3.102 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000242/0.1591, allocations: 233.6 kB / 0.686 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.1593, allocations: 122.4 kB / 0.6861 GB, free: 2.695 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.1595, allocations: 52.83 kB / 0.6861 GB, free: 2.641 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.882e-05/0.1595, allocations: 23.97 kB / 0.6861 GB, free: 2.617 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.1595, allocations: 30.56 kB / 0.6862 GB, free: 2.578 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1595, allocations: 4 kB / 0.6862 GB, free: 2.574 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003967/0.1599, allocations: 165.4 kB / 0.6863 GB, free: 2.406 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.16, allocations: 59.28 kB / 0.6864 GB, free: 2.336 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.1603, allocations: 295.8 kB / 0.6867 GB, free: 2.039 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.1603, allocations: 29.7 kB / 0.6867 GB, free: 2.004 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.1605, allocations: 120.1 kB / 0.6868 GB, free: 1.883 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.1605, allocations: 11.81 kB / 0.6868 GB, free: 1.871 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.1605, allocations: 17.72 kB / 0.6868 GB, free: 1.848 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1607, allocations: 326.8 kB / 0.6872 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.1608, allocations: 39.97 kB / 0.6872 GB, free: 1.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.1609, allocations: 62.55 kB / 0.6873 GB, free: 1.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.1611, allocations: 84.8 kB / 0.6873 GB, free: 1.324 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1611, allocations: 3.984 kB / 0.6873 GB, free: 1.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002877/0.1614, allocations: 125.4 kB / 0.6875 GB, free: 1.191 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1614, allocations: 4 kB / 0.6875 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1614, allocations: 0 / 0.6875 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1615, allocations: 4.031 kB / 0.6875 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.706e-05/0.1615, allocations: 11.98 kB / 0.6875 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.1615, allocations: 0 / 0.6875 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.584e-05/0.1616, allocations: 19.89 kB / 0.6875 GB, free: 1.152 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.1617, allocations: 0 / 0.6875 GB, free: 1.152 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 (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.0001015/0.1618, allocations: 129.8 kB / 0.6876 GB, free: 1.016 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.1618, allocations: 11.84 kB / 0.6876 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.1621, allocations: 138.5 kB / 0.6878 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1621, allocations: 7.938 kB / 0.6878 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1621, allocations: 3.984 kB / 0.6878 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1621, allocations: 0 / 0.6878 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.1623, allocations: 209.6 kB / 0.688 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1623, allocations: 0 / 0.688 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.183e-05/0.1624, allocations: 15.98 kB / 0.688 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1624, allocations: 3.938 kB / 0.688 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.1624, allocations: 4 kB / 0.688 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1624, allocations: 4 kB / 0.688 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1624, allocations: 0 / 0.688 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.1626, allocations: 157.2 kB / 0.6882 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.1627, allocations: 93 kB / 0.6882 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.1627, allocations: 0 / 0.6882 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.065e-05/0.1628, allocations: 4 kB / 0.6882 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.1628, allocations: 11.92 kB / 0.6883 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.1628, allocations: 0 / 0.6883 GB, free: 276 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.163, allocations: 224.6 kB / 0.6885 GB, free: 52 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.163, allocations: 0 / 0.6885 GB, free: 52 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.2696/0.4327, allocations: 67.91 kB / 0.6885 GB, free: 18.27 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 (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.0003481/0.4331, allocations: 152.4 kB / 0.6887 GB, free: 18.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003536/0.4334, allocations: 88.8 kB / 0.6888 GB, free: 18.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4334, allocations: 0.9062 kB / 0.6888 GB, free: 18.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.4336, allocations: 45.14 kB / 0.6888 GB, free: 18.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.4338, allocations: 13.59 kB / 0.6888 GB, free: 18.17 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005533/0.4344, allocations: 307.9 kB / 0.6891 GB, free: 18.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.4346, allocations: 0.7261 MB / 0.6898 GB, free: 17.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.804e-05/0.4347, allocations: 16.14 kB / 0.6898 GB, free: 17.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.4347, allocations: 11.97 kB / 0.6899 GB, free: 17.32 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4347, allocations: 1.188 kB / 0.6899 GB, free: 17.32 MB / 494.1 MB Notification: Performance of Templates: time 0.005802/0.4405, allocations: 2.134 MB / 0.6919 GB, free: 17.27 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)