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.0007678/0.0007678, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008665/0.0008666, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001752/0.001752, allocations: 266.9 kB / 291.3 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.003/1.003, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006101/0.0006102, allocations: 13.47 kB / 0.598 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2369, allocations: 88.55 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.001527/0.2385, allocations: 1.16 MB / 0.6856 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.2397, allocations: 0.8267 MB / 0.6864 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.534e-05/0.2398, allocations: 0 / 0.6864 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.2399, allocations: 7.984 kB / 0.6864 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004488/0.2404, allocations: 105.3 kB / 0.6865 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.2405, allocations: 87.83 kB / 0.6866 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.174e-05/0.2406, allocations: 61.41 kB / 0.6867 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.2407, allocations: 8.266 kB / 0.6867 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.806e-05/0.2408, allocations: 31.91 kB / 0.6867 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.2409, allocations: 54.61 kB / 0.6868 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.2409, allocations: 4 kB / 0.6868 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003132/0.2412, allocations: 211.7 kB / 0.687 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.702e-05/0.2413, allocations: 55.88 kB / 0.687 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.2414, allocations: 37.64 kB / 0.6871 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.2416, allocations: 175.6 kB / 0.6872 GB, free: 12.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2416, allocations: 0.5 kB / 0.6872 GB, free: 12.61 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2416, allocations: 3.625 kB / 0.6872 GB, free: 12.61 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.2417, allocations: 0 / 0.6872 GB, free: 12.61 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.0005572/0.2422, allocations: 458.6 kB / 0.6877 GB, free: 12.11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.2423, allocations: 8.031 kB / 0.6877 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.2423, allocations: 15.81 kB / 0.6877 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.2426, allocations: 270.6 kB / 0.688 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.2426, allocations: 0.625 kB / 0.688 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.2426, allocations: 4.656 kB / 0.688 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.2428, allocations: 79.38 kB / 0.688 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2428, allocations: 0 / 0.688 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.2429, allocations: 0 / 0.688 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2429, allocations: 0.6562 kB / 0.688 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.2431, allocations: 89.84 kB / 0.6881 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.2433, allocations: 239.5 kB / 0.6883 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.2436, allocations: 122.5 kB / 0.6885 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.2437, allocations: 52.89 kB / 0.6885 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.986e-05/0.2438, allocations: 19.97 kB / 0.6885 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.2438, allocations: 30.56 kB / 0.6886 GB, free: 11.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.277e-06/0.2438, allocations: 4 kB / 0.6886 GB, free: 11.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004038/0.2442, allocations: 185.4 kB / 0.6887 GB, free: 10.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.2443, allocations: 55.34 kB / 0.6888 GB, free: 10.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.2446, allocations: 299.1 kB / 0.6891 GB, free: 10.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.2446, allocations: 25.7 kB / 0.6891 GB, free: 10.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.777e-05/0.2447, allocations: 120.1 kB / 0.6892 GB, free: 10.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.2447, allocations: 15.83 kB / 0.6892 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-06/0.2447, allocations: 0 / 0.6892 GB, free: 10.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.2448, allocations: 330.8 kB / 0.6896 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.719e-05/0.2449, allocations: 43.97 kB / 0.6896 GB, free: 9.988 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.2451, allocations: 62.55 kB / 0.6897 GB, free: 9.918 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.2452, allocations: 51.95 kB / 0.6897 GB, free: 9.867 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2452, allocations: 0 / 0.6897 GB, free: 9.867 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002393/0.2455, allocations: 141.4 kB / 0.6898 GB, free: 9.723 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2455, allocations: 4 kB / 0.6898 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2455, allocations: 0 / 0.6898 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2455, allocations: 0 / 0.6898 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.549e-05/0.2456, allocations: 19.98 kB / 0.6899 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2456, allocations: 0 / 0.6899 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.72e-05/0.2457, allocations: 15.98 kB / 0.6899 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.2457, allocations: 0 / 0.6899 GB, free: 9.684 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.2458, allocations: 138.4 kB / 0.69 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/0.2459, allocations: 15.75 kB / 0.69 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002966/0.2462, allocations: 150.5 kB / 0.6902 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2462, allocations: 0 / 0.6902 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2462, allocations: 0 / 0.6902 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2462, allocations: 0 / 0.6902 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.2464, allocations: 217.5 kB / 0.6904 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2464, allocations: 0 / 0.6904 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.251e-05/0.2465, allocations: 15.98 kB / 0.6904 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2465, allocations: 3.938 kB / 0.6904 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.2465, allocations: 4 kB / 0.6904 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2465, allocations: 0 / 0.6904 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.2465, allocations: 0 / 0.6904 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.2468, allocations: 164.8 kB / 0.6906 GB, free: 8.902 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-05/0.2468, allocations: 100.9 kB / 0.6906 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.2469, allocations: 0 / 0.6906 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.76e-05/0.2469, allocations: 11.98 kB / 0.6907 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.247, allocations: 0 / 0.6907 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.247, allocations: 0 / 0.6907 GB, free: 8.773 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002066/0.2472, allocations: 224.6 kB / 0.6909 GB, free: 8.555 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2472, allocations: 4 kB / 0.6909 GB, free: 8.551 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003521/0.2476, allocations: 68 kB / 0.6909 GB, free: 8.484 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002729/0.2478, allocations: 155.1 kB / 0.6911 GB, free: 8.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002624/0.2481, allocations: 100.4 kB / 0.6912 GB, free: 8.223 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2481, allocations: 0 / 0.6912 GB, free: 8.223 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.75e-05/0.2482, allocations: 47.95 kB / 0.6912 GB, free: 8.176 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.2485, allocations: 14.78 kB / 0.6912 GB, free: 8.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005455/0.249, allocations: 349.5 kB / 0.6916 GB, free: 7.797 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.2494, allocations: 0.724 MB / 0.6923 GB, free: 7.047 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.859e-05/0.2494, allocations: 16.53 kB / 0.6923 GB, free: 7.031 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.2495, allocations: 15.44 kB / 0.6923 GB, free: 7.016 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.2495, allocations: 0 / 0.6923 GB, free: 7.016 MB / 494.1 MB Notification: Performance of Templates: time 0.004802/0.2543, allocations: 1.987 MB / 0.6943 GB, free: 5.043 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)