Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",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.0008331/0.000833, allocations: 98.81 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.0009518/0.0009518, allocations: 182.7 kB / 16.92 MB, free: 6.691 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.256/1.256, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6283/0.6283, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002975/0.0002975, allocations: 8 kB / 496 MB, free: 6.234 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1233, allocations: 77.53 MB / 0.56 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.2839/0.4073, allocations: 59.74 MB / 0.6184 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01587/0.4232, allocations: 11.93 MB / 0.63 GB, free: 7.055 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002199/0.4254, allocations: 53.56 kB / 0.6301 GB, free: 7.031 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.4273, allocations: 0.5524 MB / 0.6306 GB, free: 6.695 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005367/0.4327, allocations: 1.803 MB / 0.6324 GB, free: 5.621 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003041/0.4358, allocations: 1.079 MB / 0.6334 GB, free: 4.953 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004977/0.4407, allocations: 3.924 MB / 0.6373 GB, free: 2.758 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/0.4424, allocations: 0.9026 MB / 0.6382 GB, free: 2.184 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002515/0.4449, allocations: 1.139 MB / 0.6393 GB, free: 1.52 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.4462, allocations: 0.8496 MB / 0.6401 GB, free: 1.031 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.4463, allocations: 42.94 kB / 0.6401 GB, free: 1.031 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.4487, allocations: 1.332 MB / 0.6414 GB, free: 276 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002155/0.449, allocations: 215.8 kB / 0.6416 GB, free: 112 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006199/0.4496, allocations: 0.6392 MB / 0.6423 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002692/0.4523, allocations: 2.198 MB / 0.6444 GB, free: 14.25 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4523, allocations: 4 kB / 0.6444 GB, free: 14.25 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4523, allocations: 1.312 kB / 0.6444 GB, free: 14.25 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.4523, allocations: 0 / 0.6444 GB, free: 14.25 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002389/0.4547, allocations: 1.508 MB / 0.6459 GB, free: 13.07 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.4548, allocations: 10.41 kB / 0.6459 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.4549, allocations: 126.3 kB / 0.646 GB, free: 12.97 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001992/0.4569, allocations: 481.6 kB / 0.6465 GB, free: 12.77 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.4587, allocations: 1.132 MB / 0.6476 GB, free: 11.85 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003179/0.459, allocations: 134.1 kB / 0.6477 GB, free: 11.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.4591, allocations: 78.25 kB / 0.6478 GB, free: 11.77 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.461, allocations: 1.04 MB / 0.6488 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.461, allocations: 7.438 kB / 0.6488 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.443e-05/0.4611, allocations: 30.44 kB / 0.6488 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.4611, allocations: 17.56 kB / 0.6489 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/0.4633, allocations: 0.9599 MB / 0.6498 GB, free: 10.64 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.005588/0.4689, allocations: 4.919 MB / 0.6546 GB, free: 5.367 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003332/0.4723, allocations: 0.913 MB / 0.6555 GB, free: 4.445 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007582/0.473, allocations: 344.6 kB / 0.6558 GB, free: 4.105 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005457/0.4736, allocations: 0.9064 MB / 0.6567 GB, free: 2.996 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.4736, allocations: 42.45 kB / 0.6567 GB, free: 2.945 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 1.633e-06/0.4736, allocations: 0 / 0.6567 GB, free: 2.945 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.008546/0.4822, allocations: 2.22 MB / 0.6589 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.4822, allocations: 55.41 kB / 0.659 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.4836, allocations: 1.063 MB / 0.66 GB, free: 15.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.092e-05/0.4837, allocations: 37.7 kB / 0.66 GB, free: 15.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003642/0.4841, allocations: 0.5313 MB / 0.6606 GB, free: 14.97 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.4842, allocations: 149.7 kB / 0.6607 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.308e-05/0.4843, allocations: 53.69 kB / 0.6608 GB, free: 14.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.638e-05/0.4844, allocations: 322 kB / 0.6611 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009097/0.4853, allocations: 348.9 kB / 0.6614 GB, free: 14.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.4863, allocations: 0.5568 MB / 0.6619 GB, free: 13.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001712/0.4881, allocations: 0.7725 MB / 0.6627 GB, free: 12.63 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.4881, allocations: 0 / 0.6627 GB, free: 12.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002632/0.4907, allocations: 1.101 MB / 0.6638 GB, free: 11.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.4908, allocations: 215.7 kB / 0.664 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.4908, allocations: 4 kB / 0.664 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.492, allocations: 337.5 kB / 0.6643 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005375/0.4926, allocations: 135.8 kB / 0.6644 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.4939, allocations: 0.9395 MB / 0.6653 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.4952, allocations: 208.1 kB / 0.6655 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.243e-05/0.4953, allocations: 27.98 kB / 0.6656 GB, free: 9.582 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.863e-06/0.4953, allocations: 4 kB / 0.6656 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002432/0.4977, allocations: 0.9529 MB / 0.6665 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.4978, allocations: 7.984 kB / 0.6665 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.4988, allocations: 327.3 kB / 0.6668 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/0.4993, allocations: 139.8 kB / 0.667 GB, free: 8.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.5006, allocations: 0.9309 MB / 0.6679 GB, free: 7.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.5017, allocations: 188.8 kB / 0.668 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.569e-05/0.5018, allocations: 27.98 kB / 0.6681 GB, free: 6.988 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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.0004326/0.5022, allocations: 356.9 kB / 0.6684 GB, free: 6.629 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.5024, allocations: 110.6 kB / 0.6685 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003773/0.5062, allocations: 1.242 MB / 0.6697 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.5062, allocations: 12 kB / 0.6697 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5062, allocations: 4 kB / 0.6697 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.5062, allocations: 3.938 kB / 0.6697 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004945/0.5112, allocations: 2.32 MB / 0.672 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.5112, allocations: 4 kB / 0.672 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.5115, allocations: 75.88 kB / 0.6721 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009662/0.5125, allocations: 328.8 kB / 0.6724 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.5125, allocations: 16 kB / 0.6724 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/0.5139, allocations: 0.966 MB / 0.6734 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.5139, allocations: 4 kB / 0.6734 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003626/0.5175, allocations: 1.314 MB / 0.6747 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004689/0.518, allocations: 287.4 kB / 0.6749 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.5181, allocations: 8 kB / 0.6749 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008918/0.519, allocations: 127.8 kB / 0.6751 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.629e-05/0.5191, allocations: 43.67 kB / 0.6751 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.771e-05/0.5192, allocations: 23.98 kB / 0.6751 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001038/0.5202, allocations: 0.7432 MB / 0.6758 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.433e-06/0.5202, allocations: 0 / 0.6758 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001386/0.5216, allocations: 0.5691 MB / 0.6764 GB, free: 14.25 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 (34): * Single equations (assignments): 29 * 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004498/0.5261, allocations: 2.137 MB / 0.6785 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003188/0.5293, allocations: 1.235 MB / 0.6797 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.5293, allocations: 0 / 0.6797 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009172/0.5303, allocations: 402.4 kB / 0.6801 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/0.533, allocations: 0.5124 MB / 0.6806 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/0.5503, allocations: 9.361 MB / 0.6897 GB, free: 156 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/0.5508, allocations: 1.069 MB / 0.6908 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008722/0.5517, allocations: 212.6 kB / 0.691 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004735/0.5522, allocations: 419.3 kB / 0.6914 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of SimCode: time 1.172e-06/0.5522, allocations: 3.938 kB / 0.6914 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.478/4.03, allocations: 32.38 MB / 0.723 GB, free: 14.53 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003816/4.03, allocations: 281 kB / 0.7233 GB, free: 14.15 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.777/6.808, allocations: 0 / 0.7233 GB, free: 14.15 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)