Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.513/1.513, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001238/0.001238, allocations: 183.8 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.96/1.96, allocations: 205.4 MB / 0.5775 GB, free: 20.61 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.0008795/0.0008793, allocations: 100.7 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.000379, allocations: 10.12 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2336, allocations: 106.3 MB / 0.9001 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.8243/1.058, allocations: 250.9 MB / 1.145 GB, free: 34.39 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.06587/1.124, allocations: 42.56 MB / 1.187 GB, free: 1.777 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01491/1.139, allocations: 237.3 kB / 1.187 GB, free: 1.668 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.01452/1.153, allocations: 2.971 MB / 1.19 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.03762/1.191, allocations: 8.971 MB / 1.199 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.02343/1.215, allocations: 5.797 MB / 1.204 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.02839/1.243, allocations: 10.73 MB / 1.215 GB, free: 6.816 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0155/1.259, allocations: 4.293 MB / 1.219 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01786/1.276, allocations: 5.387 MB / 1.224 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01058/1.287, allocations: 3.196 MB / 1.227 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.003151/1.29, allocations: 228 kB / 1.228 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01604/1.306, allocations: 2.789 MB / 1.23 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.003834/1.31, allocations: 1.019 MB / 1.231 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.005972/1.316, allocations: 1.373 MB / 1.233 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01748/1.334, allocations: 7.247 MB / 1.24 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.334, allocations: 0 / 1.24 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.607e-06/1.334, allocations: 4 kB / 1.24 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0005144/1.334, allocations: 0 / 1.24 GB, free: 13.16 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01812/1.353, allocations: 6.218 MB / 1.246 GB, free: 6.812 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/1.353, allocations: 11.97 kB / 1.246 GB, free: 6.801 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002024/1.355, allocations: 0.5318 MB / 1.246 GB, free: 6.262 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003843/1.359, allocations: 0.7881 MB / 1.247 GB, free: 5.465 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01477/1.373, allocations: 4.624 MB / 1.252 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004522/1.374, allocations: 324.1 kB / 1.252 GB, free: 460 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001543/1.375, allocations: 428 kB / 1.252 GB, free: 32 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01443/1.39, allocations: 4.291 MB / 1.256 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002557/1.39, allocations: 31.72 kB / 1.257 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00125/1.392, allocations: 168 kB / 1.257 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001929/1.392, allocations: 115.9 kB / 1.257 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009181/1.401, allocations: 2.941 MB / 1.26 GB, free: 8.207 MB / 0.7761 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04222/1.443, allocations: 25.12 MB / 1.284 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003882/1.447, allocations: 2.761 MB / 1.287 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003545/1.451, allocations: 3.912 MB / 1.291 GB, free: 5.285 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.68e-05/1.451, allocations: 68.53 kB / 1.291 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=217): time 5.34e-06/1.451, allocations: 0 / 1.291 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of matching and sorting (n=217): time 0.01219/1.463, allocations: 4.053 MB / 1.295 GB, free: 1.062 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.149e-05/1.463, allocations: 77.41 kB / 1.295 GB, free: 0.9766 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00901/1.472, allocations: 4.367 MB / 1.299 GB, free: 12.63 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006308/1.473, allocations: 85.64 kB / 1.299 GB, free: 12.54 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002825/1.476, allocations: 2.771 MB / 1.302 GB, free: 9.75 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001347/1.477, allocations: 0.7664 MB / 1.303 GB, free: 8.973 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/1.477, allocations: 56 kB / 1.303 GB, free: 8.918 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002541/1.478, allocations: 419.8 kB / 1.303 GB, free: 8.504 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/1.479, allocations: 0.7787 MB / 1.304 GB, free: 7.723 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002316/1.482, allocations: 1.787 MB / 1.306 GB, free: 5.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001967/1.484, allocations: 1.077 MB / 1.307 GB, free: 4.402 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.997e-05/1.484, allocations: 8 kB / 1.307 GB, free: 4.395 MB / 0.823 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.009013/1.493, allocations: 3.505 MB / 1.31 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.004819/1.497, allocations: 10.29 MB / 1.32 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.272e-05/1.498, allocations: 24 kB / 1.32 GB, free: 5.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002917/1.5, allocations: 0.5691 MB / 1.321 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002349/1.503, allocations: 0.5577 MB / 1.321 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/1.505, allocations: 2.689 MB / 1.324 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00639/1.512, allocations: 0.6314 MB / 1.324 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006209/1.513, allocations: 136 kB / 1.325 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.513, allocations: 4 kB / 1.325 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00589/1.518, allocations: 2.802 MB / 1.327 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.777e-05/1.519, allocations: 27.98 kB / 1.327 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009911/1.52, allocations: 371.9 kB / 1.328 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/1.522, allocations: 0.5577 MB / 1.328 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009118/1.531, allocations: 7.779 MB / 1.336 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005959/1.537, allocations: 0.5905 MB / 1.336 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006895/1.538, allocations: 132 kB / 1.337 GB, free: 4.125 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (323): * Single equations (assignments): 319 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.003146/1.541, allocations: 0.9982 MB / 1.338 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001846/1.543, allocations: 0.4978 MB / 1.338 GB, free: 2.613 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007267/1.55, allocations: 3.585 MB / 1.342 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-05/1.55, allocations: 35.97 kB / 1.342 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/1.55, allocations: 0 / 1.342 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004068/1.554, allocations: 2.431 MB / 1.344 GB, free: 12.44 MB / 0.8698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01762/1.572, allocations: 8.244 MB / 1.352 GB, free: 3.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/1.572, allocations: 0 / 1.352 GB, free: 3.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/1.573, allocations: 371.6 kB / 1.352 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007562/1.574, allocations: 303 kB / 1.353 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002/1.574, allocations: 67.95 kB / 1.353 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/1.576, allocations: 2.49 MB / 1.355 GB, free: 0.5781 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.576, allocations: 4 kB / 1.355 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008118/1.584, allocations: 4.423 MB / 1.359 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003715/1.588, allocations: 1.013 MB / 1.36 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001503/1.59, allocations: 47.95 kB / 1.36 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004901/1.595, allocations: 427.2 kB / 1.361 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000483/1.595, allocations: 153.8 kB / 1.361 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003074/1.595, allocations: 99.94 kB / 1.361 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.006541/1.602, allocations: 2.909 MB / 1.364 GB, free: 7.406 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.61e-07/1.602, allocations: 0 / 1.364 GB, free: 7.406 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01693/1.619, allocations: 3.316 MB / 1.367 GB, free: 4.082 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * 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 (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01281/1.632, allocations: 6.391 MB / 1.373 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.009329/1.641, allocations: 4.41 MB / 1.378 GB, free: 9.117 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/1.641, allocations: 0 / 1.378 GB, free: 9.117 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002532/1.644, allocations: 1.226 MB / 1.379 GB, free: 7.887 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01487/1.659, allocations: 2.631 MB / 1.382 GB, free: 5.277 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5451/2.204, allocations: 29.31 MB / 1.41 GB, free: 337.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004229/2.208, allocations: 2.976 MB / 1.413 GB, free: 336.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.006401/2.215, allocations: 1.154 MB / 1.414 GB, free: 336.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004419/2.219, allocations: 2.519 MB / 1.417 GB, free: 336.8 MB / 0.9167 GB Notification: Performance of SimCode: time 1.292e-06/2.219, allocations: 0 / 1.417 GB, free: 336.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2774/2.497, allocations: 148 MB / 1.561 GB, free: 220 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/2.497, allocations: 257.6 kB / 1.561 GB, free: 219.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.553/10.05, allocations: 1.422 kB / 1.561 GB, free: 219.6 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)