Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 104.6 kB / 16.27 MB, free: 6.031 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.001334/0.001333, allocations: 192.1 kB / 17.2 MB, free: 5.66 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.128/1.128, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6466/0.6466, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 60.14 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2695, allocations: 77.93 MB / 0.5673 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002102/0.2716, allocations: 1.425 MB / 0.5687 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.2728, allocations: 0.883 MB / 0.5695 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.481e-05/0.2728, allocations: 1.156 kB / 0.5695 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.273, allocations: 13.86 kB / 0.5696 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004659/0.2734, allocations: 135.4 kB / 0.5697 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.2737, allocations: 101.4 kB / 0.5698 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.368e-05/0.2738, allocations: 61.95 kB / 0.5698 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.173e-05/0.2738, allocations: 7.234 kB / 0.5699 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.98e-05/0.2739, allocations: 39.77 kB / 0.5699 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.426e-05/0.274, allocations: 44.59 kB / 0.5699 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.274, allocations: 4.938 kB / 0.5699 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003278/0.2743, allocations: 230.2 kB / 0.5702 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.129e-05/0.2744, allocations: 57.75 kB / 0.5702 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.289e-05/0.2745, allocations: 62.86 kB / 0.5703 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.2748, allocations: 280.7 kB / 0.5705 GB, free: 30.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2748, allocations: 1.5 kB / 0.5705 GB, free: 30.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2748, allocations: 0.6094 kB / 0.5705 GB, free: 30.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.2749, allocations: 0 / 0.5705 GB, free: 30.63 MB / 446.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.0005469/0.2754, allocations: 0.4982 MB / 0.571 GB, free: 30.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.2755, allocations: 9.531 kB / 0.571 GB, free: 30.17 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.018e-05/0.2755, allocations: 32.39 kB / 0.5711 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.2755, allocations: 17.41 kB / 0.5711 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00046/0.276, allocations: 0.6591 MB / 0.5717 GB, free: 29.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.276, allocations: 1.875 kB / 0.5717 GB, free: 29.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.276, allocations: 5.875 kB / 0.5717 GB, free: 29.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.2762, allocations: 72.22 kB / 0.5718 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.2762, allocations: 2.062 kB / 0.5718 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.2762, allocations: 0 / 0.5718 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.2762, allocations: 1.922 kB / 0.5718 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.2764, allocations: 77.81 kB / 0.5719 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/0.2766, allocations: 319 kB / 0.5722 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.2769, allocations: 126.8 kB / 0.5723 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.277, allocations: 44.98 kB / 0.5724 GB, free: 29.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.919e-05/0.277, allocations: 19.81 kB / 0.5724 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.131e-05/0.277, allocations: 35.75 kB / 0.5724 GB, free: 29.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.277, allocations: 1.312 kB / 0.5724 GB, free: 29.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003745/0.2774, allocations: 170.7 kB / 0.5726 GB, free: 29.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.598e-05/0.2774, allocations: 53.56 kB / 0.5726 GB, free: 29.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005472/0.278, allocations: 0.7728 MB / 0.5734 GB, free: 29.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.278, allocations: 31.98 kB / 0.5734 GB, free: 29.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/0.2781, allocations: 126.7 kB / 0.5735 GB, free: 28.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.2781, allocations: 6.906 kB / 0.5735 GB, free: 28.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.2781, allocations: 18.31 kB / 0.5735 GB, free: 28.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.256e-05/0.2782, allocations: 331.3 kB / 0.5739 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.635e-05/0.2783, allocations: 42.41 kB / 0.5739 GB, free: 28.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.2784, allocations: 62.78 kB / 0.574 GB, free: 28.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.2786, allocations: 89.98 kB / 0.5741 GB, free: 28.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2786, allocations: 0 / 0.5741 GB, free: 28.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002397/0.2788, allocations: 134.5 kB / 0.5742 GB, free: 28.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.2788, allocations: 5.406 kB / 0.5742 GB, free: 28.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.2789, allocations: 9.641 kB / 0.5742 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.2789, allocations: 5.031 kB / 0.5742 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.308e-05/0.2789, allocations: 14.39 kB / 0.5742 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.279, allocations: 1.812 kB / 0.5742 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.493e-05/0.2791, allocations: 9.312 kB / 0.5742 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.2791, allocations: 2.906 kB / 0.5742 GB, free: 28.48 MB / 446.1 MB 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 6.663e-05/0.2791, allocations: 135.7 kB / 0.5744 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.2792, allocations: 16.5 kB / 0.5744 GB, free: 28.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.2794, allocations: 137.9 kB / 0.5745 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2794, allocations: 1.875 kB / 0.5745 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2795, allocations: 0.5625 kB / 0.5745 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.2795, allocations: 1.406 kB / 0.5745 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.2796, allocations: 229.9 kB / 0.5747 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.2796, allocations: 0.75 kB / 0.5747 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.802e-05/0.2797, allocations: 15.89 kB / 0.5747 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2797, allocations: 0 / 0.5747 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.2797, allocations: 2.125 kB / 0.5747 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2797, allocations: 0.7031 kB / 0.5747 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2797, allocations: 1.719 kB / 0.5747 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.2799, allocations: 155.8 kB / 0.5749 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.28, allocations: 106.5 kB / 0.575 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.28, allocations: 2.25 kB / 0.575 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.2801, allocations: 7.75 kB / 0.575 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.2801, allocations: 4.562 kB / 0.575 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.2801, allocations: 1.125 kB / 0.575 GB, free: 27.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004148/0.2805, allocations: 0.621 MB / 0.5756 GB, free: 27.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2806, allocations: 0 / 0.5756 GB, free: 27.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002955/0.2809, allocations: 71.97 kB / 0.5757 GB, free: 27.67 MB / 446.1 MB 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.0004957/0.2814, allocations: 0.7516 MB / 0.5764 GB, free: 27.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.2816, allocations: 85.22 kB / 0.5765 GB, free: 27.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2816, allocations: 1.344 kB / 0.5765 GB, free: 27.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.881e-05/0.2817, allocations: 48.81 kB / 0.5765 GB, free: 27.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.2819, allocations: 22.25 kB / 0.5766 GB, free: 27.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.2846, allocations: 3.305 MB / 0.5798 GB, free: 25.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.2847, allocations: 0.7234 MB / 0.5805 GB, free: 24.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.306e-05/0.2848, allocations: 25.73 kB / 0.5805 GB, free: 24.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.187e-05/0.2848, allocations: 50.52 kB / 0.5806 GB, free: 24.7 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2848, allocations: 0 / 0.5806 GB, free: 24.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3451/0.63, allocations: 4.557 MB / 0.585 GB, free: 22.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.919/8.549, allocations: 4.406 kB / 0.585 GB, free: 22.96 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)