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.001323/0.001323, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00157/0.00157, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.508/1.508, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002645/0.002644, allocations: 294.9 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.129/1.129, allocations: 178.6 MB / 0.507 GB, free: 4.738 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002715/0.002715, allocations: 94.45 kB / 0.6059 GB, free: 25.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.2002, allocations: 89.15 MB / 0.693 GB, free: 4.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002969/0.2032, allocations: 1.514 MB / 0.6945 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.2048, allocations: 0.8876 MB / 0.6953 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.744e-05/0.2049, allocations: 5.562 kB / 0.6953 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.205, allocations: 0 / 0.6953 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005554/0.2056, allocations: 126.7 kB / 0.6955 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.2059, allocations: 94.92 kB / 0.6955 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.206, allocations: 59.78 kB / 0.6956 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.2061, allocations: 4.781 kB / 0.6956 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.2062, allocations: 42.67 kB / 0.6956 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.2063, allocations: 47.81 kB / 0.6957 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.2063, allocations: 4 kB / 0.6957 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004043/0.2067, allocations: 231.7 kB / 0.6959 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.2069, allocations: 51.88 kB / 0.696 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.314e-05/0.2069, allocations: 45.11 kB / 0.696 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004053/0.2074, allocations: 263.2 kB / 0.6963 GB, free: 1.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2074, allocations: 0 / 0.6963 GB, free: 1.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2074, allocations: 0 / 0.6963 GB, free: 1.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.2074, allocations: 0.6562 kB / 0.6963 GB, free: 1.34 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.0007254/0.2081, allocations: 482.5 kB / 0.6967 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2082, allocations: 8.031 kB / 0.6967 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.002e-05/0.2082, allocations: 16.75 kB / 0.6967 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.2086, allocations: 259.9 kB / 0.697 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.2086, allocations: 384 / 0.697 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.2086, allocations: 8.125 kB / 0.697 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.2089, allocations: 69.66 kB / 0.6971 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2089, allocations: 3.938 kB / 0.6971 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.2089, allocations: 4 kB / 0.6971 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.2089, allocations: 4 kB / 0.6971 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002515/0.2092, allocations: 79.88 kB / 0.6972 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.2095, allocations: 229.6 kB / 0.6974 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.2098, allocations: 110.5 kB / 0.6975 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.21, allocations: 64.8 kB / 0.6975 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.794e-05/0.21, allocations: 19.97 kB / 0.6976 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.2101, allocations: 30.56 kB / 0.6976 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2101, allocations: 0 / 0.6976 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004585/0.2105, allocations: 165.4 kB / 0.6977 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.2106, allocations: 59.39 kB / 0.6978 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.2109, allocations: 299.1 kB / 0.6981 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.211, allocations: 33.64 kB / 0.6981 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.601e-05/0.2111, allocations: 116.1 kB / 0.6982 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.2111, allocations: 7.844 kB / 0.6982 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.2111, allocations: 17.72 kB / 0.6983 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.2113, allocations: 322.8 kB / 0.6986 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.2114, allocations: 43.97 kB / 0.6986 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.2116, allocations: 62.53 kB / 0.6987 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.2118, allocations: 88.73 kB / 0.6987 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2118, allocations: 0 / 0.6987 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002731/0.2121, allocations: 141.4 kB / 0.6989 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.2121, allocations: 8 kB / 0.6989 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.2121, allocations: 0 / 0.6989 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.2122, allocations: 0 / 0.6989 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.36e-05/0.2122, allocations: 11.98 kB / 0.6989 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.2122, allocations: 0 / 0.6989 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.421e-05/0.2123, allocations: 7.984 kB / 0.6989 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.2124, allocations: 0 / 0.6989 GB, free: 14.39 MB / 0.4981 GB 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.0001319/0.2125, allocations: 129.8 kB / 0.699 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.2125, allocations: 19.75 kB / 0.6991 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/0.2129, allocations: 138.5 kB / 0.6992 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2129, allocations: 0 / 0.6992 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.2129, allocations: 0 / 0.6992 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.2129, allocations: 3.938 kB / 0.6992 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.2131, allocations: 221.5 kB / 0.6994 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2131, allocations: 0 / 0.6994 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.429e-05/0.2132, allocations: 11.98 kB / 0.6994 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2132, allocations: 4 kB / 0.6994 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.2132, allocations: 0 / 0.6994 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2132, allocations: 0 / 0.6994 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2132, allocations: 0 / 0.6994 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.2135, allocations: 157.1 kB / 0.6996 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.862e-05/0.2136, allocations: 92.92 kB / 0.6997 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.2137, allocations: 4 kB / 0.6997 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.501e-05/0.2137, allocations: 7.984 kB / 0.6997 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.2138, allocations: 8.031 kB / 0.6997 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.2138, allocations: 0 / 0.6997 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002466/0.214, allocations: 232.5 kB / 0.6999 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2141, allocations: 0 / 0.6999 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003566/0.2144, allocations: 67.98 kB / 0.7 GB, free: 13.21 MB / 0.4981 GB 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.0003943/0.2148, allocations: 157.5 kB / 0.7001 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004034/0.2152, allocations: 87.92 kB / 0.7002 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.2153, allocations: 4 kB / 0.7002 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.2154, allocations: 47.91 kB / 0.7002 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.2158, allocations: 13.55 kB / 0.7003 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007945/0.2166, allocations: 339.2 kB / 0.7006 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004986/0.2172, allocations: 0.7242 MB / 0.7013 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.2173, allocations: 12.55 kB / 0.7013 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.2173, allocations: 15.44 kB / 0.7013 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of SimCode: time 6.61e-07/0.2173, allocations: 0 / 0.7013 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of Templates: time 0.008021/0.2254, allocations: 2.082 MB / 0.7033 GB, free: 9.695 MB / 0.4981 GB 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)