Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008223/0.0008224, allocations: 86.64 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.0008871/0.0008872, 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.291/1.291, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7356/0.7356, allocations: 132.4 MB / 423.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002873/0.0002875, allocations: 8 kB / 0.5034 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3422, allocations: 81.58 MB / 0.5831 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.0518/0.394, allocations: 56.46 MB / 0.6382 GB, free: 7.996 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.408, allocations: 11.2 MB / 0.6491 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.4093, allocations: 59.62 kB / 0.6492 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.4105, allocations: 464.9 kB / 0.6496 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003549/0.4141, allocations: 1.527 MB / 0.6511 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002137/0.4162, allocations: 0.8514 MB / 0.652 GB, free: 9.887 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00349/0.4197, allocations: 3.386 MB / 0.6553 GB, free: 6.488 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.421, allocations: 0.7977 MB / 0.6561 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001895/0.4229, allocations: 1.042 MB / 0.6571 GB, free: 4.617 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/0.4241, allocations: 0.801 MB / 0.6579 GB, free: 3.812 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.4243, allocations: 44 kB / 0.6579 GB, free: 3.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.4263, allocations: 1.091 MB / 0.659 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.4266, allocations: 203 kB / 0.6592 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003096/0.4269, allocations: 285 kB / 0.6594 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00172/0.4286, allocations: 1.637 MB / 0.661 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4286, allocations: 4 kB / 0.661 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4286, allocations: 0 / 0.661 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.4287, allocations: 0 / 0.661 GB, free: 0.5469 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002325/0.431, allocations: 1.497 MB / 0.6625 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.431, allocations: 12.03 kB / 0.6625 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/0.433, allocations: 477.9 kB / 0.663 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.4348, allocations: 1.086 MB / 0.664 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003192/0.4352, allocations: 121.9 kB / 0.6641 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.4353, allocations: 80 kB / 0.6642 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/0.4372, allocations: 1.001 MB / 0.6652 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.4372, allocations: 7.938 kB / 0.6652 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.46e-05/0.4373, allocations: 28 kB / 0.6652 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.4373, allocations: 20 kB / 0.6652 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.4394, allocations: 0.9016 MB / 0.6661 GB, free: 11.17 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.005587/0.445, allocations: 4.894 MB / 0.6709 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00315/0.4482, allocations: 0.8939 MB / 0.6718 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006896/0.4489, allocations: 320.6 kB / 0.6721 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005564/0.4494, allocations: 0.9064 MB / 0.673 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.4495, allocations: 38.56 kB / 0.673 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.214e-06/0.4495, allocations: 4 kB / 0.673 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.00648/0.456, allocations: 1.935 MB / 0.6749 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.456, allocations: 59.41 kB / 0.675 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.4573, allocations: 1.047 MB / 0.676 GB, free: 452 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/0.4574, allocations: 37.7 kB / 0.676 GB, free: 408 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003902/0.4578, allocations: 0.5274 MB / 0.6765 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.4579, allocations: 145.8 kB / 0.6767 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.458, allocations: 12 kB / 0.6767 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.465e-05/0.4581, allocations: 326 kB / 0.677 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008075/0.4589, allocations: 320.8 kB / 0.6773 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009454/0.4598, allocations: 0.5258 MB / 0.6778 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008411/0.4607, allocations: 358 kB / 0.6781 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.4607, allocations: 4 kB / 0.6782 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003214/0.4639, allocations: 1.223 MB / 0.6793 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.464, allocations: 219.3 kB / 0.6796 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.4641, allocations: 4 kB / 0.6796 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.4652, allocations: 324.7 kB / 0.6799 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/0.4657, allocations: 127.8 kB / 0.68 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.4671, allocations: 0.9503 MB / 0.6809 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.4682, allocations: 187.3 kB / 0.6811 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/0.4682, allocations: 27.98 kB / 0.6811 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.533e-06/0.4683, allocations: 4 kB / 0.6811 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002964/0.4712, allocations: 1.071 MB / 0.6822 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.4713, allocations: 4 kB / 0.6822 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009679/0.4722, allocations: 327.8 kB / 0.6825 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005037/0.4727, allocations: 127.8 kB / 0.6826 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.474, allocations: 0.9386 MB / 0.6835 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009476/0.475, allocations: 167.4 kB / 0.6837 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/0.475, allocations: 31.94 kB / 0.6837 GB, free: 8.281 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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.0004087/0.4754, allocations: 349 kB / 0.684 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.4756, allocations: 110.6 kB / 0.6842 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002169/0.4778, allocations: 0.9807 MB / 0.6851 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.4778, allocations: 8 kB / 0.6851 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4778, allocations: 3.953 kB / 0.6851 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4778, allocations: 3.984 kB / 0.6851 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004513/0.4823, allocations: 2.242 MB / 0.6873 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.4824, allocations: 11.94 kB / 0.6873 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.4826, allocations: 71.89 kB / 0.6874 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009192/0.4836, allocations: 324.7 kB / 0.6877 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.4836, allocations: 8 kB / 0.6877 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.485, allocations: 0.9755 MB / 0.6887 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.485, allocations: 4 kB / 0.6887 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003182/0.4882, allocations: 1.264 MB / 0.6899 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003818/0.4885, allocations: 279.4 kB / 0.6902 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.4887, allocations: 12 kB / 0.6902 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008326/0.4895, allocations: 111.9 kB / 0.6903 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/0.4896, allocations: 35.95 kB / 0.6903 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.858e-05/0.4897, allocations: 23.98 kB / 0.6903 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001016/0.4907, allocations: 0.7352 MB / 0.6911 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.2e-07/0.4907, allocations: 0 / 0.6911 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001334/0.492, allocations: 0.5613 MB / 0.6916 GB, free: 15.98 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006176/0.4927, allocations: 357 kB / 0.692 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002869/0.4956, allocations: 1.167 MB / 0.6931 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4956, allocations: 0 / 0.6931 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008323/0.4964, allocations: 368.4 kB / 0.6934 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.4985, allocations: 0.4933 MB / 0.6939 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004843/0.5034, allocations: 2.493 MB / 0.6964 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000601/0.504, allocations: 1.061 MB / 0.6974 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008099/0.5048, allocations: 224.3 kB / 0.6976 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.505, allocations: 79.42 kB / 0.6977 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/0.505, allocations: 0 / 0.6977 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of Templates: time 0.03292/0.5379, allocations: 22.89 MB / 0.72 GB, free: 3.102 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)