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: translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008645/0.0008645, allocations: 99.31 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.0009887/0.0009887, 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 1.213/1.213, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8284/0.8284, allocations: 135.2 MB / 426.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002932/0.0002933, allocations: 12 kB / 0.5068 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.135, allocations: 82.32 MB / 0.5872 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.273/0.408, allocations: 51.28 MB / 0.6373 GB, free: 23.83 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01021/0.4183, allocations: 10.31 MB / 0.6473 GB, free: 16.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.4197, allocations: 46.03 kB / 0.6474 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.4213, allocations: 0.6251 MB / 0.648 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004317/0.4256, allocations: 1.949 MB / 0.6499 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003352/0.429, allocations: 1.316 MB / 0.6512 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002931/0.4319, allocations: 1.846 MB / 0.653 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.433, allocations: 0.842 MB / 0.6538 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/0.4349, allocations: 0.9835 MB / 0.6548 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009731/0.4359, allocations: 0.6216 MB / 0.6554 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.4361, allocations: 42.88 kB / 0.6554 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002156/0.4382, allocations: 0.986 MB / 0.6564 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.4384, allocations: 199.9 kB / 0.6566 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.4387, allocations: 286.8 kB / 0.6569 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.4404, allocations: 1.583 MB / 0.6584 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.4404, allocations: 0 / 0.6584 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4404, allocations: 0 / 0.6584 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.4405, allocations: 0.5625 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002531/0.443, allocations: 1.496 MB / 0.6599 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.443, allocations: 8.75 kB / 0.6599 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/0.4454, allocations: 0.5163 MB / 0.6604 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/0.4471, allocations: 1.055 MB / 0.6614 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003392/0.4475, allocations: 132.2 kB / 0.6615 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.4476, allocations: 84.19 kB / 0.6616 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.4496, allocations: 1.027 MB / 0.6626 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.4497, allocations: 1.094 kB / 0.6626 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-05/0.4497, allocations: 32.41 kB / 0.6626 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.4498, allocations: 18.03 kB / 0.6627 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/0.4522, allocations: 1.006 MB / 0.6636 GB, free: 8.57 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.005363/0.4576, allocations: 4.73 MB / 0.6683 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003876/0.4615, allocations: 1.13 MB / 0.6694 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006936/0.4622, allocations: 1.036 MB / 0.6704 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.4622, allocations: 38.12 kB / 0.6704 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.325e-06/0.4622, allocations: 0 / 0.6704 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.008901/0.4711, allocations: 2.484 MB / 0.6728 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.4711, allocations: 57.66 kB / 0.6729 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.4723, allocations: 0.939 MB / 0.6738 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.69e-05/0.4723, allocations: 37.3 kB / 0.6738 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.4727, allocations: 0.5079 MB / 0.6743 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.4728, allocations: 179 kB / 0.6745 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.4729, allocations: 10.72 kB / 0.6745 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.481e-05/0.473, allocations: 329.6 kB / 0.6748 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.4741, allocations: 377.9 kB / 0.6752 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.4753, allocations: 0.5492 MB / 0.6757 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.4763, allocations: 401 kB / 0.6761 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4763, allocations: 1.375 kB / 0.6761 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002623/0.479, allocations: 1.123 MB / 0.6772 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002374/0.4792, allocations: 0.9669 MB / 0.6782 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4792, allocations: 5.5 kB / 0.6782 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/0.4805, allocations: 334.9 kB / 0.6785 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006233/0.4811, allocations: 133.8 kB / 0.6786 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.4826, allocations: 0.9476 MB / 0.6795 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.4837, allocations: 172.3 kB / 0.6797 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.207e-05/0.4838, allocations: 31.8 kB / 0.6797 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/0.4838, allocations: 3.969 kB / 0.6797 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002552/0.4864, allocations: 0.9978 MB / 0.6807 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.4864, allocations: 2.719 kB / 0.6807 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.4874, allocations: 324 kB / 0.681 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005989/0.488, allocations: 146.9 kB / 0.6812 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.4894, allocations: 0.9375 MB / 0.6821 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.4905, allocations: 168.6 kB / 0.6822 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.579e-05/0.4906, allocations: 29.58 kB / 0.6823 GB, free: 13.73 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.0005663/0.4912, allocations: 351.8 kB / 0.6826 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.4913, allocations: 109.3 kB / 0.6827 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004396/0.4957, allocations: 1.438 MB / 0.6841 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.828e-05/0.4958, allocations: 10.8 kB / 0.6841 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4958, allocations: 0 / 0.6841 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/0.4958, allocations: 3.281 kB / 0.6841 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006303/0.5021, allocations: 2.531 MB / 0.6866 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.5021, allocations: 1.469 kB / 0.6866 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005404/0.5027, allocations: 121.5 kB / 0.6867 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/0.5037, allocations: 333.2 kB / 0.687 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.309e-05/0.5038, allocations: 22.72 kB / 0.6871 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.5053, allocations: 0.9589 MB / 0.688 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.5053, allocations: 1.312 kB / 0.688 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004237/0.5096, allocations: 1.535 MB / 0.6895 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000555/0.5102, allocations: 295 kB / 0.6898 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.5103, allocations: 11.64 kB / 0.6898 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009416/0.5112, allocations: 126.5 kB / 0.6899 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.47e-05/0.5113, allocations: 43.25 kB / 0.6899 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.428e-05/0.5114, allocations: 25.12 kB / 0.69 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009821/0.5124, allocations: 0.6655 MB / 0.6906 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5124, allocations: 3.938 kB / 0.6906 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001647/0.5141, allocations: 0.5686 MB / 0.6912 GB, free: 9.719 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.0007336/0.5148, allocations: 386.4 kB / 0.6915 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003555/0.5184, allocations: 1.392 MB / 0.6929 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5184, allocations: 1.406 kB / 0.6929 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.5196, allocations: 487.6 kB / 0.6934 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.5216, allocations: 0.4908 MB / 0.6938 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003708/0.5253, allocations: 2.324 MB / 0.6961 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005662/0.5259, allocations: 1.091 MB / 0.6972 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008837/0.5268, allocations: 236.5 kB / 0.6974 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.527, allocations: 79.69 kB / 0.6975 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.527, allocations: 0 / 0.6975 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of Templates: time 0.03354/0.5605, allocations: 23.33 MB / 0.7203 GB, free: 3.18 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile Environment - environmentSimulation: (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 & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1) Environment - environmentSimulation: