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.00113/0.00113, allocations: 96.89 kB / 15.69 MB, free: 480 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.001014/0.001014, allocations: 178.7 kB / 16.57 MB, free: 6.398 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.61/1.61, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9448/0.9448, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002984, allocations: 13.62 kB / 493 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1285, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.3108/0.4393, allocations: 51.26 MB / 0.6068 GB, free: 8.484 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01195/0.4513, allocations: 10.31 MB / 0.6169 GB, free: 1.172 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.4528, allocations: 50.09 kB / 0.6169 GB, free: 1.148 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.4545, allocations: 0.6286 MB / 0.6175 GB, free: 0.793 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005279/0.4598, allocations: 1.949 MB / 0.6194 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003744/0.4635, allocations: 1.32 MB / 0.6207 GB, free: 14.89 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004277/0.4678, allocations: 1.847 MB / 0.6225 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.4692, allocations: 0.8122 MB / 0.6233 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002047/0.4712, allocations: 0.985 MB / 0.6243 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008662/0.4721, allocations: 0.5959 MB / 0.6248 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.4722, allocations: 45.75 kB / 0.6249 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.4745, allocations: 1.008 MB / 0.6259 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.4747, allocations: 192.5 kB / 0.6261 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.475, allocations: 283.3 kB / 0.6263 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.4767, allocations: 1.586 MB / 0.6279 GB, free: 11.28 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.4767, allocations: 4 kB / 0.6279 GB, free: 11.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4767, allocations: 0 / 0.6279 GB, free: 11.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.4768, allocations: 0 / 0.6279 GB, free: 11.27 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.002467/0.4792, allocations: 1.493 MB / 0.6293 GB, free: 10.11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.4793, allocations: 13.61 kB / 0.6294 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001379/0.4794, allocations: 119.5 kB / 0.6295 GB, free: 10 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.481, allocations: 386.3 kB / 0.6298 GB, free: 9.844 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.4827, allocations: 1.04 MB / 0.6309 GB, free: 8.996 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003388/0.4831, allocations: 132.1 kB / 0.631 GB, free: 8.945 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.4832, allocations: 78.81 kB / 0.6311 GB, free: 8.922 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.4849, allocations: 0.9613 MB / 0.632 GB, free: 8.305 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.4849, allocations: 5.125 kB / 0.632 GB, free: 8.301 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.503e-05/0.485, allocations: 32.12 kB / 0.632 GB, free: 8.277 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/0.485, allocations: 22.19 kB / 0.632 GB, free: 8.273 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.487, allocations: 0.8441 MB / 0.6329 GB, free: 7.879 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.005726/0.4927, allocations: 4.822 MB / 0.6376 GB, free: 3.582 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.4943, allocations: 0.5961 MB / 0.6382 GB, free: 3.305 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/0.4956, allocations: 1.386 MB / 0.6395 GB, free: 1.734 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.4956, allocations: 48.22 kB / 0.6396 GB, free: 1.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=43): time 2.064e-06/0.4956, allocations: 4 kB / 0.6396 GB, free: 1.676 MB / 462.1 MB Notification: Performance of matching and sorting (n=43): time 0.007686/0.5033, allocations: 2.03 MB / 0.6415 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.5034, allocations: 55.03 kB / 0.6416 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.5047, allocations: 1.062 MB / 0.6426 GB, free: 84 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/0.5047, allocations: 39.11 kB / 0.6427 GB, free: 44 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003874/0.5051, allocations: 0.5304 MB / 0.6432 GB, free: 15.57 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.5053, allocations: 143.8 kB / 0.6433 GB, free: 15.45 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.5053, allocations: 11.22 kB / 0.6433 GB, free: 15.44 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.5054, allocations: 325 kB / 0.6437 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007166/0.5061, allocations: 278.7 kB / 0.6439 GB, free: 15 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008238/0.507, allocations: 498.4 kB / 0.6444 GB, free: 14.61 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007155/0.5077, allocations: 330.8 kB / 0.6447 GB, free: 14.46 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5077, allocations: 6.562 kB / 0.6447 GB, free: 14.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003012/0.5107, allocations: 1.153 MB / 0.6458 GB, free: 13.84 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005441/0.5113, allocations: 1.58 MB / 0.6474 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.5113, allocations: 4 kB / 0.6474 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.5125, allocations: 330.4 kB / 0.6477 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/0.5129, allocations: 107.9 kB / 0.6478 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.5143, allocations: 0.9426 MB / 0.6487 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.5154, allocations: 183.2 kB / 0.6489 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/0.5155, allocations: 31.94 kB / 0.6489 GB, free: 10.53 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.084e-06/0.5155, allocations: 4 kB / 0.6489 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002855/0.5184, allocations: 1.011 MB / 0.6499 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.5184, allocations: 4 kB / 0.6499 GB, free: 9.504 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000998/0.5194, allocations: 321.8 kB / 0.6502 GB, free: 9.188 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/0.5198, allocations: 115.8 kB / 0.6503 GB, free: 9.074 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.5211, allocations: 0.9367 MB / 0.6513 GB, free: 8.113 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.5222, allocations: 159.3 kB / 0.6514 GB, free: 7.957 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/0.5223, allocations: 27.98 kB / 0.6514 GB, free: 7.93 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.0004725/0.5228, allocations: 350.9 kB / 0.6518 GB, free: 7.578 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.5229, allocations: 110.6 kB / 0.6519 GB, free: 7.469 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003438/0.5264, allocations: 1.155 MB / 0.653 GB, free: 6.305 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/0.5264, allocations: 7.984 kB / 0.653 GB, free: 6.297 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.5264, allocations: 0 / 0.653 GB, free: 6.297 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.5264, allocations: 4.078 kB / 0.653 GB, free: 6.293 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004563/0.531, allocations: 2.169 MB / 0.6551 GB, free: 4.039 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.531, allocations: 4 kB / 0.6551 GB, free: 4.035 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.5312, allocations: 56.19 kB / 0.6552 GB, free: 3.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009696/0.5322, allocations: 326.8 kB / 0.6555 GB, free: 3.66 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.5322, allocations: 19.94 kB / 0.6555 GB, free: 3.641 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.5336, allocations: 0.9698 MB / 0.6565 GB, free: 2.645 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.5336, allocations: 7.984 kB / 0.6565 GB, free: 2.637 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003224/0.5369, allocations: 1.298 MB / 0.6577 GB, free: 1.246 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004601/0.5373, allocations: 283.4 kB / 0.658 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.5375, allocations: 8 kB / 0.658 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007992/0.5383, allocations: 103.9 kB / 0.6581 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/0.5384, allocations: 51.72 kB / 0.6582 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/0.5384, allocations: 23.98 kB / 0.6582 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001037/0.5395, allocations: 0.7467 MB / 0.6589 GB, free: 12 kB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5395, allocations: 0 / 0.6589 GB, free: 12 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.00146/0.5409, allocations: 0.577 MB / 0.6595 GB, free: 15.43 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.004227/0.5452, allocations: 2.752 MB / 0.6622 GB, free: 12.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00258/0.5478, allocations: 1.035 MB / 0.6632 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.5478, allocations: 4 kB / 0.6632 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007652/0.5485, allocations: 333.8 kB / 0.6635 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/0.5507, allocations: 0.4884 MB / 0.664 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005071/0.5558, allocations: 5.516 MB / 0.6694 GB, free: 5.078 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005793/0.5564, allocations: 1.085 MB / 0.6704 GB, free: 3.965 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007799/0.5572, allocations: 220.2 kB / 0.6706 GB, free: 3.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000477/0.5576, allocations: 407.3 kB / 0.671 GB, free: 3.352 MB / 494.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5577, allocations: 0 / 0.671 GB, free: 3.352 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05211/0.6098, allocations: 33.16 MB / 0.7034 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/0.61, allocations: 257.1 kB / 0.7037 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.745/3.355, allocations: 0 / 0.7037 GB, free: 2.332 MB / 0.5137 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: