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.001228/0.001227, 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.001262/0.001262, allocations: 193.7 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002058, allocations: 283 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9625/0.9625, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 102 kB / 0.5952 GB, free: 27.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2501, allocations: 86.98 MB / 0.6802 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.004084/0.2543, allocations: 1.445 MB / 0.6816 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002541/0.2569, allocations: 0.8777 MB / 0.6825 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.356e-05/0.2569, allocations: 0 / 0.6825 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.2571, allocations: 11.88 kB / 0.6825 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007765/0.2579, allocations: 142.1 kB / 0.6826 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.2583, allocations: 96.05 kB / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.2585, allocations: 71.75 kB / 0.6828 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.598e-05/0.2586, allocations: 3.938 kB / 0.6828 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.2587, allocations: 31.91 kB / 0.6828 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.2589, allocations: 51.83 kB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.2589, allocations: 4 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005663/0.2595, allocations: 227.7 kB / 0.6831 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.2597, allocations: 55.81 kB / 0.6831 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.71e-05/0.2598, allocations: 43.67 kB / 0.6832 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005277/0.2603, allocations: 259.3 kB / 0.6834 GB, free: 13.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2603, allocations: 0 / 0.6834 GB, free: 13.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2604, allocations: 0 / 0.6834 GB, free: 13.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.2604, allocations: 4 kB / 0.6834 GB, free: 13.39 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.0009523/0.2614, allocations: 470.6 kB / 0.6839 GB, free: 12.88 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.2614, allocations: 12.03 kB / 0.6839 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.845e-05/0.2615, allocations: 12.75 kB / 0.6839 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.2619, allocations: 268 kB / 0.6841 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.262, allocations: 384 / 0.6841 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.262, allocations: 8.109 kB / 0.6841 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.2623, allocations: 77.59 kB / 0.6842 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2623, allocations: 4 kB / 0.6842 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.2624, allocations: 0 / 0.6842 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2624, allocations: 0 / 0.6842 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003483/0.2627, allocations: 79.94 kB / 0.6843 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.2631, allocations: 233.6 kB / 0.6845 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004032/0.2635, allocations: 114.5 kB / 0.6846 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.2637, allocations: 52.83 kB / 0.6847 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-05/0.2638, allocations: 15.97 kB / 0.6847 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.2639, allocations: 38.5 kB / 0.6847 GB, free: 11.87 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.063e-06/0.2639, allocations: 0 / 0.6847 GB, free: 11.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000682/0.2646, allocations: 169.4 kB / 0.6849 GB, free: 11.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.2646, allocations: 51.41 kB / 0.6849 GB, free: 11.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004772/0.2651, allocations: 295.1 kB / 0.6852 GB, free: 11.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.2652, allocations: 29.7 kB / 0.6853 GB, free: 11.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.2653, allocations: 116.1 kB / 0.6854 GB, free: 11.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.2654, allocations: 15.75 kB / 0.6854 GB, free: 11.17 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.253e-05/0.2655, allocations: 21.7 kB / 0.6854 GB, free: 11.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.2657, allocations: 326.8 kB / 0.6857 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.2659, allocations: 43.97 kB / 0.6858 GB, free: 10.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.2661, allocations: 66.47 kB / 0.6858 GB, free: 10.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.2665, allocations: 84.8 kB / 0.6859 GB, free: 10.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2665, allocations: 0 / 0.6859 GB, free: 10.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004614/0.2669, allocations: 133.4 kB / 0.686 GB, free: 10.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.267, allocations: 4 kB / 0.686 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.267, allocations: 0 / 0.686 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.267, allocations: 4 kB / 0.686 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.2672, allocations: 8 kB / 0.686 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.2672, allocations: 7.984 kB / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.2673, allocations: 4 kB / 0.6861 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.2674, allocations: 3.938 kB / 0.6861 GB, free: 10.44 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.0001579/0.2675, allocations: 135.1 kB / 0.6862 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.2676, allocations: 15.75 kB / 0.6862 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000453/0.2681, allocations: 138.9 kB / 0.6863 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.2681, allocations: 4.031 kB / 0.6863 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2681, allocations: 0 / 0.6863 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.2681, allocations: 0 / 0.6863 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.2684, allocations: 221.5 kB / 0.6865 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.2684, allocations: 4 kB / 0.6866 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.2685, allocations: 8 kB / 0.6866 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.2686, allocations: 4 kB / 0.6866 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.2686, allocations: 3.984 kB / 0.6866 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2686, allocations: 0 / 0.6866 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.2686, allocations: 3.938 kB / 0.6866 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.2691, allocations: 152.8 kB / 0.6867 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.346e-05/0.2692, allocations: 93.02 kB / 0.6868 GB, free: 9.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.2692, allocations: 0 / 0.6868 GB, free: 9.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.2693, allocations: 7.984 kB / 0.6868 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.2694, allocations: 0 / 0.6868 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.2694, allocations: 4 kB / 0.6868 GB, free: 9.559 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003183/0.2698, allocations: 220.6 kB / 0.687 GB, free: 9.344 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.346e-06/0.2698, allocations: 0 / 0.687 GB, free: 9.344 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005788/0.2704, allocations: 71.94 kB / 0.6871 GB, free: 9.273 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.0005183/0.2709, allocations: 167.1 kB / 0.6873 GB, free: 9.098 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004226/0.2713, allocations: 87.86 kB / 0.6873 GB, free: 9.012 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2714, allocations: 0 / 0.6873 GB, free: 9.012 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.2716, allocations: 43.97 kB / 0.6874 GB, free: 8.969 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.272, allocations: 15.23 kB / 0.6874 GB, free: 8.953 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00086/0.2729, allocations: 319.1 kB / 0.6877 GB, free: 8.617 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004962/0.2734, allocations: 0.7236 MB / 0.6884 GB, free: 7.867 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.2735, allocations: 16.53 kB / 0.6884 GB, free: 7.852 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.2736, allocations: 15.44 kB / 0.6884 GB, free: 7.836 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2736, allocations: 0 / 0.6884 GB, free: 7.836 MB / 494.1 MB Notification: Performance of Templates: time 0.008965/0.2826, allocations: 2.135 MB / 0.6905 GB, free: 5.723 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)