Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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_reverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_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.001324/0.001324, allocations: 100 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.00181/0.00181, 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.748/2.748, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.896/1.896, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006474/0.0006477, allocations: 11.98 kB / 0.5069 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3488, allocations: 82.32 MB / 0.5873 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.8253/1.174, allocations: 51.28 MB / 0.6374 GB, free: 23.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02092/1.195, allocations: 10.31 MB / 0.6474 GB, free: 16.51 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004894/1.2, allocations: 51.09 kB / 0.6475 GB, free: 16.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00396/1.204, allocations: 0.6263 MB / 0.6481 GB, free: 16.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01193/1.216, allocations: 1.94 MB / 0.65 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006879/1.223, allocations: 1.308 MB / 0.6513 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008306/1.231, allocations: 1.857 MB / 0.6531 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003175/1.235, allocations: 0.8289 MB / 0.6539 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005158/1.24, allocations: 0.9865 MB / 0.6549 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002656/1.243, allocations: 0.6105 MB / 0.6554 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003605/1.243, allocations: 43.34 kB / 0.6555 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005131/1.248, allocations: 0.9894 MB / 0.6565 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005318/1.249, allocations: 204.4 kB / 0.6567 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001172/1.25, allocations: 281.6 kB / 0.6569 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005772/1.256, allocations: 1.589 MB / 0.6585 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/1.256, allocations: 0.6562 kB / 0.6585 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.071e-06/1.256, allocations: 0 / 0.6585 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.864e-05/1.256, allocations: 4.812 kB / 0.6585 GB, free: 11.19 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.0065/1.263, allocations: 1.498 MB / 0.6599 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 9.618e-05/1.263, allocations: 8.781 kB / 0.6599 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004462/1.263, allocations: 124.3 kB / 0.6601 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004431/1.268, allocations: 0.5114 MB / 0.6606 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004293/1.272, allocations: 1.052 MB / 0.6616 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006706/1.273, allocations: 136.6 kB / 0.6617 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002406/1.273, allocations: 84.2 kB / 0.6618 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004487/1.277, allocations: 1.027 MB / 0.6628 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/1.277, allocations: 0 / 0.6628 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/1.278, allocations: 31.03 kB / 0.6628 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.191e-05/1.278, allocations: 27.61 kB / 0.6629 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005274/1.283, allocations: 1.005 MB / 0.6638 GB, free: 8.469 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.01358/1.297, allocations: 4.735 MB / 0.6685 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00697/1.304, allocations: 1.13 MB / 0.6696 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001592/1.305, allocations: 1.027 MB / 0.6706 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.987e-05/1.305, allocations: 38.08 kB / 0.6706 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 4.358e-06/1.305, allocations: 1.281 kB / 0.6706 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.01925/1.325, allocations: 2.484 MB / 0.673 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/1.325, allocations: 62.23 kB / 0.6731 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00318/1.328, allocations: 0.9384 MB / 0.674 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003611/1.328, allocations: 38.81 kB / 0.6741 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007534/1.329, allocations: 0.5027 MB / 0.6745 GB, free: 2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003874/1.33, allocations: 184.3 kB / 0.6747 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/1.33, allocations: 11.06 kB / 0.6747 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.33, allocations: 341.8 kB / 0.6751 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001761/1.332, allocations: 373.1 kB / 0.6754 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/1.334, allocations: 0.5369 MB / 0.6759 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/1.336, allocations: 401 kB / 0.6763 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/1.336, allocations: 3.938 kB / 0.6763 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.006273/1.342, allocations: 1.125 MB / 0.6774 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009046/1.343, allocations: 0.9656 MB / 0.6784 GB, free: 15.58 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-05/1.343, allocations: 2.906 kB / 0.6784 GB, free: 15.58 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002745/1.346, allocations: 330.1 kB / 0.6787 GB, free: 15.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/1.347, allocations: 145.8 kB / 0.6788 GB, free: 15.48 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003211/1.35, allocations: 0.9335 MB / 0.6797 GB, free: 14.82 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003145/1.354, allocations: 189.7 kB / 0.6799 GB, free: 14.76 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002634/1.354, allocations: 29.31 kB / 0.6799 GB, free: 14.75 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/1.354, allocations: 3.281 kB / 0.6799 GB, free: 14.75 MB / 0.5138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00479/1.359, allocations: 0.9989 MB / 0.6809 GB, free: 14.44 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/1.359, allocations: 2.281 kB / 0.6809 GB, free: 14.44 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002082/1.361, allocations: 323.9 kB / 0.6812 GB, free: 14.36 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/1.362, allocations: 141.8 kB / 0.6814 GB, free: 14.35 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/1.364, allocations: 0.9308 MB / 0.6823 GB, free: 13.69 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/1.367, allocations: 168.5 kB / 0.6824 GB, free: 13.64 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/1.367, allocations: 31.8 kB / 0.6825 GB, free: 13.64 MB / 0.5138 GB 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 (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.00134/1.368, allocations: 352.2 kB / 0.6828 GB, free: 13.35 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000522/1.369, allocations: 110.3 kB / 0.6829 GB, free: 13.29 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008606/1.377, allocations: 1.441 MB / 0.6843 GB, free: 12.85 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.68e-05/1.377, allocations: 6.469 kB / 0.6843 GB, free: 12.85 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/1.378, allocations: 4 kB / 0.6843 GB, free: 12.85 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-05/1.378, allocations: 4.188 kB / 0.6843 GB, free: 12.85 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/1.391, allocations: 2.527 MB / 0.6868 GB, free: 11.76 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.89e-05/1.391, allocations: 6.078 kB / 0.6868 GB, free: 11.76 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/1.392, allocations: 117.6 kB / 0.6869 GB, free: 11.75 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002088/1.394, allocations: 331.9 kB / 0.6872 GB, free: 11.66 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000197/1.394, allocations: 18.7 kB / 0.6872 GB, free: 11.65 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002955/1.397, allocations: 0.9566 MB / 0.6882 GB, free: 10.98 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.313e-05/1.397, allocations: 6.25 kB / 0.6882 GB, free: 10.98 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007381/1.405, allocations: 1.538 MB / 0.6897 GB, free: 10.3 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001738/1.407, allocations: 295.5 kB / 0.69 GB, free: 10.08 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004236/1.407, allocations: 12.03 kB / 0.69 GB, free: 10.07 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/1.409, allocations: 128.9 kB / 0.6901 GB, free: 10.05 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/1.409, allocations: 44.44 kB / 0.6901 GB, free: 10.04 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/1.409, allocations: 25.16 kB / 0.6902 GB, free: 10.04 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002261/1.411, allocations: 0.6647 MB / 0.6908 GB, free: 9.738 MB / 0.5138 GB Notification: Performance of sort global known variables: time 6.81e-07/1.412, allocations: 1.062 kB / 0.6908 GB, free: 9.738 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.004472/1.416, allocations: 0.5709 MB / 0.6914 GB, free: 9.617 MB / 0.5138 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 (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.01078/1.427, allocations: 2.755 MB / 0.6941 GB, free: 7.926 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.007412/1.434, allocations: 1.393 MB / 0.6954 GB, free: 7.539 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/1.434, allocations: 0 / 0.6954 GB, free: 7.539 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.001939/1.436, allocations: 495 kB / 0.6959 GB, free: 7.398 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005167/1.442, allocations: 0.4894 MB / 0.6964 GB, free: 7.273 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/1.457, allocations: 4.474 MB / 0.7007 GB, free: 3.883 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001566/1.459, allocations: 1.092 MB / 0.7018 GB, free: 2.988 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.002586/1.461, allocations: 233.8 kB / 0.702 GB, free: 2.871 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/1.462, allocations: 422.1 kB / 0.7024 GB, free: 2.523 MB / 0.5138 GB Notification: Performance of SimCode: time 6.713e-06/1.462, allocations: 1.062 kB / 0.7024 GB, free: 2.523 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1354/1.598, allocations: 32.88 MB / 0.7346 GB, free: 4.703 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005122/1.598, allocations: 257.2 kB / 0.7348 GB, free: 4.367 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.969/5.567, allocations: 0 / 0.7348 GB, free: 4.367 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1) Environment - environmentSimulation: