Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",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.0008232/0.0008233, allocations: 98.66 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.000867/0.000867, allocations: 182.2 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.177/1.177, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6187/0.6187, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.00029, allocations: 13.14 kB / 496 MB, free: 6.297 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1205, allocations: 77.53 MB / 0.56 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.2669/0.3874, allocations: 59.7 MB / 0.6183 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01475/0.4022, allocations: 11.93 MB / 0.63 GB, free: 7.203 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.4036, allocations: 50 kB / 0.63 GB, free: 7.184 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.405, allocations: 0.5468 MB / 0.6306 GB, free: 6.852 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004153/0.4091, allocations: 1.799 MB / 0.6323 GB, free: 5.777 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.4117, allocations: 1.093 MB / 0.6334 GB, free: 5.094 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004584/0.4163, allocations: 3.907 MB / 0.6372 GB, free: 2.906 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00172/0.418, allocations: 0.9152 MB / 0.6381 GB, free: 2.32 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002616/0.4206, allocations: 1.113 MB / 0.6392 GB, free: 1.68 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.4219, allocations: 0.8699 MB / 0.64 GB, free: 1.172 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.422, allocations: 42.09 kB / 0.6401 GB, free: 1.172 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002686/0.4247, allocations: 1.335 MB / 0.6414 GB, free: 420 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.4249, allocations: 208.4 kB / 0.6416 GB, free: 264 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000632/0.4256, allocations: 0.636 MB / 0.6422 GB, free: 15.84 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002512/0.4281, allocations: 2.203 MB / 0.6444 GB, free: 14.4 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4281, allocations: 0 / 0.6444 GB, free: 14.4 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4281, allocations: 0 / 0.6444 GB, free: 14.4 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.4281, allocations: 0.9062 kB / 0.6444 GB, free: 14.4 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.002543/0.4307, allocations: 1.498 MB / 0.6458 GB, free: 13.22 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.4307, allocations: 14.59 kB / 0.6458 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001337/0.4309, allocations: 123.8 kB / 0.646 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002407/0.4333, allocations: 0.5065 MB / 0.6464 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.4351, allocations: 1.147 MB / 0.6476 GB, free: 11.97 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003378/0.4354, allocations: 132.8 kB / 0.6477 GB, free: 11.92 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.4356, allocations: 81.12 kB / 0.6478 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.4375, allocations: 1.033 MB / 0.6488 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.4375, allocations: 0 / 0.6488 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.527e-05/0.4376, allocations: 30.78 kB / 0.6488 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.4376, allocations: 20.12 kB / 0.6488 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002468/0.4401, allocations: 1.011 MB / 0.6498 GB, free: 10.7 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.005404/0.4455, allocations: 4.72 MB / 0.6544 GB, free: 5.629 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004131/0.4497, allocations: 1.13 MB / 0.6555 GB, free: 4.492 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.4508, allocations: 445.8 kB / 0.656 GB, free: 4.051 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009019/0.4517, allocations: 1.033 MB / 0.657 GB, free: 2.797 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.4517, allocations: 39 kB / 0.657 GB, free: 2.75 MB / 478.1 MB Notification: Performance of pre-optimization done (n=53): time 1.923e-06/0.4517, allocations: 0 / 0.657 GB, free: 2.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=53): time 0.009703/0.4614, allocations: 2.502 MB / 0.6594 GB, free: 228 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.4615, allocations: 55.84 kB / 0.6595 GB, free: 160 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.4626, allocations: 0.9315 MB / 0.6604 GB, free: 15.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.536e-05/0.4626, allocations: 37.7 kB / 0.6604 GB, free: 15.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003782/0.463, allocations: 0.5079 MB / 0.6609 GB, free: 14.65 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.4632, allocations: 189.4 kB / 0.6611 GB, free: 14.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.879e-05/0.4633, allocations: 45.7 kB / 0.6612 GB, free: 14.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.4634, allocations: 330 kB / 0.6615 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.4644, allocations: 388.8 kB / 0.6618 GB, free: 13.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.4656, allocations: 0.5467 MB / 0.6624 GB, free: 13.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/0.4677, allocations: 0.8244 MB / 0.6632 GB, free: 12.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4677, allocations: 0 / 0.6632 GB, free: 12.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00284/0.4705, allocations: 1.146 MB / 0.6643 GB, free: 11.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.902e-05/0.4706, allocations: 160.4 kB / 0.6645 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4707, allocations: 0 / 0.6645 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.4719, allocations: 337.8 kB / 0.6648 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006107/0.4725, allocations: 147.8 kB / 0.6649 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.4739, allocations: 0.9353 MB / 0.6658 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.475, allocations: 175.4 kB / 0.666 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.227e-05/0.4751, allocations: 27.98 kB / 0.666 GB, free: 9.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/0.4751, allocations: 4 kB / 0.666 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002645/0.4778, allocations: 1.009 MB / 0.667 GB, free: 8.238 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.4778, allocations: 0 / 0.667 GB, free: 8.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.4788, allocations: 326.7 kB / 0.6673 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006099/0.4794, allocations: 143.8 kB / 0.6675 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.4808, allocations: 0.9308 MB / 0.6684 GB, free: 6.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009873/0.4818, allocations: 176.9 kB / 0.6685 GB, free: 6.648 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.634e-05/0.4818, allocations: 31.92 kB / 0.6686 GB, free: 6.617 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0004422/0.4823, allocations: 341 kB / 0.6689 GB, free: 6.273 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.4824, allocations: 114.6 kB / 0.669 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004461/0.4869, allocations: 1.442 MB / 0.6704 GB, free: 4.727 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.4869, allocations: 8 kB / 0.6704 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4869, allocations: 0 / 0.6704 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.4869, allocations: 3.984 kB / 0.6704 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005621/0.4926, allocations: 2.533 MB / 0.6729 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.4926, allocations: 0 / 0.6729 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005463/0.4931, allocations: 119.9 kB / 0.673 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000978/0.4941, allocations: 319 kB / 0.6733 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.977e-05/0.4942, allocations: 23.92 kB / 0.6733 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001397/0.4956, allocations: 0.966 MB / 0.6743 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.4956, allocations: 3.938 kB / 0.6743 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004149/0.4998, allocations: 1.46 MB / 0.6757 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/0.5001, allocations: 291.5 kB / 0.676 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.5003, allocations: 19.94 kB / 0.676 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000919/0.5012, allocations: 127.8 kB / 0.6761 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/0.5013, allocations: 36.33 kB / 0.6762 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.222e-05/0.5013, allocations: 27.98 kB / 0.6762 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007681/0.5021, allocations: 0.6596 MB / 0.6768 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5021, allocations: 0 / 0.6768 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001288/0.5034, allocations: 0.5652 MB / 0.6774 GB, free: 13.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.004984/0.5084, allocations: 2.27 MB / 0.6796 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003601/0.512, allocations: 1.401 MB / 0.681 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.512, allocations: 4 kB / 0.681 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.5132, allocations: 488.8 kB / 0.6814 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/0.5158, allocations: 0.5027 MB / 0.6819 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/0.5336, allocations: 9.289 MB / 0.691 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006197/0.5343, allocations: 1.07 MB / 0.6921 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009999/0.5353, allocations: 243.8 kB / 0.6923 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005549/0.5358, allocations: 419.2 kB / 0.6927 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.5359, allocations: 0 / 0.6927 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.341/2.877, allocations: 31.62 MB / 0.7236 GB, free: 14.16 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000266/2.877, allocations: 273.8 kB / 0.7238 GB, free: 13.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.654/5.531, allocations: 7.938 kB / 0.7238 GB, free: 13.78 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)