Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",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.00777/0.00777, allocations: 102 kB / 15.73 MB, free: 6.035 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.001722/0.001722, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.704/2.704, allocations: 437.1 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2957, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003259/0.299, allocations: 1.695 MB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7915/1.091, allocations: 148.4 MB / 1.313 GB, free: 12.32 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.917e-05/1.091, allocations: 0 / 1.313 GB, free: 12.32 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002372/1.091, allocations: 45.2 kB / 1.313 GB, free: 12.31 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001616/1.093, allocations: 446.9 kB / 1.313 GB, free: 12.2 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/1.093, allocations: 58.28 kB / 1.313 GB, free: 12.2 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002525/1.093, allocations: 148.2 kB / 1.313 GB, free: 12.16 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.922e-05/1.093, allocations: 7.016 kB / 1.313 GB, free: 12.16 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.41e-05/1.093, allocations: 52.66 kB / 1.314 GB, free: 12.15 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/1.093, allocations: 70.39 kB / 1.314 GB, free: 12.13 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/1.093, allocations: 9.375 kB / 1.314 GB, free: 12.13 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/1.095, allocations: 0.5115 MB / 1.314 GB, free: 12.08 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.326e-05/1.095, allocations: 25.44 kB / 1.314 GB, free: 12.08 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.284e-05/1.095, allocations: 54.16 kB / 1.314 GB, free: 12.06 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008946/1.096, allocations: 374.8 kB / 1.315 GB, free: 12.02 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.096, allocations: 1.25 kB / 1.315 GB, free: 12.02 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.853e-06/1.096, allocations: 0 / 1.315 GB, free: 12.02 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.392e-06/1.096, allocations: 0 / 1.315 GB, free: 12.02 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008329/1.097, allocations: 486.9 kB / 1.315 GB, free: 11.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/1.097, allocations: 9.219 kB / 1.315 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.768e-05/1.097, allocations: 106.7 kB / 1.315 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/1.098, allocations: 176.6 kB / 1.315 GB, free: 11.39 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/1.098, allocations: 315.8 kB / 1.316 GB, free: 11.11 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.087e-05/1.099, allocations: 155.5 kB / 1.316 GB, free: 10.96 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.427e-05/1.099, allocations: 153.6 kB / 1.316 GB, free: 10.81 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.512e-05/1.099, allocations: 112.8 kB / 1.316 GB, free: 10.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/1.099, allocations: 80.31 kB / 1.316 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.347e-05/1.099, allocations: 151.3 kB / 1.316 GB, free: 10.47 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.088e-05/1.099, allocations: 150.6 kB / 1.316 GB, free: 10.32 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.959e-05/1.099, allocations: 155.7 kB / 1.316 GB, free: 10.17 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/1.099, allocations: 0.5087 MB / 1.317 GB, free: 9.688 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/1.099, allocations: 174.1 kB / 1.317 GB, free: 9.508 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/1.1, allocations: 81.89 kB / 1.317 GB, free: 9.426 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/1.1, allocations: 75.28 kB / 1.317 GB, free: 9.352 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.266e-05/1.1, allocations: 111.1 kB / 1.317 GB, free: 9.238 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/1.1, allocations: 0 / 1.317 GB, free: 9.238 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0003204/1.1, allocations: 57.69 kB / 1.317 GB, free: 9.199 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/1.1, allocations: 128.3 kB / 1.318 GB, free: 9.062 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/1.1, allocations: 225.9 kB / 1.318 GB, free: 8.953 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/1.1, allocations: 26.45 kB / 1.318 GB, free: 8.922 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.801e-05/1.101, allocations: 112.6 kB / 1.318 GB, free: 8.832 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-06/1.101, allocations: 1.094 kB / 1.318 GB, free: 8.832 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.286e-05/1.101, allocations: 25.77 kB / 1.318 GB, free: 8.812 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.101, allocations: 320 kB / 1.318 GB, free: 8.5 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.379e-05/1.101, allocations: 22.78 kB / 1.318 GB, free: 8.492 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.536e-05/1.101, allocations: 17.2 kB / 1.318 GB, free: 8.492 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.768e-05/1.101, allocations: 31.48 kB / 1.318 GB, free: 8.48 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/1.101, allocations: 0 / 1.318 GB, free: 8.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006718/1.102, allocations: 141.1 kB / 1.318 GB, free: 8.43 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/1.102, allocations: 6.328 kB / 1.318 GB, free: 8.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/1.102, allocations: 0 / 1.318 GB, free: 8.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008836/1.103, allocations: 146.5 kB / 1.319 GB, free: 8.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.687e-05/1.103, allocations: 5.891 kB / 1.319 GB, free: 8.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002373/1.105, allocations: 1.614 MB / 1.32 GB, free: 7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/1.105, allocations: 3.891 kB / 1.32 GB, free: 7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/1.105, allocations: 2.828 kB / 1.32 GB, free: 7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001083/1.105, allocations: 109.6 kB / 1.32 GB, free: 6.914 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.959e-05/1.105, allocations: 16.64 kB / 1.32 GB, free: 6.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.858e-05/1.106, allocations: 32.38 kB / 1.32 GB, free: 6.898 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.61e-07/1.106, allocations: 0 / 1.32 GB, free: 6.898 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002532/1.106, allocations: 109.6 kB / 1.32 GB, free: 6.848 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/1.106, allocations: 5.359 kB / 1.32 GB, free: 6.848 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/1.106, allocations: 1.312 kB / 1.32 GB, free: 6.848 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004071/1.106, allocations: 105.8 kB / 1.321 GB, free: 6.832 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.71e-05/1.106, allocations: 9.641 kB / 1.321 GB, free: 6.828 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/1.108, allocations: 1.464 MB / 1.322 GB, free: 5.457 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/1.108, allocations: 3.781 kB / 1.322 GB, free: 5.457 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/1.108, allocations: 1.594 kB / 1.322 GB, free: 5.457 MB / 1.014 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 (4): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001411/1.108, allocations: 258.1 kB / 1.322 GB, free: 5.203 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.552e-05/1.108, allocations: 110.9 kB / 1.322 GB, free: 5.094 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.796e-05/1.108, allocations: 125.8 kB / 1.322 GB, free: 4.973 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.692e-05/1.108, allocations: 182.1 kB / 1.323 GB, free: 4.789 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-05/1.108, allocations: 178.9 kB / 1.323 GB, free: 4.609 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.553e-05/1.108, allocations: 182 kB / 1.323 GB, free: 4.426 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/1.109, allocations: 448.6 kB / 1.323 GB, free: 3.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.9e-05/1.109, allocations: 106.6 kB / 1.324 GB, free: 3.871 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.986e-05/1.109, allocations: 106.7 kB / 1.324 GB, free: 3.762 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.014e-05/1.109, allocations: 178 kB / 1.324 GB, free: 3.582 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.911e-05/1.109, allocations: 186.4 kB / 1.324 GB, free: 3.395 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.964e-05/1.109, allocations: 178.3 kB / 1.324 GB, free: 3.215 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.492e-05/1.109, allocations: 185.3 kB / 1.324 GB, free: 3.031 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/1.109, allocations: 324.9 kB / 1.325 GB, free: 2.703 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/1.109, allocations: 197.3 kB / 1.325 GB, free: 2.496 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-05/1.11, allocations: 182.6 kB / 1.325 GB, free: 2.312 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/1.11, allocations: 109.9 kB / 1.325 GB, free: 2.203 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.549e-05/1.11, allocations: 181 kB / 1.325 GB, free: 2.023 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.376e-05/1.11, allocations: 110.6 kB / 1.325 GB, free: 1.91 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002232/1.11, allocations: 161.5 kB / 1.326 GB, free: 1.836 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.11, allocations: 0 / 1.326 GB, free: 1.836 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005212/1.111, allocations: 67.73 kB / 1.326 GB, free: 1.832 MB / 1.014 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 (0): * Single equations (assignments): 0 * 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.0006109/1.111, allocations: 0.8536 MB / 1.326 GB, free: 1.012 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006408/1.112, allocations: 302.5 kB / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.112, allocations: 4 kB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.066e-06/1.112, allocations: 0 / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/1.113, allocations: 484.3 kB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/1.116, allocations: 2.062 MB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/1.116, allocations: 0.6998 MB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001045/1.116, allocations: 13.11 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.101e-05/1.116, allocations: 28.95 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of SimCode: time 6.31e-07/1.116, allocations: 0 / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/1.146, allocations: 4.739 MB / 1.335 GB, free: 13.59 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.76, allocations: 7.844 kB / 1.335 GB, free: 13.59 MB / 1.029 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1)