Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.DXCoils.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_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.004926/0.004926, allocations: 100.7 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.00108/0.00108, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 60.09 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3021, allocations: 140.4 MB / 1.088 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp): time 0.003082/0.3052, allocations: 1.711 MB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1513/0.4565, allocations: 148.4 MB / 1.234 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.709e-05/0.4566, allocations: 0 / 1.234 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.4569, allocations: 50.5 kB / 1.234 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.4582, allocations: 438 kB / 1.235 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.4584, allocations: 63.81 kB / 1.235 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.4586, allocations: 143.4 kB / 1.235 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.215e-05/0.4587, allocations: 17.38 kB / 1.235 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.348e-05/0.4588, allocations: 51.84 kB / 1.235 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.4589, allocations: 67.69 kB / 1.235 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.459, allocations: 8 kB / 1.235 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009687/0.4599, allocations: 0.5067 MB / 1.235 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.08e-05/0.46, allocations: 19.92 kB / 1.235 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.263e-05/0.46, allocations: 55.73 kB / 1.235 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006106/0.4607, allocations: 371.9 kB / 1.236 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4607, allocations: 8 kB / 1.236 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4607, allocations: 0 / 1.236 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.4607, allocations: 0 / 1.236 GB, free: 9.453 MB / 0.9981 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.0006734/0.4614, allocations: 480.6 kB / 1.236 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.4614, allocations: 8.031 kB / 1.236 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.327e-05/0.4615, allocations: 110 kB / 1.236 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.4626, allocations: 176 kB / 1.237 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.463, allocations: 315.1 kB / 1.237 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.211e-05/0.463, allocations: 158.5 kB / 1.237 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.91e-05/0.4631, allocations: 154.6 kB / 1.237 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.649e-05/0.4632, allocations: 101 kB / 1.237 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/0.4632, allocations: 75.28 kB / 1.237 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.576e-05/0.4632, allocations: 150.6 kB / 1.237 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.847e-05/0.4633, allocations: 154.6 kB / 1.238 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.596e-05/0.4634, allocations: 158.6 kB / 1.238 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.4637, allocations: 0.5134 MB / 1.238 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.613e-05/0.4638, allocations: 173.1 kB / 1.238 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.4638, allocations: 80.19 kB / 1.239 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.4639, allocations: 79.28 kB / 1.239 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.302e-05/0.464, allocations: 117.8 kB / 1.239 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.382e-06/0.464, allocations: 0 / 1.239 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0002816/0.4642, allocations: 53.53 kB / 1.239 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.4643, allocations: 130.7 kB / 1.239 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/0.4646, allocations: 227 kB / 1.239 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.4646, allocations: 29.7 kB / 1.239 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.358e-05/0.4647, allocations: 104 kB / 1.239 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.4647, allocations: 0 / 1.239 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.4648, allocations: 29.7 kB / 1.239 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.4649, allocations: 322.8 kB / 1.24 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.868e-05/0.4649, allocations: 24.84 kB / 1.24 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.548e-05/0.465, allocations: 12 kB / 1.24 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.529e-05/0.465, allocations: 32.84 kB / 1.24 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4651, allocations: 0 / 1.24 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000588/0.4656, allocations: 134.3 kB / 1.24 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4657, allocations: 9.562 kB / 1.24 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4657, allocations: 0 / 1.24 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000741/0.4664, allocations: 152.6 kB / 1.24 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.319e-05/0.4665, allocations: 4 kB / 1.24 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.4684, allocations: 1.609 MB / 1.242 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.4686, allocations: 4 kB / 1.242 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.4686, allocations: 8.062 kB / 1.242 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.99e-05/0.4687, allocations: 104.1 kB / 1.242 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.968e-05/0.4687, allocations: 12 kB / 1.242 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.999e-05/0.4688, allocations: 20.86 kB / 1.242 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.464e-06/0.4688, allocations: 3.938 kB / 1.242 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002259/0.469, allocations: 110.4 kB / 1.242 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.4691, allocations: 4 kB / 1.242 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-06/0.4691, allocations: 0 / 1.242 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003568/0.4694, allocations: 112.9 kB / 1.242 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.218e-05/0.4695, allocations: 11.92 kB / 1.242 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/0.4706, allocations: 1.465 MB / 1.243 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.4707, allocations: 4.031 kB / 1.243 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.4708, allocations: 0 / 1.243 GB, free: 1.25 MB / 0.9981 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.0001117/0.4709, allocations: 263.6 kB / 1.244 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.708e-05/0.471, allocations: 120.7 kB / 1.244 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.272e-05/0.471, allocations: 113.5 kB / 1.244 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.663e-05/0.4711, allocations: 176.3 kB / 1.244 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.787e-05/0.4711, allocations: 184.2 kB / 1.244 GB, free: 384 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.598e-05/0.4712, allocations: 180.5 kB / 1.244 GB, free: 196 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.4715, allocations: 461 kB / 1.245 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.991e-05/0.4715, allocations: 101 kB / 1.245 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.4716, allocations: 105 kB / 1.245 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.91e-05/0.4716, allocations: 180.2 kB / 1.245 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.158e-05/0.4717, allocations: 176.3 kB / 1.245 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.886e-05/0.4717, allocations: 184.2 kB / 1.245 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.943e-05/0.4718, allocations: 188.2 kB / 1.246 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.472, allocations: 319.5 kB / 1.246 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.4721, allocations: 198 kB / 1.246 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.984e-05/0.4722, allocations: 184.2 kB / 1.246 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.4723, allocations: 105 kB / 1.246 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/0.4724, allocations: 180.4 kB / 1.247 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/0.4724, allocations: 104.9 kB / 1.247 GB, free: 13.58 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001882/0.4726, allocations: 164.1 kB / 1.247 GB, free: 13.42 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4726, allocations: 0 / 1.247 GB, free: 13.42 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004345/0.4731, allocations: 64 kB / 1.247 GB, free: 13.36 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.000594/0.4737, allocations: 0.8597 MB / 1.248 GB, free: 12.47 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005765/0.4743, allocations: 309.2 kB / 1.248 GB, free: 12.14 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4743, allocations: 0 / 1.248 GB, free: 12.14 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.478e-06/0.4743, allocations: 0 / 1.248 GB, free: 12.14 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.4748, allocations: 485.4 kB / 1.248 GB, free: 11.67 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.4778, allocations: 2.074 MB / 1.251 GB, free: 9.508 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.4781, allocations: 0.6966 MB / 1.251 GB, free: 8.785 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.605e-05/0.4782, allocations: 12.55 kB / 1.251 GB, free: 8.773 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.083e-05/0.4783, allocations: 27.42 kB / 1.251 GB, free: 8.746 MB / 1.014 GB Notification: Performance of SimCode: time 3.7e-07/0.4783, allocations: 0 / 1.251 GB, free: 8.746 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.5031, allocations: 4.802 MB / 1.256 GB, free: 4.133 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.26, allocations: 12.72 kB / 1.256 GB, free: 4.125 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe 2>&1)