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.0008602/0.0008606, allocations: 99.12 kB / 16.02 MB, free: 80 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.0009645/0.0009645, allocations: 183.1 kB / 16.92 MB, free: 6.754 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.266/1.266, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6392/0.6392, allocations: 115.5 MB / 407.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002941, allocations: 8.906 kB / 496 MB, free: 6.293 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1234, allocations: 77.53 MB / 0.56 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.28/0.4035, allocations: 59.7 MB / 0.6183 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01481/0.4183, allocations: 11.92 MB / 0.63 GB, free: 7.148 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/0.4205, allocations: 52.88 kB / 0.63 GB, free: 7.125 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.4221, allocations: 0.5389 MB / 0.6306 GB, free: 6.801 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005058/0.4272, allocations: 1.807 MB / 0.6323 GB, free: 5.719 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.4299, allocations: 1.071 MB / 0.6334 GB, free: 5.059 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004481/0.4344, allocations: 3.905 MB / 0.6372 GB, free: 2.879 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.4357, allocations: 0.9065 MB / 0.6381 GB, free: 2.301 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002156/0.4379, allocations: 1.125 MB / 0.6392 GB, free: 1.648 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.4389, allocations: 0.8552 MB / 0.64 GB, free: 1.152 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.672e-05/0.439, allocations: 41.75 kB / 0.64 GB, free: 1.152 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002339/0.4413, allocations: 1.352 MB / 0.6414 GB, free: 392 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.4415, allocations: 205.1 kB / 0.6416 GB, free: 236 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005645/0.4421, allocations: 0.6317 MB / 0.6422 GB, free: 15.81 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002298/0.4444, allocations: 2.201 MB / 0.6443 GB, free: 14.38 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.4444, allocations: 0 / 0.6443 GB, free: 14.38 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4444, allocations: 0 / 0.6443 GB, free: 14.38 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.4445, allocations: 0 / 0.6443 GB, free: 14.38 MB / 478.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.002207/0.4467, allocations: 1.495 MB / 0.6458 GB, free: 13.21 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.4467, allocations: 12.94 kB / 0.6458 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/0.4468, allocations: 120.9 kB / 0.6459 GB, free: 13.1 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/0.4484, allocations: 391.8 kB / 0.6463 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.45, allocations: 1.118 MB / 0.6474 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003225/0.4504, allocations: 128.6 kB / 0.6475 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.4505, allocations: 81.47 kB / 0.6476 GB, free: 11.95 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.4521, allocations: 0.9699 MB / 0.6485 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.4522, allocations: 3.938 kB / 0.6485 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.297e-05/0.4522, allocations: 34.09 kB / 0.6486 GB, free: 11.31 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.4523, allocations: 16.5 kB / 0.6486 GB, free: 11.31 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/0.4541, allocations: 0.8527 MB / 0.6494 GB, free: 10.91 MB / 478.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.005114/0.4592, allocations: 4.812 MB / 0.6541 GB, free: 5.934 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.4607, allocations: 0.5893 MB / 0.6547 GB, free: 5.336 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000582/0.4613, allocations: 280.7 kB / 0.655 GB, free: 5.059 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/0.4625, allocations: 1.4 MB / 0.6563 GB, free: 3.363 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.4625, allocations: 42.5 kB / 0.6564 GB, free: 3.312 MB / 478.1 MB Notification: Performance of pre-optimization done (n=43): time 1.864e-06/0.4625, allocations: 0 / 0.6564 GB, free: 3.312 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.008089/0.4706, allocations: 2.052 MB / 0.6584 GB, free: 1.23 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.4707, allocations: 55.41 kB / 0.6584 GB, free: 1.164 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.472, allocations: 1.051 MB / 0.6594 GB, free: 100 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.331e-05/0.4721, allocations: 37.7 kB / 0.6595 GB, free: 56 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.4724, allocations: 0.5273 MB / 0.66 GB, free: 15.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.4726, allocations: 138 kB / 0.6601 GB, free: 15.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.4726, allocations: 53.69 kB / 0.6602 GB, free: 15.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.4727, allocations: 322 kB / 0.6605 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007384/0.4735, allocations: 292.9 kB / 0.6608 GB, free: 14.72 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008689/0.4743, allocations: 0.4981 MB / 0.6613 GB, free: 14.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.4758, allocations: 0.6702 MB / 0.6619 GB, free: 13.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4758, allocations: 0 / 0.6619 GB, free: 13.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002233/0.478, allocations: 0.9844 MB / 0.6629 GB, free: 12.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.965e-05/0.4781, allocations: 206.7 kB / 0.6631 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4781, allocations: 4.094 kB / 0.6631 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/0.4793, allocations: 338.7 kB / 0.6634 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.4798, allocations: 115.8 kB / 0.6635 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.4811, allocations: 0.9433 MB / 0.6644 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.4823, allocations: 180.8 kB / 0.6646 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.4824, allocations: 27.98 kB / 0.6646 GB, free: 10.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.001e-06/0.4824, allocations: 7.938 kB / 0.6646 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002053/0.4844, allocations: 0.8394 MB / 0.6655 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4845, allocations: 4 kB / 0.6655 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.4855, allocations: 338.1 kB / 0.6658 GB, free: 9.352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000405/0.4859, allocations: 107.9 kB / 0.6659 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.4872, allocations: 0.9353 MB / 0.6668 GB, free: 8.285 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.4883, allocations: 159.3 kB / 0.6669 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/0.4883, allocations: 27.98 kB / 0.667 GB, free: 8.102 MB / 494.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 (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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004368/0.4888, allocations: 352.9 kB / 0.6673 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.4889, allocations: 110.7 kB / 0.6674 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003497/0.4924, allocations: 1.152 MB / 0.6685 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.4924, allocations: 4 kB / 0.6685 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.4925, allocations: 3.984 kB / 0.6685 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4925, allocations: 0 / 0.6685 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004514/0.497, allocations: 2.158 MB / 0.6707 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.497, allocations: 4 kB / 0.6707 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.4972, allocations: 56.19 kB / 0.6707 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009801/0.4982, allocations: 336.5 kB / 0.671 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/0.4982, allocations: 12 kB / 0.671 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/0.4996, allocations: 0.9796 MB / 0.672 GB, free: 2.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.4997, allocations: 0 / 0.672 GB, free: 2.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003304/0.503, allocations: 1.191 MB / 0.6732 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004443/0.5034, allocations: 279.4 kB / 0.6734 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.5035, allocations: 8 kB / 0.6734 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008064/0.5043, allocations: 103.8 kB / 0.6735 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.503e-05/0.5044, allocations: 39.89 kB / 0.6736 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-05/0.5045, allocations: 23.98 kB / 0.6736 GB, free: 1.117 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001028/0.5055, allocations: 0.7467 MB / 0.6743 GB, free: 372 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5055, allocations: 0 / 0.6743 GB, free: 372 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.001388/0.5069, allocations: 0.5653 MB / 0.6749 GB, free: 15.79 MB / 0.4981 GB 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 (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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004091/0.511, allocations: 2.033 MB / 0.6769 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002539/0.5136, allocations: 1.051 MB / 0.6779 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5136, allocations: 128 / 0.6779 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007206/0.5143, allocations: 333.7 kB / 0.6782 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/0.5169, allocations: 0.514 MB / 0.6787 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/0.5313, allocations: 8.721 MB / 0.6872 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005107/0.5318, allocations: 1.057 MB / 0.6883 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008285/0.5327, allocations: 216.6 kB / 0.6885 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004379/0.5331, allocations: 403.3 kB / 0.6889 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.5331, allocations: 4 kB / 0.6889 GB, free: 1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.726/3.26, allocations: 32.29 MB / 0.7204 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002765/3.26, allocations: 287.4 kB / 0.7207 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.622/5.882, allocations: 3.516 kB / 0.7207 GB, free: 0.8086 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/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)