Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",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.0007425/0.0007424, allocations: 92.7 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007403/0.0007402, allocations: 171.9 kB / 16.58 MB, free: 6.848 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.178/1.178, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6096/0.6096, allocations: 113.7 MB / 405.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002651/0.0002651, allocations: 12 kB / 493.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1154, allocations: 77.12 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.2602/0.3756, allocations: 56.46 MB / 0.612 GB, free: 5.254 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01232/0.388, allocations: 11.22 MB / 0.623 GB, free: 13.17 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.3893, allocations: 53.06 kB / 0.623 GB, free: 13.15 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.3905, allocations: 464.7 kB / 0.6235 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003639/0.3942, allocations: 1.527 MB / 0.625 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.3965, allocations: 0.8617 MB / 0.6258 GB, free: 11.61 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003582/0.4, allocations: 3.387 MB / 0.6291 GB, free: 10.08 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.4011, allocations: 0.8002 MB / 0.6299 GB, free: 9.574 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/0.4029, allocations: 1.042 MB / 0.6309 GB, free: 8.992 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009792/0.4039, allocations: 0.8012 MB / 0.6317 GB, free: 8.531 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.751e-05/0.404, allocations: 42.62 kB / 0.6317 GB, free: 8.531 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/0.4062, allocations: 1.109 MB / 0.6328 GB, free: 7.934 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.4064, allocations: 201.4 kB / 0.633 GB, free: 7.781 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002806/0.4067, allocations: 282.4 kB / 0.6333 GB, free: 7.617 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.4083, allocations: 1.64 MB / 0.6349 GB, free: 6.539 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.4083, allocations: 1.375 kB / 0.6349 GB, free: 6.539 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4083, allocations: 0 / 0.6349 GB, free: 6.539 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.4084, allocations: 0 / 0.6349 GB, free: 6.539 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002188/0.4106, allocations: 1.507 MB / 0.6364 GB, free: 5.367 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.4106, allocations: 6.562 kB / 0.6364 GB, free: 5.367 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001315/0.4107, allocations: 125.6 kB / 0.6365 GB, free: 5.262 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.4121, allocations: 385.3 kB / 0.6368 GB, free: 5.102 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.4137, allocations: 1.084 MB / 0.6379 GB, free: 4.227 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000283/0.414, allocations: 132.1 kB / 0.638 GB, free: 4.176 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.403e-05/0.4141, allocations: 83.25 kB / 0.6381 GB, free: 4.148 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.4157, allocations: 0.9701 MB / 0.6391 GB, free: 3.527 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.4158, allocations: 3.938 kB / 0.6391 GB, free: 3.523 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.398e-05/0.4158, allocations: 32.62 kB / 0.6391 GB, free: 3.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.4159, allocations: 19.25 kB / 0.6391 GB, free: 3.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.4176, allocations: 0.8389 MB / 0.6399 GB, free: 3.109 MB / 462.1 MB 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.005204/0.4228, allocations: 4.794 MB / 0.6446 GB, free: 14.83 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.4241, allocations: 0.5933 MB / 0.6452 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005042/0.4246, allocations: 282.4 kB / 0.6455 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/0.4259, allocations: 1.398 MB / 0.6468 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.4259, allocations: 38 kB / 0.6469 GB, free: 12.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=43): time 2.004e-06/0.4259, allocations: 4 kB / 0.6469 GB, free: 12.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.006596/0.4325, allocations: 2.034 MB / 0.6489 GB, free: 11.73 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.4326, allocations: 55.41 kB / 0.6489 GB, free: 11.67 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.4339, allocations: 1.044 MB / 0.6499 GB, free: 10.61 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.4339, allocations: 45.64 kB / 0.65 GB, free: 10.56 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003942/0.4343, allocations: 0.5195 MB / 0.6505 GB, free: 10.04 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.4345, allocations: 149.8 kB / 0.6506 GB, free: 9.887 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.4345, allocations: 8 kB / 0.6506 GB, free: 9.879 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.4346, allocations: 337.9 kB / 0.651 GB, free: 9.543 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006435/0.4353, allocations: 276.9 kB / 0.6512 GB, free: 9.27 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008247/0.4361, allocations: 498.2 kB / 0.6517 GB, free: 8.703 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007023/0.4368, allocations: 340 kB / 0.652 GB, free: 8.371 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4368, allocations: 0 / 0.652 GB, free: 8.371 MB / 478.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00282/0.4396, allocations: 1.134 MB / 0.6531 GB, free: 7.227 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.4398, allocations: 208.3 kB / 0.6533 GB, free: 6.965 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.4398, allocations: 4 kB / 0.6533 GB, free: 6.961 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.4408, allocations: 325.6 kB / 0.6536 GB, free: 6.641 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/0.4413, allocations: 119.8 kB / 0.6537 GB, free: 6.523 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.4425, allocations: 0.9401 MB / 0.6547 GB, free: 5.559 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.4436, allocations: 182.8 kB / 0.6548 GB, free: 5.383 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.544e-05/0.4436, allocations: 31.98 kB / 0.6549 GB, free: 5.352 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.4437, allocations: 8 kB / 0.6549 GB, free: 5.344 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002516/0.4462, allocations: 1.007 MB / 0.6559 GB, free: 4.332 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.4462, allocations: 8.344 kB / 0.6559 GB, free: 4.324 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008961/0.4471, allocations: 320.6 kB / 0.6562 GB, free: 4.008 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.4475, allocations: 119.8 kB / 0.6563 GB, free: 3.891 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.4487, allocations: 0.9375 MB / 0.6572 GB, free: 2.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008876/0.4496, allocations: 147.5 kB / 0.6573 GB, free: 2.785 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.178e-05/0.4496, allocations: 35.98 kB / 0.6574 GB, free: 2.75 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004309/0.4501, allocations: 356.2 kB / 0.6577 GB, free: 2.395 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.4502, allocations: 110.6 kB / 0.6578 GB, free: 2.285 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003022/0.4533, allocations: 1.153 MB / 0.659 GB, free: 1.125 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.4533, allocations: 7.953 kB / 0.659 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4533, allocations: 0 / 0.659 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.4533, allocations: 11.98 kB / 0.659 GB, free: 1.105 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004024/0.4573, allocations: 2.157 MB / 0.6611 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.4574, allocations: 4 kB / 0.6611 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.4575, allocations: 55.91 kB / 0.6611 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008656/0.4584, allocations: 323.2 kB / 0.6614 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.4585, allocations: 23.98 kB / 0.6615 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.4597, allocations: 0.9697 MB / 0.6624 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4597, allocations: 4.031 kB / 0.6624 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/0.4625, allocations: 1.187 MB / 0.6636 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000389/0.4629, allocations: 275.4 kB / 0.6638 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.463, allocations: 15.98 kB / 0.6639 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007169/0.4638, allocations: 95.91 kB / 0.6639 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.4638, allocations: 39.83 kB / 0.664 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/0.4639, allocations: 23.98 kB / 0.664 GB, free: 11.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001024/0.4649, allocations: 0.7389 MB / 0.6647 GB, free: 11.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4649, allocations: 0 / 0.6647 GB, free: 11.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001457/0.4664, allocations: 0.5652 MB / 0.6653 GB, free: 10.46 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.003638/0.4701, allocations: 2.017 MB / 0.6673 GB, free: 8.402 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002367/0.4724, allocations: 1.044 MB / 0.6683 GB, free: 7.359 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4724, allocations: 0 / 0.6683 GB, free: 7.359 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006612/0.4731, allocations: 325.9 kB / 0.6686 GB, free: 7.043 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.4751, allocations: 0.5114 MB / 0.6691 GB, free: 6.535 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/0.4873, allocations: 6.45 MB / 0.6754 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000582/0.4879, allocations: 1.061 MB / 0.6764 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008512/0.4888, allocations: 216.3 kB / 0.6766 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000483/0.4893, allocations: 407.3 kB / 0.677 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.4893, allocations: 4 kB / 0.677 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04914/0.5384, allocations: 33.45 MB / 0.7097 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000244/0.5387, allocations: 269.8 kB / 0.7099 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.181/2.719, allocations: 0 / 0.7099 GB, free: 12.75 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) Environment - environmentSimulation: