Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_y_etaCar,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaCar",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.001561/0.001561, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.002162/0.002161, allocations: 177.3 kB / 15.95 MB, free: 216 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.658/2.658, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.981/1.981, allocations: 135.2 MB / 426.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009256/0.0009258, allocations: 8 kB / 0.5069 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.351, allocations: 82.31 MB / 0.5873 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.8554/1.206, allocations: 62.97 MB / 0.6488 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03433/1.241, allocations: 12.98 MB / 0.6614 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005273/1.246, allocations: 57.22 kB / 0.6615 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.006585/1.253, allocations: 0.7416 MB / 0.6622 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.02013/1.273, allocations: 2.396 MB / 0.6646 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01104/1.284, allocations: 1.523 MB / 0.666 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01317/1.298, allocations: 2.518 MB / 0.6685 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004778/1.302, allocations: 1.046 MB / 0.6695 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008325/1.311, allocations: 1.171 MB / 0.6707 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004712/1.316, allocations: 0.7867 MB / 0.6714 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009376/1.317, allocations: 54.59 kB / 0.6715 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008506/1.325, allocations: 0.8408 MB / 0.6723 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001627/1.327, allocations: 259.7 kB / 0.6726 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002408/1.329, allocations: 359.6 kB / 0.6729 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009733/1.339, allocations: 2.014 MB / 0.6749 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/1.339, allocations: 0 / 0.6749 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of FrontEnd: time 7.334e-06/1.339, allocations: 0.9062 kB / 0.6749 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001201/1.339, allocations: 0 / 0.6749 GB, free: 15.97 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.0123/1.352, allocations: 1.787 MB / 0.6766 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 8.81e-05/1.352, allocations: 10.03 kB / 0.6766 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001067/1.353, allocations: 147 kB / 0.6768 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/1.355, allocations: 240.8 kB / 0.677 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008293/1.364, allocations: 1.378 MB / 0.6783 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003156/1.364, allocations: 77.36 kB / 0.6784 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008279/1.365, allocations: 104.9 kB / 0.6785 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007424/1.373, allocations: 1.108 MB / 0.6796 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/1.373, allocations: 5.125 kB / 0.6796 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005021/1.373, allocations: 40.31 kB / 0.6796 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/1.373, allocations: 24.81 kB / 0.6797 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005132/1.379, allocations: 0.922 MB / 0.6806 GB, free: 12.88 MB / 0.5137 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.01814/1.397, allocations: 4.949 MB / 0.6854 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003081/1.4, allocations: 0.6434 MB / 0.686 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001174/1.401, allocations: 0.8261 MB / 0.6868 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.2e-05/1.401, allocations: 38.97 kB / 0.6869 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 5.721e-06/1.401, allocations: 0 / 0.6869 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.01315/1.415, allocations: 1.886 MB / 0.6887 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/1.415, allocations: 57.64 kB / 0.6888 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005972/1.421, allocations: 1.251 MB / 0.69 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004215/1.421, allocations: 39.48 kB / 0.69 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001453/1.423, allocations: 0.6086 MB / 0.6906 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007061/1.423, allocations: 210.2 kB / 0.6908 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/1.424, allocations: 14.75 kB / 0.6908 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0003376/1.424, allocations: 337.2 kB / 0.6912 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/1.426, allocations: 298.3 kB / 0.6914 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002025/1.428, allocations: 0.4986 MB / 0.6919 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/1.43, allocations: 354.1 kB / 0.6923 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-05/1.43, allocations: 1.406 kB / 0.6923 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.009486/1.439, allocations: 1.403 MB / 0.6936 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.001227/1.441, allocations: 1.423 MB / 0.695 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/1.441, allocations: 12.03 kB / 0.695 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/1.442, allocations: 145.4 kB / 0.6952 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/1.444, allocations: 164.1 kB / 0.6953 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/1.445, allocations: 0.7183 MB / 0.696 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003389/1.449, allocations: 171.9 kB / 0.6962 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003494/1.449, allocations: 31.45 kB / 0.6962 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/1.449, allocations: 5.219 kB / 0.6962 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009021/1.458, allocations: 1.25 MB / 0.6975 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-05/1.458, allocations: 7.312 kB / 0.6975 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009874/1.459, allocations: 142.1 kB / 0.6976 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/1.461, allocations: 161.2 kB / 0.6978 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/1.463, allocations: 0.7246 MB / 0.6985 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003324/1.466, allocations: 168.5 kB / 0.6986 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004143/1.467, allocations: 29.05 kB / 0.6986 GB, free: 1.832 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.002596/1.469, allocations: 421 kB / 0.6991 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/1.471, allocations: 140.1 kB / 0.6992 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01071/1.481, allocations: 1.393 MB / 0.7005 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.55e-05/1.481, allocations: 11.48 kB / 0.7006 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.3e-05/1.482, allocations: 0.9688 kB / 0.7006 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009363/1.491, allocations: 1.232 MB / 0.7018 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/1.508, allocations: 2.766 MB / 0.7045 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-05/1.508, allocations: 3.969 kB / 0.7045 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/1.509, allocations: 125.2 kB / 0.7046 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/1.51, allocations: 139.8 kB / 0.7047 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/1.51, allocations: 21.02 kB / 0.7047 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01045/1.521, allocations: 2.545 MB / 0.7072 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.732e-05/1.521, allocations: 4.188 kB / 0.7072 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01221/1.533, allocations: 2.057 MB / 0.7092 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002335/1.536, allocations: 354.8 kB / 0.7096 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009969/1.537, allocations: 18.12 kB / 0.7096 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002916/1.54, allocations: 87.92 kB / 0.7097 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003524/1.54, allocations: 57.3 kB / 0.7097 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002485/1.54, allocations: 37.09 kB / 0.7098 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004525/1.545, allocations: 0.8921 MB / 0.7106 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.763e-06/1.545, allocations: 0 / 0.7106 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007347/1.552, allocations: 0.7278 MB / 0.7113 GB, free: 10.27 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01555/1.568, allocations: 3.855 MB / 0.7151 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006317/1.574, allocations: 1.157 MB / 0.7162 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/1.574, allocations: 4 kB / 0.7162 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002617/1.577, allocations: 0.5995 MB / 0.7168 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007327/1.584, allocations: 0.7532 MB / 0.7176 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01953/1.604, allocations: 5.936 MB / 0.7234 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001924/1.606, allocations: 1.206 MB / 0.7245 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003716/1.61, allocations: 311 kB / 0.7248 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00182/1.612, allocations: 0.5071 MB / 0.7253 GB, free: 13.21 MB / 0.545 GB Notification: Performance of SimCode: time 3.817e-06/1.612, allocations: 0 / 0.7253 GB, free: 13.21 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1581/1.77, allocations: 42.03 MB / 0.7664 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005678/1.771, allocations: 240.9 kB / 0.7666 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.059/6.83, allocations: 4.062 kB / 0.7666 GB, free: 3.406 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) Environment - environmentSimulation: