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.001341/0.001341, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001442/0.001442, allocations: 193.9 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7551/0.7551, allocations: 132.2 MB / 422.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 60.56 kB / 0.5013 GB, free: 9.109 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1731, allocations: 80.21 MB / 0.5796 GB, free: 9.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.3506/0.5238, allocations: 60.64 MB / 0.6388 GB, free: 22.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01662/0.5405, allocations: 11.9 MB / 0.6504 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003886/0.5444, allocations: 55.62 kB / 0.6505 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002051/0.5465, allocations: 0.5783 MB / 0.651 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005785/0.5523, allocations: 1.832 MB / 0.6528 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002902/0.5553, allocations: 1.092 MB / 0.6539 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003613/0.5589, allocations: 3.094 MB / 0.6569 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.5601, allocations: 1.096 MB / 0.658 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002909/0.5631, allocations: 1.343 MB / 0.6593 GB, free: 9 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.5644, allocations: 0.9254 MB / 0.6602 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001977/0.5646, allocations: 119.8 kB / 0.6603 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.5672, allocations: 1.455 MB / 0.6617 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.5674, allocations: 290.9 kB / 0.662 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007043/0.5682, allocations: 0.6996 MB / 0.6627 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002959/0.5711, allocations: 2.296 MB / 0.6649 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.5711, allocations: 4.938 kB / 0.665 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5712, allocations: 3.938 kB / 0.665 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.624e-05/0.5712, allocations: 0 / 0.665 GB, free: 6.57 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002808/0.574, allocations: 1.721 MB / 0.6666 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.574, allocations: 12.97 kB / 0.6666 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002211/0.5763, allocations: 407.5 kB / 0.667 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.5782, allocations: 1.134 MB / 0.6681 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003412/0.5786, allocations: 115 kB / 0.6683 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.5787, allocations: 87.06 kB / 0.6683 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.5806, allocations: 0.9712 MB / 0.6693 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.5807, allocations: 4.969 kB / 0.6693 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/0.5807, allocations: 32.59 kB / 0.6693 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.5808, allocations: 19.25 kB / 0.6693 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/0.5829, allocations: 0.8503 MB / 0.6702 GB, free: 3.773 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.005991/0.5889, allocations: 4.84 MB / 0.6749 GB, free: 108 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003461/0.5924, allocations: 0.7958 MB / 0.6757 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008299/0.5932, allocations: 296.8 kB / 0.676 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008261/0.5941, allocations: 0.9047 MB / 0.6768 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.832e-05/0.5941, allocations: 50.31 kB / 0.6769 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 3.216e-06/0.5942, allocations: 0 / 0.6769 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008082/0.6022, allocations: 1.751 MB / 0.6786 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.6023, allocations: 60.14 kB / 0.6787 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/0.6042, allocations: 1.049 MB / 0.6797 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.6043, allocations: 37.89 kB / 0.6797 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005036/0.6048, allocations: 0.5186 MB / 0.6802 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.605, allocations: 157 kB / 0.6804 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.6053, allocations: 123 kB / 0.6805 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.6054, allocations: 333.3 kB / 0.6808 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008982/0.6063, allocations: 300.1 kB / 0.6811 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.6074, allocations: 0.4994 MB / 0.6816 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/0.6091, allocations: 0.6812 MB / 0.6822 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.6091, allocations: 1.062 kB / 0.6822 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003673/0.6128, allocations: 1.132 MB / 0.6834 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.6128, allocations: 12.11 kB / 0.6834 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.6129, allocations: 9.422 kB / 0.6834 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.6141, allocations: 317.3 kB / 0.6837 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005338/0.6147, allocations: 119.3 kB / 0.6838 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.6162, allocations: 0.9089 MB / 0.6847 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.6179, allocations: 177.2 kB / 0.6848 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.085e-05/0.618, allocations: 29.38 kB / 0.6849 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001239/0.6193, allocations: 0.5033 MB / 0.6854 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001046/0.6203, allocations: 0.4977 MB / 0.6859 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00163/0.622, allocations: 0.663 MB / 0.6865 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.21e-06/0.622, allocations: 2.531 kB / 0.6865 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.003605/0.6256, allocations: 1.115 MB / 0.6876 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.6256, allocations: 11.5 kB / 0.6876 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.6256, allocations: 4.734 kB / 0.6876 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.6268, allocations: 311.5 kB / 0.6879 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005413/0.6273, allocations: 117.5 kB / 0.688 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.6288, allocations: 0.9071 MB / 0.6889 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.6303, allocations: 157 kB / 0.6891 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.63e-05/0.6304, allocations: 30.42 kB / 0.6891 GB, free: 8.676 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002756/0.6307, allocations: 222.3 kB / 0.6893 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002815/0.631, allocations: 107.1 kB / 0.6894 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002512/0.6335, allocations: 0.9216 MB / 0.6903 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.6335, allocations: 10.61 kB / 0.6903 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/0.6335, allocations: 9.062 kB / 0.6903 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.6336, allocations: 2.297 kB / 0.6903 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00559/0.6391, allocations: 2.157 MB / 0.6924 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.6392, allocations: 2.812 kB / 0.6924 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002813/0.6395, allocations: 64.16 kB / 0.6925 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/0.6405, allocations: 307.2 kB / 0.6928 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.456e-05/0.6405, allocations: 10.75 kB / 0.6928 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/0.6421, allocations: 0.9472 MB / 0.6937 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.6421, allocations: 4.453 kB / 0.6937 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003703/0.6458, allocations: 1.163 MB / 0.6949 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006288/0.6464, allocations: 268.6 kB / 0.6951 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002897/0.6467, allocations: 8.812 kB / 0.6951 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.6478, allocations: 102.2 kB / 0.6952 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.6479, allocations: 38.58 kB / 0.6953 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.297e-05/0.648, allocations: 21.69 kB / 0.6953 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001364/0.6494, allocations: 0.7389 MB / 0.696 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6494, allocations: 0 / 0.696 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002035/0.6514, allocations: 0.5619 MB / 0.6965 GB, free: 5.086 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009176/0.6523, allocations: 378.5 kB / 0.6969 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003333/0.6557, allocations: 1.102 MB / 0.698 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.6557, allocations: 1.25 kB / 0.698 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008862/0.6566, allocations: 360.2 kB / 0.6983 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/0.6593, allocations: 0.5094 MB / 0.6988 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005908/0.6652, allocations: 2.435 MB / 0.7012 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009139/0.6661, allocations: 1.063 MB / 0.7022 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001371/0.6675, allocations: 221.9 kB / 0.7025 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/0.6678, allocations: 78.45 kB / 0.7025 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.6678, allocations: 0 / 0.7025 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of Templates: time 0.04078/0.7086, allocations: 24.43 MB / 0.7264 GB, free: 12.12 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)