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.009066/0.009066, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001546/0.001547, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.542/1.542, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002197/0.002197, allocations: 301.3 kB / 290.8 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 0.9596/0.9596, allocations: 169.2 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 99.84 kB / 0.6815 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6005/0.6024, allocations: 86.97 MB / 0.7664 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.003129/0.6056, allocations: 1.449 MB / 0.7678 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.6072, allocations: 0.8985 MB / 0.7687 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.131e-05/0.6073, allocations: 0 / 0.7687 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.6075, allocations: 7.938 kB / 0.7687 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006055/0.6081, allocations: 127.7 kB / 0.7688 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.6084, allocations: 113.5 kB / 0.7689 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.6085, allocations: 63.81 kB / 0.769 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.6086, allocations: 0 / 0.769 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.756e-05/0.6087, allocations: 43.84 kB / 0.769 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.6088, allocations: 43.88 kB / 0.7691 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.6088, allocations: 4 kB / 0.7691 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003641/0.6092, allocations: 235.7 kB / 0.7693 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.6093, allocations: 55.81 kB / 0.7693 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.471e-05/0.6094, allocations: 47.67 kB / 0.7694 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003886/0.6098, allocations: 253.8 kB / 0.7696 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.6098, allocations: 0 / 0.7696 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.345e-06/0.6098, allocations: 0 / 0.7696 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.6099, allocations: 4 kB / 0.7696 GB, free: 0.5898 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.000777/0.6106, allocations: 474.5 kB / 0.7701 GB, free: 80 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.6107, allocations: 8.031 kB / 0.7701 GB, free: 72 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.6108, allocations: 16.75 kB / 0.7701 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.6111, allocations: 275.8 kB / 0.7704 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.6111, allocations: 4.375 kB / 0.7704 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.6111, allocations: 3.938 kB / 0.7704 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.6113, allocations: 81.59 kB / 0.7705 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.6113, allocations: 0 / 0.7705 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.6113, allocations: 3.938 kB / 0.7705 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.6113, allocations: 0 / 0.7705 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.6115, allocations: 79.92 kB / 0.7705 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002475/0.6118, allocations: 229.6 kB / 0.7708 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.6121, allocations: 126.5 kB / 0.7709 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.6122, allocations: 40.89 kB / 0.7709 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.743e-05/0.6123, allocations: 15.98 kB / 0.7709 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.6123, allocations: 34.56 kB / 0.771 GB, free: 15.06 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 2.274e-06/0.6123, allocations: 0 / 0.771 GB, free: 15.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004096/0.6127, allocations: 173.3 kB / 0.7711 GB, free: 14.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.6128, allocations: 55.41 kB / 0.7712 GB, free: 14.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.6131, allocations: 291.8 kB / 0.7715 GB, free: 14.53 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.6131, allocations: 25.7 kB / 0.7715 GB, free: 14.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.491e-05/0.6132, allocations: 116.1 kB / 0.7716 GB, free: 14.38 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.6132, allocations: 7.906 kB / 0.7716 GB, free: 14.37 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.6133, allocations: 13.72 kB / 0.7716 GB, free: 14.35 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.6134, allocations: 338.8 kB / 0.7719 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.6135, allocations: 35.97 kB / 0.772 GB, free: 13.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.6136, allocations: 58.55 kB / 0.772 GB, free: 13.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.6138, allocations: 92.72 kB / 0.7721 GB, free: 13.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.6139, allocations: 4 kB / 0.7721 GB, free: 13.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002477/0.6141, allocations: 129.4 kB / 0.7722 GB, free: 13.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.6141, allocations: 4 kB / 0.7722 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6141, allocations: 0 / 0.7722 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.6142, allocations: 0 / 0.7722 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.012e-05/0.6142, allocations: 11.98 kB / 0.7723 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.6143, allocations: 0 / 0.7723 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.468e-05/0.6144, allocations: 11.92 kB / 0.7723 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.6144, allocations: 4 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 9.531e-05/0.6145, allocations: 140.2 kB / 0.7724 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.6145, allocations: 15.81 kB / 0.7724 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.6148, allocations: 142.8 kB / 0.7726 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.6148, allocations: 0 / 0.7726 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.6148, allocations: 4 kB / 0.7726 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.6148, allocations: 7.969 kB / 0.7726 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.615, allocations: 209.6 kB / 0.7728 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.615, allocations: 4 kB / 0.7728 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.395e-05/0.6151, allocations: 11.98 kB / 0.7728 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.6151, allocations: 0 / 0.7728 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.6151, allocations: 0 / 0.7728 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.6151, allocations: 4 kB / 0.7728 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6151, allocations: 4 kB / 0.7728 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.6154, allocations: 160.8 kB / 0.7729 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.534e-05/0.6154, allocations: 92.91 kB / 0.773 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.6155, allocations: 4 kB / 0.773 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.097e-05/0.6155, allocations: 4 kB / 0.773 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.6156, allocations: 7.984 kB / 0.773 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.6156, allocations: 0 / 0.773 GB, free: 12.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001782/0.6158, allocations: 220.6 kB / 0.7733 GB, free: 12.53 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6158, allocations: 0 / 0.7733 GB, free: 12.53 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003374/0.6161, allocations: 67.98 kB / 0.7733 GB, free: 12.46 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.0002843/0.6164, allocations: 159.2 kB / 0.7735 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002684/0.6167, allocations: 87.88 kB / 0.7736 GB, free: 12.21 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6167, allocations: 0 / 0.7736 GB, free: 12.21 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.6168, allocations: 47.95 kB / 0.7736 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.6171, allocations: 16.61 kB / 0.7736 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005118/0.6176, allocations: 299.2 kB / 0.7739 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.6179, allocations: 0.7203 MB / 0.7746 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.481e-05/0.618, allocations: 20.48 kB / 0.7746 GB, free: 11.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.618, allocations: 11.44 kB / 0.7746 GB, free: 11.05 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.618, allocations: 4 kB / 0.7746 GB, free: 11.04 MB / 0.545 GB Notification: Performance of Templates: time 0.004823/0.6229, allocations: 2.142 MB / 0.7767 GB, free: 8.918 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)