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.001172/0.001172, allocations: 105.9 kB / 16.41 MB, free: 5.977 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.001282/0.001282, allocations: 186.5 kB / 17.34 MB, free: 5.586 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002166/0.002166, allocations: 283.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9671/0.9671, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002013, allocations: 95.86 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4691/0.4711, allocations: 86.98 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.003066/0.4742, allocations: 1.446 MB / 0.7685 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0017/0.4759, allocations: 0.8869 MB / 0.7693 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.29e-05/0.476, allocations: 4 kB / 0.7693 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.4762, allocations: 11.92 kB / 0.7693 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006738/0.4769, allocations: 131.6 kB / 0.7695 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.4773, allocations: 113.5 kB / 0.7696 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.4774, allocations: 59.81 kB / 0.7696 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.168e-05/0.4775, allocations: 4 kB / 0.7696 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.4776, allocations: 43.89 kB / 0.7697 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.4777, allocations: 39.84 kB / 0.7697 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.4778, allocations: 4 kB / 0.7697 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004066/0.4782, allocations: 235.7 kB / 0.7699 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.558e-05/0.4783, allocations: 51.83 kB / 0.77 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.185e-05/0.4783, allocations: 47.67 kB / 0.77 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003848/0.4787, allocations: 257.8 kB / 0.7703 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4787, allocations: 0 / 0.7703 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4788, allocations: 4 kB / 0.7703 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.4788, allocations: 4 kB / 0.7703 GB, free: 0.6094 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.0007138/0.4795, allocations: 462.6 kB / 0.7707 GB, free: 112 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.4795, allocations: 19.91 kB / 0.7708 GB, free: 92 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.951e-05/0.4796, allocations: 20.73 kB / 0.7708 GB, free: 72 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.4799, allocations: 275.8 kB / 0.771 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.4799, allocations: 384 / 0.771 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.48, allocations: 3.938 kB / 0.771 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.4802, allocations: 77.66 kB / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.4802, allocations: 0 / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.4802, allocations: 0 / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.4802, allocations: 0 / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.4804, allocations: 83.88 kB / 0.7712 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.4807, allocations: 229.6 kB / 0.7714 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.481, allocations: 122.5 kB / 0.7715 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.4811, allocations: 44.89 kB / 0.7716 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.643e-05/0.4811, allocations: 11.98 kB / 0.7716 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.4812, allocations: 38.56 kB / 0.7716 GB, free: 15.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.4812, allocations: 0 / 0.7716 GB, free: 15.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004379/0.4816, allocations: 173.3 kB / 0.7718 GB, free: 14.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.4817, allocations: 51.41 kB / 0.7718 GB, free: 14.85 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.4819, allocations: 291.8 kB / 0.7721 GB, free: 14.55 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.482, allocations: 25.7 kB / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.371e-05/0.482, allocations: 116.1 kB / 0.7722 GB, free: 14.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.4821, allocations: 15.89 kB / 0.7723 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.4821, allocations: 13.72 kB / 0.7723 GB, free: 14.37 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.4822, allocations: 330.8 kB / 0.7726 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.4824, allocations: 35.97 kB / 0.7726 GB, free: 14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.4825, allocations: 66.7 kB / 0.7727 GB, free: 13.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.4827, allocations: 88.8 kB / 0.7728 GB, free: 13.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4827, allocations: 0 / 0.7728 GB, free: 13.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000259/0.483, allocations: 137.3 kB / 0.7729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.483, allocations: 4 kB / 0.7729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.483, allocations: 0 / 0.7729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.483, allocations: 4 kB / 0.7729 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.944e-05/0.4831, allocations: 7.984 kB / 0.7729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.4831, allocations: 4 kB / 0.7729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.158e-05/0.4832, allocations: 4 kB / 0.7729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.4832, allocations: 3.938 kB / 0.7729 GB, free: 13.67 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.0001208/0.4834, allocations: 144.2 kB / 0.7731 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.4834, allocations: 11.81 kB / 0.7731 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.4837, allocations: 150.4 kB / 0.7732 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4837, allocations: 0 / 0.7732 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4837, allocations: 0 / 0.7732 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.4837, allocations: 0 / 0.7732 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.4839, allocations: 221.5 kB / 0.7734 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4839, allocations: 4 kB / 0.7734 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.186e-05/0.484, allocations: 7.984 kB / 0.7734 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.484, allocations: 4 kB / 0.7735 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.484, allocations: 0 / 0.7735 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.484, allocations: 0 / 0.7735 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.484, allocations: 4 kB / 0.7735 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.4843, allocations: 160.8 kB / 0.7736 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.816e-05/0.4844, allocations: 92.92 kB / 0.7737 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.4844, allocations: 0 / 0.7737 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-05/0.4845, allocations: 11.98 kB / 0.7737 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.4845, allocations: 0 / 0.7737 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.4845, allocations: 4 kB / 0.7737 GB, free: 12.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001958/0.4847, allocations: 220.6 kB / 0.7739 GB, free: 12.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4847, allocations: 0 / 0.7739 GB, free: 12.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003223/0.4851, allocations: 68 kB / 0.774 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.0003022/0.4854, allocations: 159.2 kB / 0.7741 GB, free: 12.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002649/0.4857, allocations: 83.92 kB / 0.7742 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4857, allocations: 0 / 0.7742 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.4858, allocations: 48.23 kB / 0.7743 GB, free: 12.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.4861, allocations: 16.61 kB / 0.7743 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005199/0.4866, allocations: 301 kB / 0.7746 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.4869, allocations: 0.7164 MB / 0.7753 GB, free: 11.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.4869, allocations: 11.44 kB / 0.7753 GB, free: 11.09 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.4869, allocations: 7.938 kB / 0.7753 GB, free: 11.08 MB / 0.545 GB Notification: Performance of Templates: time 0.004338/0.4913, allocations: 2.173 MB / 0.7774 GB, free: 8.93 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)