Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon",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.0009884/0.0009884, allocations: 99.17 kB / 16.27 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 190.9 kB / 17.2 MB, free: 5.594 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.292/1.292, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7309/0.7309, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 67.89 kB / 0.4912 GB, free: 7.398 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3163, allocations: 77.92 MB / 0.5673 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.04951/0.3659, allocations: 61.15 MB / 0.627 GB, free: 13.57 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01605/0.382, allocations: 11.99 MB / 0.6387 GB, free: 1.539 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001879/0.3839, allocations: 59.62 kB / 0.6388 GB, free: 1.48 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.3856, allocations: 0.6752 MB / 0.6394 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004789/0.3904, allocations: 1.965 MB / 0.6413 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.3931, allocations: 1.194 MB / 0.6425 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003469/0.3965, allocations: 3.082 MB / 0.6455 GB, free: 10.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/0.3978, allocations: 1.098 MB / 0.6466 GB, free: 9.422 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002311/0.4001, allocations: 1.326 MB / 0.6479 GB, free: 8.094 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.4012, allocations: 0.8983 MB / 0.6488 GB, free: 7.191 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.4013, allocations: 112 kB / 0.6489 GB, free: 7.082 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002536/0.4039, allocations: 1.443 MB / 0.6503 GB, free: 5.637 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002437/0.4041, allocations: 290.9 kB / 0.6505 GB, free: 5.352 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006134/0.4048, allocations: 0.688 MB / 0.6512 GB, free: 4.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002809/0.4076, allocations: 2.263 MB / 0.6534 GB, free: 2.391 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4076, allocations: 4 kB / 0.6534 GB, free: 2.387 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4076, allocations: 0 / 0.6534 GB, free: 2.387 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.4076, allocations: 0 / 0.6534 GB, free: 2.387 MB / 494.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.002587/0.4102, allocations: 1.715 MB / 0.6551 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.4103, allocations: 8.625 kB / 0.6551 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001285/0.4104, allocations: 126.8 kB / 0.6552 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/0.4124, allocations: 406.9 kB / 0.6556 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.4143, allocations: 1.105 MB / 0.6567 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003407/0.4146, allocations: 121.9 kB / 0.6568 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.4147, allocations: 80 kB / 0.6569 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.4165, allocations: 1.001 MB / 0.6579 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.4166, allocations: 0 / 0.6579 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-05/0.4166, allocations: 32 kB / 0.6579 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.4167, allocations: 20 kB / 0.6579 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.4188, allocations: 0.8742 MB / 0.6588 GB, free: 12.72 MB / 0.4981 GB 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.005968/0.4248, allocations: 5.276 MB / 0.6639 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0033/0.4281, allocations: 0.792 MB / 0.6647 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007116/0.4289, allocations: 296.7 kB / 0.665 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005992/0.4295, allocations: 0.9102 MB / 0.6659 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.4295, allocations: 46.5 kB / 0.6659 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 1.943e-06/0.4295, allocations: 3.938 kB / 0.6659 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.008315/0.4378, allocations: 1.903 MB / 0.6678 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.4379, allocations: 59.41 kB / 0.6678 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.4397, allocations: 1.079 MB / 0.6689 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.802e-05/0.4398, allocations: 37.7 kB / 0.6689 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005051/0.4404, allocations: 0.5311 MB / 0.6694 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.4405, allocations: 149.9 kB / 0.6696 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.4407, allocations: 134.1 kB / 0.6697 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.4409, allocations: 330 kB / 0.67 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000877/0.4417, allocations: 315.2 kB / 0.6703 GB, free: 216 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.4428, allocations: 0.5399 MB / 0.6709 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/0.4445, allocations: 0.7289 MB / 0.6716 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.4446, allocations: 0 / 0.6716 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002779/0.4473, allocations: 1.035 MB / 0.6726 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.4474, allocations: 11.98 kB / 0.6726 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.4474, allocations: 7.984 kB / 0.6726 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.4487, allocations: 320.5 kB / 0.6729 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005458/0.4492, allocations: 131.8 kB / 0.673 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/0.4507, allocations: 0.9175 MB / 0.6739 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.452, allocations: 155.2 kB / 0.6741 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.02e-05/0.452, allocations: 31.98 kB / 0.6741 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001147/0.4532, allocations: 0.509 MB / 0.6746 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00102/0.4542, allocations: 0.5502 MB / 0.6751 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001613/0.4559, allocations: 0.7102 MB / 0.6758 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.929e-06/0.4559, allocations: 4 kB / 0.6758 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002639/0.4585, allocations: 1.02 MB / 0.6768 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.4585, allocations: 14.41 kB / 0.6768 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.4586, allocations: 4 kB / 0.6769 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.4596, allocations: 300.6 kB / 0.6771 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005149/0.4602, allocations: 131.8 kB / 0.6773 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.4615, allocations: 0.9136 MB / 0.6782 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.4627, allocations: 135.6 kB / 0.6783 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.711e-05/0.4628, allocations: 31.98 kB / 0.6783 GB, free: 7.609 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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.0002016/0.463, allocations: 224.9 kB / 0.6785 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/0.4632, allocations: 110.6 kB / 0.6786 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003673/0.4669, allocations: 1.103 MB / 0.6797 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.4669, allocations: 8.031 kB / 0.6797 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4669, allocations: 3.984 kB / 0.6797 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.467, allocations: 3.984 kB / 0.6797 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004954/0.4719, allocations: 2.158 MB / 0.6818 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.4719, allocations: 0 / 0.6818 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.4722, allocations: 63.89 kB / 0.6819 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009661/0.4732, allocations: 300.8 kB / 0.6822 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.4732, allocations: 19.98 kB / 0.6822 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/0.4747, allocations: 0.9386 MB / 0.6831 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4747, allocations: 4.062 kB / 0.6831 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003571/0.4782, allocations: 1.167 MB / 0.6843 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004765/0.4787, allocations: 267.5 kB / 0.6845 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/0.479, allocations: 8 kB / 0.6845 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008854/0.4799, allocations: 71.92 kB / 0.6846 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.48, allocations: 39.83 kB / 0.6846 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-05/0.48, allocations: 23.98 kB / 0.6847 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001319/0.4813, allocations: 0.7551 MB / 0.6854 GB, free: 156 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4814, allocations: 0 / 0.6854 GB, free: 156 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001575/0.4829, allocations: 0.5654 MB / 0.6859 GB, free: 15.58 MB / 0.5294 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004526/0.4875, allocations: 1.989 MB / 0.6879 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003299/0.4908, allocations: 1.156 MB / 0.689 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.4908, allocations: 0 / 0.689 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008827/0.4917, allocations: 350.5 kB / 0.6894 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/0.494, allocations: 0.507 MB / 0.6898 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/0.5107, allocations: 8.746 MB / 0.6984 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006404/0.5113, allocations: 1.057 MB / 0.6994 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009611/0.5123, allocations: 222.9 kB / 0.6996 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000624/0.5129, allocations: 411.3 kB / 0.7 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/0.513, allocations: 0 / 0.7 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06044/0.5734, allocations: 33.35 MB / 0.7326 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.43, allocations: 9.469 kB / 0.7326 GB, free: 15.7 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)