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.272/1.272, allocations: 251.5 MB / 266.7 MB, free: 11.03 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.0008816/0.0008814, allocations: 179.9 kB / 325.9 MB, free: 2.68 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.303/1.303, allocations: 205 MB / 0.576 GB, free: 21.03 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.000724/0.000724, allocations: 101.2 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000288/0.0002881, allocations: 11.59 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1452, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5411/0.6864, allocations: 297.9 MB / 1.187 GB, free: 4.469 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.05604/0.7425, allocations: 49.65 MB / 1.236 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008672/0.7512, allocations: 262.3 kB / 1.236 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.008217/0.7594, allocations: 2.774 MB / 1.239 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.02243/0.7819, allocations: 8.369 MB / 1.247 GB, free: 9.785 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.01421/0.7961, allocations: 5.864 MB / 1.252 GB, free: 3.953 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.02464/0.8208, allocations: 24.45 MB / 1.276 GB, free: 11.44 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006535/0.8273, allocations: 4.627 MB / 1.281 GB, free: 6.711 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01279/0.8402, allocations: 6.299 MB / 1.287 GB, free: 392 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006637/0.8468, allocations: 4.891 MB / 1.292 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0009378/0.8478, allocations: 228 kB / 1.292 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008442/0.8562, allocations: 3.905 MB / 1.296 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.8573, allocations: 1.108 MB / 1.297 GB, free: 6.219 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.003807/0.8611, allocations: 3.287 MB / 1.3 GB, free: 2.914 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.01219/0.8733, allocations: 9.842 MB / 1.31 GB, free: 9.039 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.8733, allocations: 4 kB / 1.31 GB, free: 9.035 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8733, allocations: 0 / 1.31 GB, free: 9.035 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001618/0.8735, allocations: 0 / 1.31 GB, free: 9.035 MB / 0.823 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.008749/0.8822, allocations: 6.175 MB / 1.316 GB, free: 2.727 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.8823, allocations: 12.03 kB / 1.316 GB, free: 2.715 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000654/0.8829, allocations: 0.5279 MB / 1.316 GB, free: 2.18 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.8847, allocations: 0.7803 MB / 1.317 GB, free: 1.391 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00766/0.8924, allocations: 5.146 MB / 1.322 GB, free: 12.17 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.8926, allocations: 324.1 kB / 1.322 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004629/0.8931, allocations: 428 kB / 1.323 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006112/0.8992, allocations: 4.354 MB / 1.327 GB, free: 6.797 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.879e-05/0.8993, allocations: 19.83 kB / 1.327 GB, free: 6.777 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000281/0.8996, allocations: 176 kB / 1.327 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.371e-05/0.8997, allocations: 115.9 kB / 1.327 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004651/0.9043, allocations: 2.972 MB / 1.33 GB, free: 3.516 MB / 0.8386 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.02136/0.9257, allocations: 24.99 MB / 1.355 GB, free: 8.484 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002712/0.9284, allocations: 2.765 MB / 1.357 GB, free: 5.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/0.9297, allocations: 1.007 MB / 1.358 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002363/0.9321, allocations: 3.924 MB / 1.362 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/0.9322, allocations: 64.5 kB / 1.362 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=217): time 4.468e-06/0.9322, allocations: 0 / 1.362 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of matching and sorting (n=217): time 0.009596/0.9418, allocations: 4.119 MB / 1.366 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.9418, allocations: 73.41 kB / 1.366 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005527/0.9474, allocations: 4.195 MB / 1.37 GB, free: 7.16 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003137/0.9477, allocations: 77.7 kB / 1.37 GB, free: 7.078 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001906/0.9496, allocations: 2.774 MB / 1.373 GB, free: 4.285 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008023/0.9504, allocations: 0.7586 MB / 1.374 GB, free: 3.516 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.9507, allocations: 231.6 kB / 1.374 GB, free: 3.285 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.471e-05/0.9508, allocations: 309.1 kB / 1.374 GB, free: 2.98 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/0.9521, allocations: 0.8099 MB / 1.375 GB, free: 2.168 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002041/0.9542, allocations: 1.834 MB / 1.377 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003262/0.9574, allocations: 2.521 MB / 1.379 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/0.9575, allocations: 8 kB / 1.379 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007359/0.9648, allocations: 3.578 MB / 1.383 GB, free: 9.395 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003823/0.9652, allocations: 0.7374 MB / 1.384 GB, free: 8.348 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/0.9652, allocations: 24 kB / 1.384 GB, free: 8.324 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002552/0.9678, allocations: 0.5847 MB / 1.384 GB, free: 7.727 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.9694, allocations: 0.5577 MB / 1.385 GB, free: 7.168 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.9712, allocations: 2.693 MB / 1.387 GB, free: 4.371 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003747/0.975, allocations: 0.6288 MB / 1.388 GB, free: 3.742 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001852/0.9751, allocations: 128 kB / 1.388 GB, free: 3.617 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 6.131e-06/0.9752, allocations: 7.938 kB / 1.388 GB, free: 3.609 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004405/0.9796, allocations: 2.825 MB / 1.391 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.9796, allocations: 20 kB / 1.391 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008885/0.9805, allocations: 367.7 kB / 1.391 GB, free: 348 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.982, allocations: 0.5577 MB / 1.392 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007076/0.9891, allocations: 7.716 MB / 1.399 GB, free: 7.473 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003737/0.9928, allocations: 0.5717 MB / 1.4 GB, free: 6.898 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001975/0.993, allocations: 132 kB / 1.4 GB, free: 6.77 MB / 0.9167 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 (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.001941/0.995, allocations: 1.001 MB / 1.401 GB, free: 5.758 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/0.996, allocations: 0.4978 MB / 1.402 GB, free: 5.254 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005461/1.001, allocations: 3.577 MB / 1.405 GB, free: 1.609 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.538e-05/1.002, allocations: 43.97 kB / 1.405 GB, free: 1.566 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.002, allocations: 7.875 kB / 1.405 GB, free: 1.559 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3188/1.32, allocations: 2.441 MB / 1.407 GB, free: 353.5 MB / 0.9167 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.01341/1.334, allocations: 8.177 MB / 1.415 GB, free: 352 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/1.334, allocations: 0.7188 kB / 1.415 GB, free: 352 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/1.335, allocations: 366.4 kB / 1.416 GB, free: 352 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007402/1.336, allocations: 302.2 kB / 1.416 GB, free: 352 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001486/1.336, allocations: 64.44 kB / 1.416 GB, free: 352 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/1.338, allocations: 2.507 MB / 1.419 GB, free: 349.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.338, allocations: 3.344 kB / 1.419 GB, free: 349.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007719/1.345, allocations: 4.345 MB / 1.423 GB, free: 349.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002674/1.348, allocations: 0.8706 MB / 1.424 GB, free: 348.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001082/1.349, allocations: 43.17 kB / 1.424 GB, free: 348.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003077/1.352, allocations: 429.8 kB / 1.424 GB, free: 348.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002784/1.352, allocations: 148 kB / 1.424 GB, free: 348.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001991/1.353, allocations: 103 kB / 1.424 GB, free: 348.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.004149/1.357, allocations: 2.772 MB / 1.427 GB, free: 347.9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.6e-07/1.357, allocations: 0 / 1.427 GB, free: 347.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.008121/1.365, allocations: 3.273 MB / 1.43 GB, free: 347.4 MB / 0.9167 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 (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008298/1.373, allocations: 6.141 MB / 1.436 GB, free: 344.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005757/1.379, allocations: 4.45 MB / 1.441 GB, free: 343 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.379, allocations: 0 / 1.441 GB, free: 343 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001566/1.381, allocations: 1.234 MB / 1.442 GB, free: 342.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01141/1.392, allocations: 2.677 MB / 1.444 GB, free: 342 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0589/1.451, allocations: 44.43 MB / 1.488 GB, free: 302.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001754/1.453, allocations: 2.865 MB / 1.491 GB, free: 299.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004155/1.457, allocations: 1.148 MB / 1.492 GB, free: 298.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002118/1.459, allocations: 2.514 MB / 1.494 GB, free: 295.7 MB / 0.9167 GB Notification: Performance of SimCode: time 1.232e-06/1.459, allocations: 0 / 1.494 GB, free: 295.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7756/2.235, allocations: 142.6 MB / 1.634 GB, free: 154 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/2.235, allocations: 282.2 kB / 1.634 GB, free: 153.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.043/9.278, allocations: 64 / 1.634 GB, free: 153.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)