Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",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.001429/0.001429, allocations: 102.9 kB / 15.06 MB, free: 1.098 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.001674/0.001674, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.234/2.234, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.604/1.604, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006191/0.0006192, allocations: 12.78 kB / 0.5069 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.35, allocations: 82.31 MB / 0.5873 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.8078/1.158, allocations: 51.29 MB / 0.6374 GB, free: 23.81 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02423/1.182, allocations: 10.31 MB / 0.6474 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004014/1.186, allocations: 47.31 kB / 0.6475 GB, free: 16.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004177/1.191, allocations: 0.6255 MB / 0.6481 GB, free: 16.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01478/1.205, allocations: 1.953 MB / 0.65 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009471/1.215, allocations: 1.304 MB / 0.6513 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008758/1.224, allocations: 1.845 MB / 0.6531 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003696/1.228, allocations: 0.8053 MB / 0.6539 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005778/1.233, allocations: 0.9811 MB / 0.6548 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002768/1.236, allocations: 0.6026 MB / 0.6554 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005962/1.237, allocations: 42 kB / 0.6554 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005974/1.243, allocations: 1.006 MB / 0.6564 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008735/1.244, allocations: 191.2 kB / 0.6566 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001511/1.245, allocations: 286.8 kB / 0.6569 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005831/1.251, allocations: 1.594 MB / 0.6584 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.251, allocations: 3.938 kB / 0.6584 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.578e-06/1.251, allocations: 0 / 0.6584 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001141/1.252, allocations: 0.6875 kB / 0.6584 GB, free: 11.2 MB / 0.4981 GB 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.007233/1.259, allocations: 1.478 MB / 0.6599 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 8.275e-05/1.259, allocations: 9.406 kB / 0.6599 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007259/1.26, allocations: 124.2 kB / 0.66 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004837/1.264, allocations: 471 kB / 0.6605 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005496/1.27, allocations: 1.048 MB / 0.6615 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007462/1.271, allocations: 140.7 kB / 0.6616 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004967/1.271, allocations: 79.09 kB / 0.6617 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005511/1.277, allocations: 0.9942 MB / 0.6627 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.534e-05/1.277, allocations: 9.031 kB / 0.6627 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/1.277, allocations: 32.09 kB / 0.6627 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.264e-05/1.277, allocations: 19.22 kB / 0.6627 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005351/1.283, allocations: 0.9086 MB / 0.6636 GB, free: 8.52 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.01563/1.298, allocations: 4.937 MB / 0.6684 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006841/1.305, allocations: 0.907 MB / 0.6693 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/1.306, allocations: 0.903 MB / 0.6702 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.024e-05/1.306, allocations: 44.38 kB / 0.6702 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 6.523e-06/1.306, allocations: 1.156 kB / 0.6703 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.01796/1.324, allocations: 2.153 MB / 0.6724 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.299e-05/1.325, allocations: 56.12 kB / 0.6724 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006006/1.331, allocations: 1.068 MB / 0.6734 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003775/1.331, allocations: 38.77 kB / 0.6735 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001178/1.332, allocations: 0.5142 MB / 0.674 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005749/1.333, allocations: 157.5 kB / 0.6741 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/1.333, allocations: 14.12 kB / 0.6742 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001894/1.333, allocations: 326.8 kB / 0.6745 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/1.336, allocations: 325.5 kB / 0.6748 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00254/1.338, allocations: 0.5135 MB / 0.6753 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002136/1.34, allocations: 370.6 kB / 0.6756 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.775e-05/1.34, allocations: 1.25 kB / 0.6756 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.006117/1.347, allocations: 1.029 MB / 0.6766 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.001499/1.348, allocations: 1.584 MB / 0.6782 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.899e-05/1.348, allocations: 4.125 kB / 0.6782 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002934/1.351, allocations: 334.5 kB / 0.6785 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/1.352, allocations: 122 kB / 0.6786 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003283/1.356, allocations: 0.951 MB / 0.6796 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003466/1.359, allocations: 188.8 kB / 0.6797 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003825/1.36, allocations: 34.89 kB / 0.6798 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/1.36, allocations: 6.156 kB / 0.6798 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02245/1.382, allocations: 0.9116 MB / 0.6807 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.236e-05/1.382, allocations: 4.25 kB / 0.6807 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002578/1.385, allocations: 324.6 kB / 0.681 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/1.386, allocations: 130.9 kB / 0.6811 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003244/1.389, allocations: 0.9335 MB / 0.682 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003173/1.393, allocations: 176 kB / 0.6822 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000312/1.393, allocations: 35.16 kB / 0.6822 GB, free: 13.07 MB / 0.5137 GB 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.001609/1.395, allocations: 354 kB / 0.6825 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007788/1.395, allocations: 114.1 kB / 0.6827 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02186/1.417, allocations: 1.207 MB / 0.6838 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.604e-05/1.417, allocations: 5.891 kB / 0.6838 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.979e-05/1.418, allocations: 4.75 kB / 0.6838 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-05/1.418, allocations: 2.969 kB / 0.6838 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/1.431, allocations: 2.303 MB / 0.6861 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.573e-05/1.431, allocations: 3.188 kB / 0.6861 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006649/1.431, allocations: 72.47 kB / 0.6862 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002511/1.434, allocations: 330.2 kB / 0.6865 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001365/1.434, allocations: 13.39 kB / 0.6865 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003238/1.437, allocations: 0.9713 MB / 0.6874 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/1.437, allocations: 2.688 kB / 0.6874 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008816/1.446, allocations: 1.402 MB / 0.6888 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/1.448, allocations: 282.7 kB / 0.6891 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004555/1.448, allocations: 12.56 kB / 0.6891 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002185/1.451, allocations: 119.5 kB / 0.6892 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002062/1.451, allocations: 45.97 kB / 0.6893 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/1.451, allocations: 22.7 kB / 0.6893 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00265/1.454, allocations: 0.7509 MB / 0.69 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.01e-07/1.454, allocations: 0 / 0.69 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004179/1.458, allocations: 0.5658 MB / 0.6906 GB, free: 9.137 MB / 0.5137 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 (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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.009578/1.468, allocations: 2.826 MB / 0.6933 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006715/1.474, allocations: 1.164 MB / 0.6945 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-05/1.475, allocations: 0 / 0.6945 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002041/1.477, allocations: 375.1 kB / 0.6948 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005262/1.482, allocations: 497.9 kB / 0.6953 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0171/1.499, allocations: 5.776 MB / 0.7009 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/1.501, allocations: 1.09 MB / 0.702 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00221/1.503, allocations: 225.4 kB / 0.7022 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/1.504, allocations: 412.7 kB / 0.7026 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of SimCode: time 2.114e-06/1.504, allocations: 0 / 0.7026 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1717/1.676, allocations: 33.15 MB / 0.735 GB, free: 4 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005647/1.677, allocations: 250.9 kB / 0.7352 GB, free: 3.691 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.936/6.612, allocations: 0 / 0.7352 GB, free: 3.691 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) Environment - environmentSimulation: