Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.261/2.261, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001723/0.001723, allocations: 178.3 kB / 325.5 MB, free: 2.898 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.47/2.47, allocations: 205.4 MB / 0.5764 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 97.31 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005509/0.0005513, allocations: 11.62 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2186, allocations: 106.3 MB / 0.8989 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2304/0.449, allocations: 133.7 MB / 1.029 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/0.4494, allocations: 79.94 kB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08014/0.5295, allocations: 18.55 MB / 1.048 GB, free: 8.918 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.465e-06/0.5296, allocations: 0 / 1.048 GB, free: 8.918 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001241/0.5297, allocations: 40 kB / 1.048 GB, free: 8.879 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.005824/0.5356, allocations: 1.697 MB / 1.049 GB, free: 7.121 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/0.5356, allocations: 12.03 kB / 1.049 GB, free: 7.109 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008511/0.5365, allocations: 223.9 kB / 1.05 GB, free: 6.879 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000559/0.5371, allocations: 189.8 kB / 1.05 GB, free: 6.691 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/0.5393, allocations: 0.8143 MB / 1.051 GB, free: 5.832 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.5395, allocations: 119.1 kB / 1.051 GB, free: 5.715 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004214/0.54, allocations: 148 kB / 1.051 GB, free: 5.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005441/0.5454, allocations: 1.442 MB / 1.052 GB, free: 4.109 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.422e-05/0.5455, allocations: 0 / 1.052 GB, free: 4.109 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002488/0.5458, allocations: 64 kB / 1.052 GB, free: 4.047 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.865e-05/0.5458, allocations: 36 kB / 1.052 GB, free: 4.012 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005843/0.5517, allocations: 1.449 MB / 1.054 GB, free: 2.559 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6411/1.193, allocations: 4.376 MB / 1.058 GB, free: 140.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004465/1.197, allocations: 1.22 MB / 1.059 GB, free: 140.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002001/1.198, allocations: 22.31 kB / 1.059 GB, free: 140.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/1.198, allocations: 51.53 kB / 1.059 GB, free: 140.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=119): time 4.388e-06/1.198, allocations: 0 / 1.059 GB, free: 140.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=119): time 0.005545/1.203, allocations: 1.621 MB / 1.061 GB, free: 140.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/1.203, allocations: 66.25 kB / 1.061 GB, free: 140.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002473/1.206, allocations: 1.079 MB / 1.062 GB, free: 140 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003245/1.206, allocations: 50.8 kB / 1.062 GB, free: 140 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005712/1.207, allocations: 0.5906 MB / 1.063 GB, free: 139.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005172/1.207, allocations: 393.5 kB / 1.063 GB, free: 139.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/1.207, allocations: 22.25 kB / 1.063 GB, free: 139.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001076/1.208, allocations: 343.9 kB / 1.063 GB, free: 139.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/1.21, allocations: 490.4 kB / 1.064 GB, free: 139.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002256/1.212, allocations: 0.5847 MB / 1.064 GB, free: 139.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002306/1.214, allocations: 0.5322 MB / 1.065 GB, free: 139.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/1.214, allocations: 5.234 kB / 1.065 GB, free: 139.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005317/1.22, allocations: 1.328 MB / 1.066 GB, free: 139.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.987e-05/1.22, allocations: 103.1 kB / 1.066 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.22, allocations: 4.125 kB / 1.066 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.103e-05/1.22, allocations: 8.125 kB / 1.066 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002546/1.222, allocations: 260.7 kB / 1.066 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.888e-05/1.223, allocations: 8.906 kB / 1.066 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/1.225, allocations: 248.5 kB / 1.067 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/1.225, allocations: 38.28 kB / 1.067 GB, free: 138.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/1.225, allocations: 5.641 kB / 1.067 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003453/1.228, allocations: 1.003 MB / 1.068 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/1.228, allocations: 0 / 1.068 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/1.228, allocations: 5.672 kB / 1.068 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00214/1.231, allocations: 216.7 kB / 1.068 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/1.231, allocations: 8.375 kB / 1.068 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/1.232, allocations: 183.8 kB / 1.068 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/1.232, allocations: 40.98 kB / 1.068 GB, free: 138.8 MB / 0.698 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 (128): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001016/1.233, allocations: 365.2 kB / 1.069 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004511/1.234, allocations: 145.1 kB / 1.069 GB, free: 138.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005335/1.239, allocations: 1.432 MB / 1.07 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.823e-05/1.239, allocations: 16.88 kB / 1.07 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/1.239, allocations: 0 / 1.07 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.662e-05/1.239, allocations: 8.484 kB / 1.07 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01397/1.253, allocations: 4.893 MB / 1.075 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-05/1.253, allocations: 13.75 kB / 1.075 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0023/1.256, allocations: 277.8 kB / 1.075 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.812e-05/1.256, allocations: 26.56 kB / 1.075 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002522/1.256, allocations: 42.92 kB / 1.075 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.812e-05/1.256, allocations: 28.78 kB / 1.075 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.26e-05/1.256, allocations: 21.22 kB / 1.075 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005533/1.262, allocations: 2.678 MB / 1.078 GB, free: 135.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005934/1.262, allocations: 283.8 kB / 1.078 GB, free: 135.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004401/1.263, allocations: 42.69 kB / 1.078 GB, free: 135.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002078/1.265, allocations: 164.5 kB / 1.078 GB, free: 135.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004655/1.265, allocations: 132.6 kB / 1.078 GB, free: 135.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001707/1.266, allocations: 58.34 kB / 1.079 GB, free: 135.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00224/1.268, allocations: 0.8496 MB / 1.079 GB, free: 134.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.12e-07/1.268, allocations: 0 / 1.079 GB, free: 134.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00253/1.271, allocations: 463.9 kB / 1.08 GB, free: 134.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (137): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007223/1.278, allocations: 7.302 MB / 1.087 GB, free: 127.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006289/1.284, allocations: 1.712 MB / 1.089 GB, free: 127.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.29e-05/1.284, allocations: 4.344 kB / 1.089 GB, free: 127.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002431/1.287, allocations: 0.6714 MB / 1.089 GB, free: 127.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/1.289, allocations: 188.4 kB / 1.089 GB, free: 127 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0246/1.313, allocations: 8.954 MB / 1.098 GB, free: 121.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000832/1.314, allocations: 1.207 MB / 1.099 GB, free: 121.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001466/1.316, allocations: 205.7 kB / 1.1 GB, free: 121.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001478/1.317, allocations: 0.5924 MB / 1.1 GB, free: 120.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.693e-06/1.317, allocations: 0 / 1.1 GB, free: 120.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07283/1.39, allocations: 24.05 MB / 1.124 GB, free: 103.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/1.39, allocations: 224.6 kB / 1.124 GB, free: 103 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.717/5.107, allocations: 0 / 1.124 GB, free: 103 MB / 0.698 GB