Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_latest_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.004652/0.004652, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001078/0.001078, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.61/2.61, allocations: 469.4 MB / 0.7421 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 67.89 kB / 1.064 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.684/0.6854, allocations: 159.1 MB / 1.22 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002747/0.6882, allocations: 1.678 MB / 1.221 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1425/0.8307, allocations: 148.4 MB / 1.366 GB, free: 11.55 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.173e-05/0.8308, allocations: 4 kB / 1.366 GB, free: 11.55 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.831, allocations: 47.69 kB / 1.366 GB, free: 11.5 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.832, allocations: 442 kB / 1.367 GB, free: 11.07 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001234/0.8322, allocations: 71.86 kB / 1.367 GB, free: 11 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.8324, allocations: 143.3 kB / 1.367 GB, free: 10.86 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.8324, allocations: 13.19 kB / 1.367 GB, free: 10.84 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 5.798e-05/0.8325, allocations: 55.83 kB / 1.367 GB, free: 10.79 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.8326, allocations: 67.7 kB / 1.367 GB, free: 10.72 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.8327, allocations: 11.98 kB / 1.367 GB, free: 10.71 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008266/0.8335, allocations: 0.5067 MB / 1.368 GB, free: 10.2 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 2.526e-05/0.8335, allocations: 23.91 kB / 1.368 GB, free: 10.18 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 5.596e-05/0.8336, allocations: 55.73 kB / 1.368 GB, free: 10.12 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0005214/0.8341, allocations: 374.7 kB / 1.368 GB, free: 9.762 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8341, allocations: 4 kB / 1.368 GB, free: 9.758 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.704e-06/0.8341, allocations: 0 / 1.368 GB, free: 9.758 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.8341, allocations: 0 / 1.368 GB, free: 9.758 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.0006515/0.8348, allocations: 486.2 kB / 1.369 GB, free: 9.234 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.8348, allocations: 12.61 kB / 1.369 GB, free: 9.223 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.8349, allocations: 110 kB / 1.369 GB, free: 9.105 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.8361, allocations: 180 kB / 1.369 GB, free: 8.93 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.8364, allocations: 323.9 kB / 1.369 GB, free: 8.574 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/0.8365, allocations: 158.5 kB / 1.369 GB, free: 8.418 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.595e-05/0.8365, allocations: 158.6 kB / 1.369 GB, free: 8.262 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.807e-05/0.8366, allocations: 101 kB / 1.37 GB, free: 8.156 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.8366, allocations: 75.28 kB / 1.37 GB, free: 8.082 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.943e-05/0.8366, allocations: 150.6 kB / 1.37 GB, free: 7.934 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.181e-05/0.8367, allocations: 150.6 kB / 1.37 GB, free: 7.785 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.926e-05/0.8367, allocations: 154.6 kB / 1.37 GB, free: 7.633 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/0.8371, allocations: 0.5134 MB / 1.371 GB, free: 7.07 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 6.318e-05/0.8371, allocations: 169.1 kB / 1.371 GB, free: 6.895 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/0.8372, allocations: 80.14 kB / 1.371 GB, free: 6.812 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.8372, allocations: 79.28 kB / 1.371 GB, free: 6.734 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.8372, allocations: 105.8 kB / 1.371 GB, free: 6.621 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 2.215e-06/0.8372, allocations: 0 / 1.371 GB, free: 6.621 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 0.0003145/0.8376, allocations: 73.45 kB / 1.371 GB, free: 6.543 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.8376, allocations: 126.7 kB / 1.371 GB, free: 6.406 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.8379, allocations: 219.2 kB / 1.371 GB, free: 6.184 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.8379, allocations: 25.7 kB / 1.371 GB, free: 6.152 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.838, allocations: 104.1 kB / 1.372 GB, free: 6.047 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-06/0.838, allocations: 0 / 1.372 GB, free: 6.047 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.838, allocations: 21.72 kB / 1.372 GB, free: 6.02 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.51e-05/0.8381, allocations: 322.8 kB / 1.372 GB, free: 5.695 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.088e-05/0.8382, allocations: 32.84 kB / 1.372 GB, free: 5.66 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.678e-05/0.8382, allocations: 12 kB / 1.372 GB, free: 5.648 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.178e-05/0.8383, allocations: 28.86 kB / 1.372 GB, free: 5.617 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8383, allocations: 0 / 1.372 GB, free: 5.617 MB / 1.092 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006103/0.8389, allocations: 138.3 kB / 1.372 GB, free: 5.473 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.839, allocations: 8 kB / 1.372 GB, free: 5.465 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.839, allocations: 0 / 1.372 GB, free: 5.465 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007674/0.8397, allocations: 144.7 kB / 1.372 GB, free: 5.32 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.411e-05/0.8398, allocations: 7.984 kB / 1.372 GB, free: 5.312 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.8418, allocations: 1.629 MB / 1.374 GB, free: 3.539 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.842, allocations: 3.984 kB / 1.374 GB, free: 3.535 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.842, allocations: 4 kB / 1.374 GB, free: 3.531 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.251e-05/0.8421, allocations: 96.14 kB / 1.374 GB, free: 3.434 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.244e-05/0.8421, allocations: 19.98 kB / 1.374 GB, free: 3.414 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.279e-05/0.8421, allocations: 24.86 kB / 1.374 GB, free: 3.387 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.8422, allocations: 0 / 1.374 GB, free: 3.387 MB / 1.092 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002354/0.8424, allocations: 110.4 kB / 1.374 GB, free: 3.27 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.8424, allocations: 9.719 kB / 1.374 GB, free: 3.262 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-06/0.8424, allocations: 0 / 1.374 GB, free: 3.262 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003636/0.8428, allocations: 108.7 kB / 1.374 GB, free: 3.152 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.406e-05/0.8428, allocations: 4 kB / 1.374 GB, free: 3.148 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.8439, allocations: 1.466 MB / 1.376 GB, free: 1.543 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.8441, allocations: 15.95 kB / 1.376 GB, free: 1.527 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.8441, allocations: 4 kB / 1.376 GB, free: 1.523 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 9.505e-05/0.8442, allocations: 256.1 kB / 1.376 GB, free: 1.266 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.568e-05/0.8443, allocations: 124.8 kB / 1.376 GB, free: 1.137 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.8443, allocations: 117.5 kB / 1.376 GB, free: 1.016 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.234e-05/0.8444, allocations: 180.2 kB / 1.376 GB, free: 0.832 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.872e-05/0.8445, allocations: 180.2 kB / 1.376 GB, free: 0.6484 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.873e-05/0.8445, allocations: 180.3 kB / 1.377 GB, free: 476 kB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.8448, allocations: 449.1 kB / 1.377 GB, free: 15.97 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-05/0.8448, allocations: 101 kB / 1.377 GB, free: 15.86 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/0.8448, allocations: 101 kB / 1.377 GB, free: 15.76 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.353e-05/0.8449, allocations: 192.1 kB / 1.377 GB, free: 15.56 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.373e-05/0.8449, allocations: 180.3 kB / 1.378 GB, free: 15.38 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.993e-05/0.845, allocations: 184.2 kB / 1.378 GB, free: 15.19 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.955e-05/0.8451, allocations: 180.2 kB / 1.378 GB, free: 15.01 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.8452, allocations: 319.7 kB / 1.378 GB, free: 14.67 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.8453, allocations: 198 kB / 1.378 GB, free: 14.45 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.37e-05/0.8454, allocations: 192.1 kB / 1.379 GB, free: 14.26 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.8455, allocations: 105 kB / 1.379 GB, free: 14.15 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.8456, allocations: 176.3 kB / 1.379 GB, free: 13.97 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.8456, allocations: 112.9 kB / 1.379 GB, free: 13.85 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001904/0.8458, allocations: 165.1 kB / 1.379 GB, free: 13.69 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8459, allocations: 4 kB / 1.379 GB, free: 13.69 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004058/0.8463, allocations: 63.94 kB / 1.379 GB, free: 13.62 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.0004674/0.8467, allocations: 0.8514 MB / 1.38 GB, free: 12.75 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0005088/0.8473, allocations: 301.2 kB / 1.38 GB, free: 12.43 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.8473, allocations: 0 / 1.38 GB, free: 12.43 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.8473, allocations: 3.938 kB / 1.38 GB, free: 12.42 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.8477, allocations: 483.9 kB / 1.381 GB, free: 11.95 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.8505, allocations: 2.072 MB / 1.383 GB, free: 9.785 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.8507, allocations: 0.7005 MB / 1.383 GB, free: 9.059 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 7.571e-05/0.8508, allocations: 20.53 kB / 1.384 GB, free: 9.039 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.8508, allocations: 23.44 kB / 1.384 GB, free: 9.016 MB / 1.107 GB Notification: Performance of SimCode: time 2.8e-07/0.8509, allocations: 4 kB / 1.384 GB, free: 9.012 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.8736, allocations: 4.729 MB / 1.388 GB, free: 4.477 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.84, allocations: 19.38 kB / 1.388 GB, free: 4.465 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1)