Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_11_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.007219/0.007219, allocations: 99.58 kB / 15.73 MB, free: 6.039 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.002151/0.002151, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.224/1.224, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.344/2.344, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 68.11 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5879/0.5896, allocations: 159.1 MB / 1.22 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002531/0.5922, allocations: 1.681 MB / 1.222 GB, free: 352 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.148/0.7402, allocations: 148.4 MB / 1.367 GB, free: 11.33 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.366e-05/0.7403, allocations: 0 / 1.367 GB, free: 11.33 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.7405, allocations: 47.69 kB / 1.367 GB, free: 11.28 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.7416, allocations: 438 kB / 1.367 GB, free: 10.85 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.7417, allocations: 63.88 kB / 1.367 GB, free: 10.79 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.000203/0.7419, allocations: 151.3 kB / 1.367 GB, free: 10.64 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 4.3e-05/0.742, allocations: 17.19 kB / 1.367 GB, free: 10.62 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 6.489e-05/0.7421, allocations: 47.84 kB / 1.368 GB, free: 10.58 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.7422, allocations: 71.69 kB / 1.368 GB, free: 10.51 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.7422, allocations: 8 kB / 1.368 GB, free: 10.5 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008779/0.7431, allocations: 0.5028 MB / 1.368 GB, free: 9.996 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 2.541e-05/0.7431, allocations: 19.92 kB / 1.368 GB, free: 9.977 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 5.818e-05/0.7432, allocations: 59.72 kB / 1.368 GB, free: 9.918 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0005671/0.7438, allocations: 378.7 kB / 1.369 GB, free: 9.551 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7438, allocations: 3.984 kB / 1.369 GB, free: 9.547 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7438, allocations: 0 / 1.369 GB, free: 9.547 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.7438, allocations: 0 / 1.369 GB, free: 9.547 MB / 1.092 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.0006436/0.7445, allocations: 486.2 kB / 1.369 GB, free: 9.023 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.7445, allocations: 8.031 kB / 1.369 GB, free: 9.016 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.648e-05/0.7446, allocations: 106 kB / 1.369 GB, free: 8.902 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.7456, allocations: 184 kB / 1.369 GB, free: 8.723 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.7459, allocations: 312 kB / 1.37 GB, free: 8.379 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.114e-05/0.746, allocations: 158.5 kB / 1.37 GB, free: 8.223 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-05/0.7461, allocations: 158.6 kB / 1.37 GB, free: 8.066 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.163e-05/0.7462, allocations: 105 kB / 1.37 GB, free: 7.957 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.666e-05/0.7462, allocations: 75.28 kB / 1.37 GB, free: 7.883 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.892e-05/0.7463, allocations: 150.6 kB / 1.37 GB, free: 7.734 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.273e-05/0.7463, allocations: 150.6 kB / 1.37 GB, free: 7.586 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.963e-05/0.7464, allocations: 158.6 kB / 1.37 GB, free: 7.43 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.7468, allocations: 0.5134 MB / 1.371 GB, free: 6.867 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 8.052e-05/0.7469, allocations: 165.1 kB / 1.371 GB, free: 6.695 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.938e-05/0.7469, allocations: 80.14 kB / 1.371 GB, free: 6.613 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.747, allocations: 79.28 kB / 1.371 GB, free: 6.535 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.524e-05/0.747, allocations: 105.8 kB / 1.371 GB, free: 6.422 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.747, allocations: 4 kB / 1.371 GB, free: 6.418 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 0.0002645/0.7473, allocations: 65.47 kB / 1.371 GB, free: 6.348 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.7474, allocations: 126.7 kB / 1.372 GB, free: 6.211 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.7477, allocations: 223.2 kB / 1.372 GB, free: 5.984 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.7477, allocations: 29.64 kB / 1.372 GB, free: 5.949 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.7478, allocations: 104.1 kB / 1.372 GB, free: 5.844 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.7478, allocations: 0 / 1.372 GB, free: 5.844 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.7478, allocations: 25.7 kB / 1.372 GB, free: 5.812 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.7479, allocations: 326.8 kB / 1.372 GB, free: 5.484 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.437e-05/0.748, allocations: 24.86 kB / 1.372 GB, free: 5.457 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.958e-05/0.748, allocations: 23.98 kB / 1.372 GB, free: 5.434 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.702e-05/0.7481, allocations: 24.86 kB / 1.372 GB, free: 5.406 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7481, allocations: 0 / 1.372 GB, free: 5.406 MB / 1.092 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005461/0.7487, allocations: 134.3 kB / 1.372 GB, free: 5.266 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.7487, allocations: 8 kB / 1.372 GB, free: 5.258 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.7487, allocations: 4 kB / 1.372 GB, free: 5.254 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006772/0.7494, allocations: 144.7 kB / 1.373 GB, free: 5.109 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.497e-05/0.7494, allocations: 8 kB / 1.373 GB, free: 5.102 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.7514, allocations: 1.627 MB / 1.374 GB, free: 3.336 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.7515, allocations: 4 kB / 1.374 GB, free: 3.332 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.7515, allocations: 0 / 1.374 GB, free: 3.332 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.111e-05/0.7516, allocations: 107.4 kB / 1.374 GB, free: 3.227 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.993e-05/0.7516, allocations: 20 kB / 1.374 GB, free: 3.207 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.382e-05/0.7517, allocations: 24.84 kB / 1.374 GB, free: 3.18 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.81e-07/0.7517, allocations: 0 / 1.374 GB, free: 3.18 MB / 1.092 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002242/0.7519, allocations: 110.4 kB / 1.374 GB, free: 3.062 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/0.7519, allocations: 8 kB / 1.374 GB, free: 3.055 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-06/0.7519, allocations: 0 / 1.374 GB, free: 3.055 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003234/0.7523, allocations: 108.7 kB / 1.375 GB, free: 2.945 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.645e-05/0.7523, allocations: 4 kB / 1.375 GB, free: 2.941 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.7535, allocations: 1.465 MB / 1.376 GB, free: 1.336 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.7536, allocations: 7.969 kB / 1.376 GB, free: 1.328 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.7536, allocations: 7.938 kB / 1.376 GB, free: 1.32 MB / 1.092 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.0001188/0.7538, allocations: 259.6 kB / 1.376 GB, free: 1.059 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.47e-05/0.7538, allocations: 124.8 kB / 1.376 GB, free: 0.9297 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.7539, allocations: 113.5 kB / 1.376 GB, free: 0.8125 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.956e-05/0.754, allocations: 176.3 kB / 1.377 GB, free: 0.6328 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.479e-05/0.7541, allocations: 184.2 kB / 1.377 GB, free: 456 kB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.623e-05/0.7541, allocations: 188.2 kB / 1.377 GB, free: 260 kB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.7544, allocations: 445.1 kB / 1.377 GB, free: 15.76 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-05/0.7545, allocations: 101 kB / 1.378 GB, free: 15.66 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.488e-05/0.7545, allocations: 105 kB / 1.378 GB, free: 15.55 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.624e-05/0.7546, allocations: 184.3 kB / 1.378 GB, free: 15.36 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.876e-05/0.7547, allocations: 192.2 kB / 1.378 GB, free: 15.16 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.195e-05/0.7548, allocations: 180.2 kB / 1.378 GB, free: 14.98 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.147e-05/0.7548, allocations: 180.3 kB / 1.378 GB, free: 14.8 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.755, allocations: 311.7 kB / 1.379 GB, free: 14.47 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.7551, allocations: 202 kB / 1.379 GB, free: 14.25 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.35e-05/0.7552, allocations: 192.1 kB / 1.379 GB, free: 14.05 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.7554, allocations: 101 kB / 1.379 GB, free: 13.95 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.647e-05/0.7555, allocations: 180.3 kB / 1.379 GB, free: 13.76 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.061e-05/0.7555, allocations: 112.9 kB / 1.379 GB, free: 13.64 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001899/0.7557, allocations: 165.1 kB / 1.38 GB, free: 13.48 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7557, allocations: 4 kB / 1.38 GB, free: 13.48 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003451/0.7561, allocations: 63.92 kB / 1.38 GB, free: 13.42 MB / 1.107 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.0005193/0.7566, allocations: 0.852 MB / 1.38 GB, free: 12.54 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0004831/0.7571, allocations: 301.2 kB / 1.381 GB, free: 12.22 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7571, allocations: 0 / 1.381 GB, free: 12.22 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.7571, allocations: 0 / 1.381 GB, free: 12.22 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.7575, allocations: 487.6 kB / 1.381 GB, free: 11.74 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.7603, allocations: 2.073 MB / 1.383 GB, free: 9.574 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.7606, allocations: 0.6967 MB / 1.384 GB, free: 8.852 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 6.329e-05/0.7606, allocations: 12.59 kB / 1.384 GB, free: 8.84 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.115e-05/0.7607, allocations: 27.42 kB / 1.384 GB, free: 8.812 MB / 1.107 GB Notification: Performance of SimCode: time 2.4e-07/0.7607, allocations: 4 kB / 1.384 GB, free: 8.809 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.832/4.593, allocations: 4.731 MB / 1.389 GB, free: 4.258 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.56/23.16, allocations: 14.36 kB / 1.389 GB, free: 4.246 MB / 1.107 GB (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1)