Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_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.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008472/0.0008472, allocations: 99.7 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.0009178/0.0009178, 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 1.227/1.227, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8884/0.8884, allocations: 135.2 MB / 426.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002923, allocations: 8 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1453, allocations: 82.32 MB / 0.5872 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.2921/0.4375, allocations: 51.27 MB / 0.6373 GB, free: 23.92 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01059/0.4481, allocations: 10.31 MB / 0.6473 GB, free: 16.61 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/0.4495, allocations: 50.06 kB / 0.6474 GB, free: 16.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.4511, allocations: 0.6306 MB / 0.648 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004147/0.4552, allocations: 1.936 MB / 0.6499 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002828/0.4581, allocations: 1.312 MB / 0.6512 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002476/0.4606, allocations: 1.865 MB / 0.653 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00098/0.4616, allocations: 0.8264 MB / 0.6538 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.4631, allocations: 0.9839 MB / 0.6548 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007049/0.4638, allocations: 0.6164 MB / 0.6554 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-05/0.4639, allocations: 46.62 kB / 0.6554 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.4657, allocations: 1.001 MB / 0.6564 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.4659, allocations: 191.8 kB / 0.6566 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002349/0.4661, allocations: 290.3 kB / 0.6568 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.4675, allocations: 1.592 MB / 0.6584 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.4676, allocations: 1.062 kB / 0.6584 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4676, allocations: 0 / 0.6584 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.467e-05/0.4676, allocations: 0 / 0.6584 GB, free: 11.28 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.002278/0.4699, allocations: 1.504 MB / 0.6599 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.4699, allocations: 11.64 kB / 0.6599 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002348/0.4723, allocations: 0.5101 MB / 0.6604 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.4741, allocations: 1.055 MB / 0.6614 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003394/0.4745, allocations: 127.9 kB / 0.6615 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.4746, allocations: 83.56 kB / 0.6616 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.4766, allocations: 1.033 MB / 0.6626 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.4767, allocations: 5.594 kB / 0.6626 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.041e-05/0.4767, allocations: 31.41 kB / 0.6627 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.4768, allocations: 18.53 kB / 0.6627 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/0.4792, allocations: 0.9899 MB / 0.6636 GB, free: 8.66 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.006508/0.4857, allocations: 4.719 MB / 0.6682 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004044/0.4898, allocations: 1.129 MB / 0.6693 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006998/0.4905, allocations: 1.028 MB / 0.6704 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.4905, allocations: 43.14 kB / 0.6704 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.515e-06/0.4905, allocations: 0 / 0.6704 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.007371/0.4979, allocations: 2.132 MB / 0.6725 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.498, allocations: 62.08 kB / 0.6725 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.4991, allocations: 0.9571 MB / 0.6735 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.651e-05/0.4992, allocations: 38.14 kB / 0.6735 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/0.4995, allocations: 0.5011 MB / 0.674 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.4996, allocations: 187.3 kB / 0.6742 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.4997, allocations: 10.78 kB / 0.6742 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.4997, allocations: 325.4 kB / 0.6745 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009868/0.5007, allocations: 382.4 kB / 0.6749 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.5018, allocations: 0.5394 MB / 0.6754 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.5028, allocations: 395.2 kB / 0.6758 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.5028, allocations: 0.9688 kB / 0.6758 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003474/0.5063, allocations: 1.29 MB / 0.677 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001907/0.5065, allocations: 0.9671 MB / 0.678 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.5065, allocations: 1.375 kB / 0.678 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.5077, allocations: 334.1 kB / 0.6783 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006104/0.5083, allocations: 138.6 kB / 0.6784 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.5097, allocations: 0.9386 MB / 0.6793 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.511, allocations: 168.2 kB / 0.6795 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-05/0.511, allocations: 37.42 kB / 0.6795 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.597e-06/0.5111, allocations: 4.375 kB / 0.6795 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003385/0.5145, allocations: 1.149 MB / 0.6807 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.5145, allocations: 7.391 kB / 0.6807 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.5155, allocations: 314.2 kB / 0.681 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/0.5161, allocations: 142.2 kB / 0.6811 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.5174, allocations: 0.9394 MB / 0.682 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.5186, allocations: 165.2 kB / 0.6822 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/0.5187, allocations: 32.8 kB / 0.6822 GB, free: 13.83 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.0005279/0.5192, allocations: 360.2 kB / 0.6825 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.5194, allocations: 106.9 kB / 0.6827 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002927/0.5223, allocations: 1.217 MB / 0.6838 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.5223, allocations: 7.078 kB / 0.6838 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5223, allocations: 4.703 kB / 0.6839 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.5223, allocations: 3.922 kB / 0.6839 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004526/0.5269, allocations: 2.328 MB / 0.6861 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.5269, allocations: 6.859 kB / 0.6861 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005426/0.5274, allocations: 117.2 kB / 0.6862 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009928/0.5284, allocations: 337.8 kB / 0.6866 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/0.5285, allocations: 14.92 kB / 0.6866 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/0.5299, allocations: 0.959 MB / 0.6875 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.53, allocations: 6.281 kB / 0.6875 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003582/0.5336, allocations: 1.469 MB / 0.689 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005919/0.5342, allocations: 305.1 kB / 0.6893 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.5343, allocations: 12.28 kB / 0.6893 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009084/0.5352, allocations: 131 kB / 0.6894 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.934e-05/0.5353, allocations: 40.84 kB / 0.6894 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.462e-05/0.5354, allocations: 22.83 kB / 0.6894 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008652/0.5362, allocations: 0.669 MB / 0.6901 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5362, allocations: 4 kB / 0.6901 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001493/0.5377, allocations: 0.5717 MB / 0.6907 GB, free: 9.824 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.0007563/0.5385, allocations: 380.1 kB / 0.691 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003597/0.5421, allocations: 1.387 MB / 0.6924 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.5421, allocations: 5.656 kB / 0.6924 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.5433, allocations: 486.5 kB / 0.6928 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/0.5455, allocations: 0.5038 MB / 0.6933 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003736/0.5492, allocations: 2.322 MB / 0.6956 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006025/0.5498, allocations: 1.097 MB / 0.6967 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009038/0.5507, allocations: 227.5 kB / 0.6969 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.5509, allocations: 86.89 kB / 0.697 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.5509, allocations: 0 / 0.697 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of Templates: time 0.03184/0.5828, allocations: 23.26 MB / 0.7197 GB, free: 3.801 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1) Environment - environmentSimulation: