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.001538/0.001538, allocations: 104.8 kB / 16.4 MB, free: 6.508 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.001686/0.001686, allocations: 188 kB / 17.34 MB, free: 5.738 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.484/1.484, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002642/0.002642, allocations: 293 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.018/1.018, allocations: 169.3 MB / 0.499 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002761/0.002761, allocations: 95.84 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5122/0.515, allocations: 86.98 MB / 0.7671 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002574/0.5175, allocations: 1.446 MB / 0.7685 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.519, allocations: 0.9063 MB / 0.7693 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.032e-05/0.5191, allocations: 0 / 0.7693 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.5192, allocations: 7.922 kB / 0.7694 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0005698/0.5198, allocations: 133.6 kB / 0.7695 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.52, allocations: 103.7 kB / 0.7696 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.5202, allocations: 63.81 kB / 0.7696 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.5202, allocations: 7.797 kB / 0.7697 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.742e-05/0.5203, allocations: 39.83 kB / 0.7697 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.5204, allocations: 39.91 kB / 0.7697 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.5204, allocations: 4 kB / 0.7697 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003794/0.5208, allocations: 239.6 kB / 0.77 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.483e-05/0.5209, allocations: 55.81 kB / 0.77 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.185e-05/0.521, allocations: 47.67 kB / 0.7701 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003487/0.5213, allocations: 253 kB / 0.7703 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.5213, allocations: 0 / 0.7703 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5213, allocations: 4 kB / 0.7703 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.5213, allocations: 0 / 0.7703 GB, free: 0.6133 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.000687/0.522, allocations: 474.2 kB / 0.7708 GB, free: 104 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.5221, allocations: 16.03 kB / 0.7708 GB, free: 88 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.5221, allocations: 12.84 kB / 0.7708 GB, free: 76 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.5224, allocations: 280 kB / 0.771 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.5224, allocations: 384 / 0.7711 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.5225, allocations: 3.938 kB / 0.7711 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.5227, allocations: 77.59 kB / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.5227, allocations: 0 / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.5227, allocations: 0 / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.5227, allocations: 0 / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.5229, allocations: 83.94 kB / 0.7712 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.5232, allocations: 233.6 kB / 0.7714 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.5234, allocations: 114.5 kB / 0.7715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.5235, allocations: 48.83 kB / 0.7716 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/0.5236, allocations: 19.98 kB / 0.7716 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.5236, allocations: 30.56 kB / 0.7716 GB, free: 15.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.5236, allocations: 0 / 0.7716 GB, free: 15.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004224/0.524, allocations: 169.5 kB / 0.7718 GB, free: 14.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.5241, allocations: 51.41 kB / 0.7718 GB, free: 14.85 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/0.5244, allocations: 295.8 kB / 0.7721 GB, free: 14.55 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.5244, allocations: 29.7 kB / 0.7722 GB, free: 14.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/0.5245, allocations: 120.1 kB / 0.7723 GB, free: 14.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.5245, allocations: 7.938 kB / 0.7723 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.5245, allocations: 17.72 kB / 0.7723 GB, free: 14.37 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5247, allocations: 326.8 kB / 0.7726 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.5248, allocations: 43.91 kB / 0.7726 GB, free: 14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.5249, allocations: 66.53 kB / 0.7727 GB, free: 13.92 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.5251, allocations: 89.06 kB / 0.7728 GB, free: 13.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.5251, allocations: 0 / 0.7728 GB, free: 13.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002597/0.5254, allocations: 133.5 kB / 0.7729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.5254, allocations: 6.5 kB / 0.7729 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.5254, allocations: 3.938 kB / 0.7729 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.5254, allocations: 4.031 kB / 0.7729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.106e-05/0.5255, allocations: 15.92 kB / 0.773 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.5255, allocations: 0 / 0.773 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.323e-05/0.5256, allocations: 15.89 kB / 0.773 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.5256, allocations: 0 / 0.773 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.0001365/0.5257, allocations: 136.2 kB / 0.7731 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.5258, allocations: 15.91 kB / 0.7731 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003001/0.5261, allocations: 134.5 kB / 0.7732 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.5261, allocations: 4 kB / 0.7732 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.5261, allocations: 0 / 0.7732 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.5261, allocations: 0 / 0.7732 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.5263, allocations: 217.5 kB / 0.7735 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.5263, allocations: 0 / 0.7735 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.405e-05/0.5263, allocations: 8 kB / 0.7735 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.5263, allocations: 3.984 kB / 0.7735 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.5263, allocations: 7.938 kB / 0.7735 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5263, allocations: 0 / 0.7735 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5263, allocations: 4 kB / 0.7735 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.5266, allocations: 152.9 kB / 0.7736 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.237e-05/0.5267, allocations: 93.02 kB / 0.7737 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.5267, allocations: 0 / 0.7737 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.141e-05/0.5268, allocations: 7.984 kB / 0.7737 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.5268, allocations: 4 kB / 0.7737 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.5268, allocations: 0 / 0.7737 GB, free: 12.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002197/0.527, allocations: 228.6 kB / 0.7739 GB, free: 12.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.527, allocations: 3.938 kB / 0.7739 GB, free: 12.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000304/0.5273, allocations: 63.88 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.0002995/0.5276, allocations: 155.1 kB / 0.7742 GB, free: 12.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002755/0.5279, allocations: 91.86 kB / 0.7742 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.5279, allocations: 4 kB / 0.7742 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.528, allocations: 47.91 kB / 0.7743 GB, free: 12.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.5283, allocations: 17.55 kB / 0.7743 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005763/0.5289, allocations: 314.9 kB / 0.7746 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.5292, allocations: 0.7281 MB / 0.7753 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.701e-05/0.5293, allocations: 20.86 kB / 0.7753 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.5293, allocations: 11.44 kB / 0.7753 GB, free: 11.04 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.5293, allocations: 0 / 0.7753 GB, free: 11.04 MB / 0.545 GB Notification: Performance of Templates: time 0.005677/0.535, allocations: 2.154 MB / 0.7775 GB, free: 8.898 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)