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.01131/0.01131, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.002141/0.002142, allocations: 187.4 kB / 16.67 MB, free: 5.887 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.439/1.439, allocations: 222.9 MB / 240.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002257/0.002257, allocations: 296.7 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.015/1.015, allocations: 169.2 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 95.84 kB / 0.6814 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6556/0.6578, allocations: 86.98 MB / 0.7664 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002969/0.6608, allocations: 1.446 MB / 0.7678 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001894/0.6627, allocations: 0.8908 MB / 0.7687 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.6628, allocations: 0 / 0.7687 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.6629, allocations: 11.92 kB / 0.7687 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006106/0.6636, allocations: 131.6 kB / 0.7688 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.664, allocations: 107.4 kB / 0.7689 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.6641, allocations: 63.83 kB / 0.769 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.6642, allocations: 0 / 0.769 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.6643, allocations: 39.84 kB / 0.769 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.6644, allocations: 47.88 kB / 0.769 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.6645, allocations: 4 kB / 0.7691 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.6649, allocations: 231.6 kB / 0.7693 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.665, allocations: 59.8 kB / 0.7693 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.333e-05/0.6651, allocations: 43.67 kB / 0.7694 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003857/0.6655, allocations: 261.9 kB / 0.7696 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.6655, allocations: 0 / 0.7696 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6655, allocations: 0 / 0.7696 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.6655, allocations: 4 kB / 0.7696 GB, free: 0.5977 MB / 0.5294 GB 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.0008296/0.6664, allocations: 466.6 kB / 0.7701 GB, free: 96 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.6664, allocations: 11.97 kB / 0.7701 GB, free: 84 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.863e-05/0.6665, allocations: 20.69 kB / 0.7701 GB, free: 64 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006057/0.6671, allocations: 275.8 kB / 0.7704 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.6671, allocations: 384 / 0.7704 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.6672, allocations: 7.938 kB / 0.7704 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.6674, allocations: 77.59 kB / 0.7704 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.6674, allocations: 0 / 0.7704 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.6674, allocations: 4 kB / 0.7704 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.6674, allocations: 0 / 0.7704 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.6676, allocations: 75.94 kB / 0.7705 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.6679, allocations: 233.6 kB / 0.7707 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.6682, allocations: 118.5 kB / 0.7709 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.6684, allocations: 52.83 kB / 0.7709 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.177e-05/0.6685, allocations: 15.98 kB / 0.7709 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.6685, allocations: 34.55 kB / 0.771 GB, free: 15.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.6685, allocations: 0 / 0.771 GB, free: 15.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.000497/0.669, allocations: 169.4 kB / 0.7711 GB, free: 14.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.6691, allocations: 51.41 kB / 0.7712 GB, free: 14.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003661/0.6695, allocations: 295.8 kB / 0.7714 GB, free: 14.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.6695, allocations: 29.7 kB / 0.7715 GB, free: 14.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.6696, allocations: 116.1 kB / 0.7716 GB, free: 14.39 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.6697, allocations: 3.906 kB / 0.7716 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.6697, allocations: 21.7 kB / 0.7716 GB, free: 14.36 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.6699, allocations: 326.8 kB / 0.7719 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.67, allocations: 47.91 kB / 0.772 GB, free: 13.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.6703, allocations: 62.53 kB / 0.772 GB, free: 13.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.6705, allocations: 80.8 kB / 0.7721 GB, free: 13.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6705, allocations: 0 / 0.7721 GB, free: 13.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003434/0.6708, allocations: 137.4 kB / 0.7722 GB, free: 13.69 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.6709, allocations: 8 kB / 0.7722 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.6709, allocations: 0 / 0.7722 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.6709, allocations: 0 / 0.7722 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.458e-05/0.671, allocations: 11.94 kB / 0.7723 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.671, allocations: 3.984 kB / 0.7723 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.742e-05/0.6711, allocations: 4 kB / 0.7723 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.6711, allocations: 7.938 kB / 0.7723 GB, free: 13.65 MB / 0.545 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.0001254/0.6712, allocations: 136.2 kB / 0.7724 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.6713, allocations: 15.81 kB / 0.7724 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006139/0.6719, allocations: 142.4 kB / 0.7726 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.6719, allocations: 0 / 0.7726 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.6719, allocations: 0 / 0.7726 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.6719, allocations: 0 / 0.7726 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003484/0.6723, allocations: 221.5 kB / 0.7728 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6723, allocations: 4 kB / 0.7728 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.782e-05/0.6724, allocations: 8 kB / 0.7728 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.6724, allocations: 3.938 kB / 0.7728 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.6724, allocations: 3.984 kB / 0.7728 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.6724, allocations: 0 / 0.7728 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6724, allocations: 0 / 0.7728 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.6727, allocations: 156.8 kB / 0.7729 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.988e-05/0.6728, allocations: 93.34 kB / 0.773 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.6728, allocations: 0 / 0.773 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.673, allocations: 7.984 kB / 0.773 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.6731, allocations: 4 kB / 0.773 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.6731, allocations: 4 kB / 0.773 GB, free: 12.76 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004467/0.6735, allocations: 224.6 kB / 0.7733 GB, free: 12.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6735, allocations: 0 / 0.7733 GB, free: 12.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004511/0.674, allocations: 64 kB / 0.7733 GB, free: 12.48 MB / 0.545 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.0003649/0.6744, allocations: 167.2 kB / 0.7735 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003337/0.6747, allocations: 91.86 kB / 0.7736 GB, free: 12.21 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.6747, allocations: 0 / 0.7736 GB, free: 12.21 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.6748, allocations: 43.97 kB / 0.7736 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.6752, allocations: 12.61 kB / 0.7736 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006917/0.6759, allocations: 301.2 kB / 0.7739 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006732/0.6766, allocations: 0.7242 MB / 0.7746 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.32e-05/0.6766, allocations: 16.55 kB / 0.7746 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.445e-05/0.6767, allocations: 15.38 kB / 0.7746 GB, free: 11.05 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.6767, allocations: 3.938 kB / 0.7746 GB, free: 11.05 MB / 0.545 GB Notification: Performance of Templates: time 0.006363/0.6831, allocations: 2.142 MB / 0.7767 GB, free: 8.926 MB / 0.545 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)