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.001756/0.001756, allocations: 110.8 kB / 16.37 MB, free: 6.004 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.001908/0.001908, allocations: 195.8 kB / 17.31 MB, free: 5.613 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.818/1.818, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002858/0.002858, allocations: 285.5 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.141/1.141, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002749/0.00275, allocations: 95.14 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3201, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.004167/0.3244, allocations: 1.45 MB / 0.683 GB, free: 6 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.3265, allocations: 0.882 MB / 0.6839 GB, free: 5.113 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.3266, allocations: 0 / 0.6839 GB, free: 5.113 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.3269, allocations: 7.938 kB / 0.6839 GB, free: 5.105 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007563/0.3276, allocations: 138.4 kB / 0.684 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.3279, allocations: 107.7 kB / 0.6841 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.3281, allocations: 63.81 kB / 0.6842 GB, free: 4.805 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.185e-05/0.3282, allocations: 7.938 kB / 0.6842 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.3283, allocations: 43.83 kB / 0.6842 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.3285, allocations: 35.91 kB / 0.6843 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.3285, allocations: 4 kB / 0.6843 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004654/0.329, allocations: 235.6 kB / 0.6845 GB, free: 4.484 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.3291, allocations: 51.88 kB / 0.6845 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.41e-05/0.3292, allocations: 59.55 kB / 0.6846 GB, free: 4.375 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004592/0.3297, allocations: 251.4 kB / 0.6848 GB, free: 4.129 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.3297, allocations: 0 / 0.6848 GB, free: 4.129 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.228e-06/0.3297, allocations: 0 / 0.6848 GB, free: 4.129 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.3297, allocations: 0 / 0.6848 GB, free: 4.129 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.0009591/0.3307, allocations: 474.5 kB / 0.6853 GB, free: 3.617 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/0.3308, allocations: 12.03 kB / 0.6853 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.062e-05/0.3309, allocations: 12.75 kB / 0.6853 GB, free: 3.594 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.3313, allocations: 260 kB / 0.6856 GB, free: 3.301 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.3313, allocations: 12.31 kB / 0.6856 GB, free: 3.289 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.3314, allocations: 4.125 kB / 0.6856 GB, free: 3.285 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.3316, allocations: 73.66 kB / 0.6857 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3316, allocations: 0 / 0.6857 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3316, allocations: 0 / 0.6857 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.3317, allocations: 0 / 0.6857 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.3319, allocations: 83.86 kB / 0.6857 GB, free: 3.125 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.3323, allocations: 237.6 kB / 0.686 GB, free: 2.844 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.3326, allocations: 118.4 kB / 0.6861 GB, free: 2.719 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.3328, allocations: 48.83 kB / 0.6861 GB, free: 2.668 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.697e-05/0.3329, allocations: 19.97 kB / 0.6861 GB, free: 2.648 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.3329, allocations: 38.56 kB / 0.6862 GB, free: 2.602 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.3329, allocations: 0 / 0.6862 GB, free: 2.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005015/0.3334, allocations: 165.6 kB / 0.6863 GB, free: 2.434 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.3335, allocations: 51.41 kB / 0.6864 GB, free: 2.371 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/0.3339, allocations: 295.8 kB / 0.6867 GB, free: 2.074 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.3339, allocations: 25.7 kB / 0.6867 GB, free: 2.043 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.334, allocations: 120.1 kB / 0.6868 GB, free: 1.922 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.053e-05/0.3341, allocations: 19.75 kB / 0.6868 GB, free: 1.902 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.65e-05/0.3342, allocations: 17.72 kB / 0.6868 GB, free: 1.879 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.3344, allocations: 322.8 kB / 0.6871 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.3345, allocations: 43.95 kB / 0.6872 GB, free: 1.512 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.3346, allocations: 58.53 kB / 0.6872 GB, free: 1.445 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.3349, allocations: 92.83 kB / 0.6873 GB, free: 1.352 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3349, allocations: 0 / 0.6873 GB, free: 1.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002802/0.3352, allocations: 129.5 kB / 0.6875 GB, free: 1.219 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.3352, allocations: 4 kB / 0.6875 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.3352, allocations: 0 / 0.6875 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.3352, allocations: 0 / 0.6875 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.43e-05/0.3353, allocations: 15.92 kB / 0.6875 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.3353, allocations: 4 kB / 0.6875 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.3355, allocations: 23.83 kB / 0.6875 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.3355, allocations: 0 / 0.6875 GB, free: 1.172 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.0001559/0.3356, allocations: 125.8 kB / 0.6876 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.3357, allocations: 11.84 kB / 0.6876 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.336, allocations: 138.5 kB / 0.6878 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.336, allocations: 8 kB / 0.6878 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.336, allocations: 0 / 0.6878 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.336, allocations: 0 / 0.6878 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.3363, allocations: 217.5 kB / 0.688 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3363, allocations: 0 / 0.688 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.975e-05/0.3364, allocations: 15.92 kB / 0.688 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3364, allocations: 3.938 kB / 0.688 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.3364, allocations: 8 kB / 0.688 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3364, allocations: 0 / 0.688 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3365, allocations: 0 / 0.688 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.3367, allocations: 156.8 kB / 0.6882 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.3369, allocations: 89.02 kB / 0.6882 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.3369, allocations: 3.984 kB / 0.6882 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.63e-05/0.337, allocations: 4 kB / 0.6883 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/0.337, allocations: 0 / 0.6883 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.337, allocations: 3.984 kB / 0.6883 GB, free: 304 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002632/0.3373, allocations: 224.6 kB / 0.6885 GB, free: 80 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3373, allocations: 0 / 0.6885 GB, free: 80 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003679/0.3377, allocations: 67.98 kB / 0.6885 GB, free: 12 kB / 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.7209/1.059, allocations: 150.2 kB / 0.6887 GB, free: 18.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006247/1.059, allocations: 90.78 kB / 0.6888 GB, free: 18.21 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.059, allocations: 0 / 0.6888 GB, free: 18.21 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/1.059, allocations: 42.45 kB / 0.6888 GB, free: 18.21 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000521/1.06, allocations: 16.12 kB / 0.6888 GB, free: 18.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009536/1.061, allocations: 315.2 kB / 0.6891 GB, free: 18.05 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/1.061, allocations: 0.7217 MB / 0.6898 GB, free: 17.36 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.246e-05/1.061, allocations: 21.25 kB / 0.6898 GB, free: 17.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/1.062, allocations: 13.19 kB / 0.6899 GB, free: 17.35 MB / 494.1 MB Notification: Performance of SimCode: time 6.01e-07/1.062, allocations: 2.625 kB / 0.6899 GB, free: 17.35 MB / 494.1 MB Notification: Performance of Templates: time 0.00975/1.071, allocations: 2.129 MB / 0.6919 GB, free: 17.29 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)