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.Validation.CoolingCoil.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.Validation.CoolingCoil,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil",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.175/2.175, allocations: 251 MB / 265.9 MB, free: 11.72 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.001518/0.001518, allocations: 177 kB / 325.5 MB, free: 2.926 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.466/2.466, allocations: 205.4 MB / 0.5764 GB, free: 20.83 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.001142/0.001142, allocations: 92.89 kB / 0.6809 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004958/0.0004959, allocations: 11.78 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2127, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2335/0.4463, allocations: 135.2 MB / 1.031 GB, free: 10.07 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/0.4467, allocations: 75.95 kB / 1.031 GB, free: 9.992 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.02248/0.4692, allocations: 5.422 MB / 1.036 GB, free: 4.559 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4692, allocations: 0 / 1.036 GB, free: 4.559 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 2.812e-05/0.4693, allocations: 8 kB / 1.036 GB, free: 4.551 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001499/0.4708, allocations: 0.601 MB / 1.037 GB, free: 3.902 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.4708, allocations: 8.031 kB / 1.037 GB, free: 3.895 MB / 0.6824 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001104/0.4709, allocations: 62.53 kB / 1.037 GB, free: 3.824 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.4711, allocations: 39.53 kB / 1.037 GB, free: 3.785 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006587/0.4717, allocations: 317.9 kB / 1.037 GB, free: 3.438 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.328e-05/0.4718, allocations: 24.5 kB / 1.037 GB, free: 3.414 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-05/0.4719, allocations: 24 kB / 1.037 GB, free: 3.391 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.473, allocations: 319.6 kB / 1.038 GB, free: 3.062 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.473, allocations: 0 / 1.038 GB, free: 3.062 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.735e-05/0.473, allocations: 12 kB / 1.038 GB, free: 3.051 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.4731, allocations: 15.94 kB / 1.038 GB, free: 3.035 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.4743, allocations: 266.1 kB / 1.038 GB, free: 2.777 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002289/0.4766, allocations: 0.9474 MB / 1.039 GB, free: 1.773 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.4779, allocations: 266.8 kB / 1.039 GB, free: 1.504 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-05/0.478, allocations: 7.984 kB / 1.039 GB, free: 1.496 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007093/0.4787, allocations: 171.2 kB / 1.039 GB, free: 1.316 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=18): time 3.075e-06/0.4787, allocations: 0 / 1.039 GB, free: 1.316 MB / 0.6824 GB Notification: Performance of matching and sorting (n=18): time 0.001765/0.4805, allocations: 379.1 kB / 1.04 GB, free: 0.9414 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.4806, allocations: 81.09 kB / 1.04 GB, free: 0.8438 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004853/0.4811, allocations: 271.8 kB / 1.04 GB, free: 0.5742 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 4.639e-05/0.4811, allocations: 33.7 kB / 1.04 GB, free: 0.5352 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.4813, allocations: 184.1 kB / 1.04 GB, free: 360 kB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 7.326e-05/0.4814, allocations: 55.25 kB / 1.04 GB, free: 304 kB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.4815, allocations: 4 kB / 1.04 GB, free: 300 kB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.4816, allocations: 338.8 kB / 1.041 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005485/0.4822, allocations: 115.7 kB / 1.041 GB, free: 15.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/0.4828, allocations: 147.3 kB / 1.041 GB, free: 15.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005501/0.4834, allocations: 116.2 kB / 1.041 GB, free: 15.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4834, allocations: 3.938 kB / 1.041 GB, free: 15.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001296/0.4847, allocations: 309 kB / 1.041 GB, free: 15.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.4848, allocations: 182 kB / 1.041 GB, free: 15.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.4849, allocations: 3.953 kB / 1.041 GB, free: 15.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.4849, allocations: 4 kB / 1.041 GB, free: 15.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.4854, allocations: 55.95 kB / 1.041 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.4854, allocations: 0 / 1.041 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004385/0.4859, allocations: 51.81 kB / 1.042 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.4859, allocations: 7.938 kB / 1.042 GB, free: 14.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.4859, allocations: 6.031 kB / 1.042 GB, free: 14.94 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009729/0.4869, allocations: 219.7 kB / 1.042 GB, free: 14.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4869, allocations: 4 kB / 1.042 GB, free: 14.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.319e-06/0.4869, allocations: 0 / 1.042 GB, free: 14.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.4874, allocations: 55.94 kB / 1.042 GB, free: 14.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4874, allocations: 4 kB / 1.042 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/0.4878, allocations: 35.81 kB / 1.042 GB, free: 14.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.4878, allocations: 8 kB / 1.042 GB, free: 14.62 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,$PRE.zonSta.T_start,zonSta.T_start,$PRE.zonSta.count,zonSta.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.0003056/0.4881, allocations: 225 kB / 1.042 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/0.4882, allocations: 31.62 kB / 1.042 GB, free: 14.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.823e-05/0.4883, allocations: 34.36 kB / 1.042 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.4883, allocations: 4 kB / 1.042 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.4884, allocations: 0 / 1.042 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.4884, allocations: 3.984 kB / 1.042 GB, free: 14.31 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.4901, allocations: 0.6942 MB / 1.043 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4902, allocations: 3.938 kB / 1.043 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.4906, allocations: 43.95 kB / 1.043 GB, free: 13.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/0.4906, allocations: 4 kB / 1.043 GB, free: 13.51 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.4906, allocations: 7.984 kB / 1.043 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.4906, allocations: 0 / 1.043 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4906, allocations: 4 kB / 1.043 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.4919, allocations: 399.3 kB / 1.043 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.492, allocations: 108.7 kB / 1.043 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-05/0.4921, allocations: 12 kB / 1.043 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/0.4925, allocations: 31.97 kB / 1.043 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.4926, allocations: 35.91 kB / 1.043 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.4927, allocations: 4 kB / 1.043 GB, free: 12.88 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003413/0.493, allocations: 215.1 kB / 1.044 GB, free: 12.67 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/0.493, allocations: 0 / 1.044 GB, free: 12.67 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005871/0.4936, allocations: 95.77 kB / 1.044 GB, free: 12.57 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,zonSta.T_start,zonSta.count) * Number of discrete states: 1 (zonSta.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00164/0.4953, allocations: 1.015 MB / 1.045 GB, free: 11.53 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00173/0.497, allocations: 364.5 kB / 1.045 GB, free: 11.17 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.4971, allocations: 0 / 1.045 GB, free: 11.17 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006156/0.4977, allocations: 137.1 kB / 1.045 GB, free: 11.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009518/0.4987, allocations: 58.09 kB / 1.045 GB, free: 10.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007725/0.5064, allocations: 1.866 MB / 1.047 GB, free: 9.047 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007107/0.5072, allocations: 0.7758 MB / 1.048 GB, free: 8.246 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005849/0.5078, allocations: 38.95 kB / 1.048 GB, free: 8.207 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004103/0.5082, allocations: 95.41 kB / 1.048 GB, free: 8.113 MB / 0.698 GB Notification: Performance of SimCode: time 1.262e-06/0.5082, allocations: 0 / 1.048 GB, free: 8.113 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03234/0.5406, allocations: 5.642 MB / 1.053 GB, free: 2.711 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000293/0.541, allocations: 222.8 kB / 1.054 GB, free: 2.461 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/3.112, allocations: 0 / 1.054 GB, free: 2.461 MB / 0.698 GB