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.001096/0.001096, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001366/0.001367, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8952/0.8952, allocations: 135.3 MB / 426.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003081, allocations: 8.812 kB / 0.5071 GB, free: 5.055 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1561, allocations: 82.31 MB / 0.5875 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.3167/0.4728, allocations: 56.49 MB / 0.6426 GB, free: 20.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01171/0.4846, allocations: 11.21 MB / 0.6536 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/0.4864, allocations: 54.19 kB / 0.6536 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.4877, allocations: 458.8 kB / 0.6541 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003647/0.4913, allocations: 1.539 MB / 0.6556 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002208/0.4935, allocations: 0.854 MB / 0.6564 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003172/0.4967, allocations: 3.393 MB / 0.6597 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.4978, allocations: 0.8059 MB / 0.6605 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001848/0.4997, allocations: 1.041 MB / 0.6615 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.5008, allocations: 0.8209 MB / 0.6623 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.5009, allocations: 43.91 kB / 0.6624 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002237/0.5031, allocations: 1.09 MB / 0.6634 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.5033, allocations: 201.5 kB / 0.6636 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002956/0.5036, allocations: 282.3 kB / 0.6639 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002118/0.5058, allocations: 1.645 MB / 0.6655 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5058, allocations: 4 kB / 0.6655 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5058, allocations: 0.625 kB / 0.6655 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.681e-05/0.5058, allocations: 0 / 0.6655 GB, free: 7.031 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.002555/0.5084, allocations: 1.511 MB / 0.667 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.5084, allocations: 9.781 kB / 0.667 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.5086, allocations: 126.2 kB / 0.6671 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002282/0.5109, allocations: 0.5138 MB / 0.6676 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/0.5129, allocations: 1.093 MB / 0.6687 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003423/0.5133, allocations: 129.4 kB / 0.6688 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.5134, allocations: 84.44 kB / 0.6689 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/0.5155, allocations: 1.027 MB / 0.6699 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.5155, allocations: 1.062 kB / 0.6699 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-05/0.5156, allocations: 31.41 kB / 0.6699 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.5156, allocations: 18.41 kB / 0.6699 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002414/0.518, allocations: 1.006 MB / 0.6709 GB, free: 4.305 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.005493/0.5235, allocations: 4.71 MB / 0.6755 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003708/0.5272, allocations: 1.133 MB / 0.6766 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.5283, allocations: 447.9 kB / 0.677 GB, free: 408 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008818/0.5292, allocations: 1.031 MB / 0.6781 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.5292, allocations: 41.25 kB / 0.6781 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.124e-06/0.5292, allocations: 0 / 0.6781 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.00912/0.5383, allocations: 2.49 MB / 0.6805 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.5384, allocations: 57.75 kB / 0.6806 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.5402, allocations: 0.9251 MB / 0.6815 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.5403, allocations: 38.48 kB / 0.6815 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004978/0.5408, allocations: 0.4991 MB / 0.682 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.541, allocations: 187.4 kB / 0.6822 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.5411, allocations: 10.25 kB / 0.6822 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5412, allocations: 334.5 kB / 0.6825 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.5422, allocations: 378.7 kB / 0.6829 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.5434, allocations: 0.5386 MB / 0.6834 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000968/0.5444, allocations: 401.8 kB / 0.6838 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5444, allocations: 3.938 kB / 0.6838 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002801/0.5472, allocations: 1.124 MB / 0.6849 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.913e-05/0.5473, allocations: 162.8 kB / 0.685 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.5473, allocations: 2.859 kB / 0.685 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/0.5485, allocations: 330.9 kB / 0.6854 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006244/0.5491, allocations: 141.5 kB / 0.6855 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.5505, allocations: 0.9342 MB / 0.6864 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.5517, allocations: 177.2 kB / 0.6866 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.33e-05/0.5517, allocations: 31.94 kB / 0.6866 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/0.5518, allocations: 4.031 kB / 0.6866 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002556/0.5543, allocations: 0.9983 MB / 0.6876 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5543, allocations: 2.75 kB / 0.6876 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.5554, allocations: 331 kB / 0.6879 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/0.556, allocations: 149 kB / 0.688 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.5575, allocations: 0.9283 MB / 0.689 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.559, allocations: 172.8 kB / 0.6891 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.5592, allocations: 30.95 kB / 0.6891 GB, free: 10.17 MB / 0.5137 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.0009469/0.5601, allocations: 348.5 kB / 0.6895 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002832/0.5604, allocations: 106.3 kB / 0.6896 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004632/0.565, allocations: 1.441 MB / 0.691 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.5651, allocations: 7.719 kB / 0.691 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5651, allocations: 0 / 0.691 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.5651, allocations: 4.875 kB / 0.691 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005689/0.5708, allocations: 2.523 MB / 0.6935 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.5708, allocations: 2.031 kB / 0.6935 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005214/0.5714, allocations: 118.8 kB / 0.6936 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009483/0.5723, allocations: 318.7 kB / 0.6939 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.309e-05/0.5724, allocations: 21.14 kB / 0.6939 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/0.5737, allocations: 0.9738 MB / 0.6949 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.5737, allocations: 2.312 kB / 0.6949 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003846/0.5776, allocations: 1.46 MB / 0.6963 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005829/0.5782, allocations: 293.5 kB / 0.6966 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.5783, allocations: 12.31 kB / 0.6966 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008703/0.5792, allocations: 117.7 kB / 0.6967 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.263e-05/0.5793, allocations: 37.23 kB / 0.6967 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-05/0.5794, allocations: 28.23 kB / 0.6967 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009362/0.5803, allocations: 0.6503 MB / 0.6974 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5803, allocations: 1.062 kB / 0.6974 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00168/0.582, allocations: 0.574 MB / 0.6979 GB, free: 6.012 MB / 0.5137 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.004774/0.5868, allocations: 2.264 MB / 0.7002 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003606/0.5904, allocations: 1.388 MB / 0.7015 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.5904, allocations: 1.375 kB / 0.7015 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.5917, allocations: 489 kB / 0.702 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/0.5945, allocations: 0.501 MB / 0.7025 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/0.608, allocations: 6.729 MB / 0.709 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005699/0.6086, allocations: 1.063 MB / 0.7101 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00115/0.6097, allocations: 236.4 kB / 0.7103 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005217/0.6103, allocations: 415.3 kB / 0.7107 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of SimCode: time 1.102e-06/0.6103, allocations: 0 / 0.7107 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.894/4.505, allocations: 33.17 MB / 0.7431 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/4.505, allocations: 262.2 kB / 0.7433 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.277/8.782, allocations: 0 / 0.7433 GB, free: 12.06 MB / 0.5606 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: