Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_Carnot_y",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.001582/0.001582, allocations: 98.92 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.002183/0.002183, allocations: 177.3 kB / 15.94 MB, free: 228 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.766/2.766, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.7/1.7, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005688/0.0005689, allocations: 11.98 kB / 0.5069 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3021, allocations: 82.31 MB / 0.5873 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.6467/0.9489, allocations: 62.95 MB / 0.6487 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03046/0.9795, allocations: 12.97 MB / 0.6614 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004691/0.9842, allocations: 54.25 kB / 0.6615 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004686/0.989, allocations: 0.7553 MB / 0.6622 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01476/1.004, allocations: 2.393 MB / 0.6645 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008314/1.012, allocations: 1.52 MB / 0.666 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009911/1.022, allocations: 2.53 MB / 0.6685 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003899/1.026, allocations: 1.041 MB / 0.6695 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00553/1.032, allocations: 1.169 MB / 0.6707 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003359/1.035, allocations: 0.7839 MB / 0.6714 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005758/1.036, allocations: 56.41 kB / 0.6715 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00568/1.041, allocations: 0.8434 MB / 0.6723 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009188/1.042, allocations: 264.5 kB / 0.6725 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001534/1.044, allocations: 356.2 kB / 0.6729 GB, free: 472 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006695/1.051, allocations: 2.013 MB / 0.6749 GB, free: 15.96 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.051, allocations: 1.125 kB / 0.6749 GB, free: 15.96 MB / 0.5138 GB Notification: Performance of FrontEnd: time 3.547e-06/1.051, allocations: 0 / 0.6749 GB, free: 15.96 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 0.0001062/1.051, allocations: 0 / 0.6749 GB, free: 15.96 MB / 0.5138 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.008793/1.06, allocations: 1.79 MB / 0.6766 GB, free: 14.8 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 6.936e-05/1.06, allocations: 9.219 kB / 0.6766 GB, free: 14.8 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000784/1.06, allocations: 148 kB / 0.6768 GB, free: 14.7 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001731/1.062, allocations: 240.7 kB / 0.677 GB, free: 14.61 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005957/1.068, allocations: 1.385 MB / 0.6783 GB, free: 13.78 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/1.068, allocations: 76.47 kB / 0.6784 GB, free: 13.75 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004314/1.069, allocations: 105.3 kB / 0.6785 GB, free: 13.71 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004204/1.073, allocations: 1.11 MB / 0.6796 GB, free: 13.21 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.84e-05/1.073, allocations: 5.188 kB / 0.6796 GB, free: 13.21 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/1.073, allocations: 44.16 kB / 0.6796 GB, free: 13.17 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.828e-05/1.073, allocations: 26.95 kB / 0.6797 GB, free: 13.17 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003962/1.077, allocations: 0.9235 MB / 0.6806 GB, free: 12.86 MB / 0.5138 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.01476/1.092, allocations: 4.953 MB / 0.6854 GB, free: 9.391 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002885/1.095, allocations: 0.636 MB / 0.686 GB, free: 9.172 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/1.096, allocations: 0.8298 MB / 0.6868 GB, free: 8.215 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/1.097, allocations: 38.73 kB / 0.6869 GB, free: 8.172 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=61): time 9.988e-06/1.097, allocations: 5.047 kB / 0.6869 GB, free: 8.168 MB / 0.5138 GB Notification: Performance of matching and sorting (n=61): time 0.01389/1.11, allocations: 1.885 MB / 0.6887 GB, free: 7.648 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.853e-05/1.111, allocations: 58.59 kB / 0.6888 GB, free: 7.586 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004534/1.115, allocations: 1.256 MB / 0.69 GB, free: 7.059 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.000327/1.116, allocations: 39.58 kB / 0.69 GB, free: 7.02 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001087/1.117, allocations: 0.6054 MB / 0.6906 GB, free: 6.539 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005583/1.117, allocations: 214.7 kB / 0.6908 GB, free: 6.371 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.499e-05/1.117, allocations: 14.16 kB / 0.6908 GB, free: 6.359 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0002763/1.118, allocations: 338.2 kB / 0.6912 GB, free: 6.039 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/1.119, allocations: 293.9 kB / 0.6914 GB, free: 5.953 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/1.12, allocations: 0.5023 MB / 0.6919 GB, free: 5.625 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/1.122, allocations: 354.2 kB / 0.6923 GB, free: 5.492 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/1.122, allocations: 5.031 kB / 0.6923 GB, free: 5.488 MB / 0.5138 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00865/1.131, allocations: 1.401 MB / 0.6936 GB, free: 5.07 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.001616/1.132, allocations: 1.418 MB / 0.695 GB, free: 3.582 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/1.132, allocations: 8.938 kB / 0.695 GB, free: 3.578 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/1.133, allocations: 149 kB / 0.6952 GB, free: 3.539 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/1.135, allocations: 168.2 kB / 0.6953 GB, free: 3.523 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/1.136, allocations: 0.7115 MB / 0.696 GB, free: 2.934 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002836/1.139, allocations: 169.3 kB / 0.6962 GB, free: 2.867 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002602/1.139, allocations: 35.42 kB / 0.6962 GB, free: 2.859 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/1.14, allocations: 3.781 kB / 0.6962 GB, free: 2.859 MB / 0.5138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008005/1.148, allocations: 1.249 MB / 0.6975 GB, free: 2.531 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.721e-05/1.148, allocations: 2.812 kB / 0.6975 GB, free: 2.531 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009135/1.149, allocations: 146.7 kB / 0.6976 GB, free: 2.496 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/1.15, allocations: 167.4 kB / 0.6978 GB, free: 2.48 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/1.152, allocations: 0.7154 MB / 0.6985 GB, free: 1.887 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002694/1.154, allocations: 164.2 kB / 0.6986 GB, free: 1.824 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002879/1.155, allocations: 34.16 kB / 0.6986 GB, free: 1.816 MB / 0.5138 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.001807/1.156, allocations: 417 kB / 0.699 GB, free: 1.5 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008065/1.157, allocations: 143.6 kB / 0.6992 GB, free: 1.422 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00886/1.166, allocations: 1.404 MB / 0.7006 GB, free: 0.9922 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4e-05/1.166, allocations: 7 kB / 0.7006 GB, free: 0.9922 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/1.166, allocations: 0 / 0.7006 GB, free: 0.9922 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007842/1.174, allocations: 1.238 MB / 0.7018 GB, free: 0.5781 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/1.19, allocations: 2.761 MB / 0.7045 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.589e-05/1.19, allocations: 3.156 kB / 0.7045 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/1.191, allocations: 117.3 kB / 0.7046 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008852/1.192, allocations: 146.2 kB / 0.7047 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001877/1.192, allocations: 24.55 kB / 0.7047 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008485/1.201, allocations: 2.54 MB / 0.7072 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/1.201, allocations: 5.531 kB / 0.7072 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01037/1.211, allocations: 2.056 MB / 0.7092 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00194/1.213, allocations: 350.2 kB / 0.7096 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005592/1.214, allocations: 14.88 kB / 0.7096 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/1.215, allocations: 86.59 kB / 0.7097 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/1.216, allocations: 65.66 kB / 0.7097 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/1.216, allocations: 28.67 kB / 0.7098 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002532/1.218, allocations: 0.902 MB / 0.7106 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.8e-07/1.218, allocations: 384 / 0.7106 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0051/1.224, allocations: 0.7261 MB / 0.7113 GB, free: 10.23 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.01178/1.235, allocations: 3.855 MB / 0.7151 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004871/1.24, allocations: 1.163 MB / 0.7162 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/1.24, allocations: 0 / 0.7162 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002609/1.243, allocations: 0.6034 MB / 0.7168 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006746/1.25, allocations: 0.7446 MB / 0.7176 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/1.264, allocations: 5.951 MB / 0.7234 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/1.265, allocations: 1.206 MB / 0.7246 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002592/1.268, allocations: 311.9 kB / 0.7249 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001338/1.269, allocations: 0.511 MB / 0.7254 GB, free: 13.16 MB / 0.545 GB Notification: Performance of SimCode: time 1.573e-06/1.269, allocations: 0 / 0.7254 GB, free: 13.16 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1775/1.447, allocations: 42.02 MB / 0.7664 GB, free: 3.613 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005193/1.447, allocations: 226.6 kB / 0.7666 GB, free: 3.379 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.166/6.614, allocations: 0 / 0.7666 GB, free: 3.379 MB / 0.5763 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_Carnot_y.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: