Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001442/0.001442, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.101/1.101, allocations: 135.1 MB / 425.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 64.55 kB / 0.5053 GB, free: 5.309 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2021, allocations: 80.92 MB / 0.5844 GB, free: 4.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.4154/0.6176, allocations: 61.14 MB / 0.6441 GB, free: 17.11 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01564/0.6333, allocations: 11.97 MB / 0.6558 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002898/0.6363, allocations: 56.94 kB / 0.6558 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00243/0.6387, allocations: 0.686 MB / 0.6565 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006708/0.6455, allocations: 1.966 MB / 0.6584 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003818/0.6493, allocations: 1.185 MB / 0.6596 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004858/0.6542, allocations: 3.081 MB / 0.6626 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00208/0.6563, allocations: 1.093 MB / 0.6636 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003687/0.66, allocations: 1.33 MB / 0.6649 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.6617, allocations: 0.8968 MB / 0.6658 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002765/0.662, allocations: 117.9 kB / 0.6659 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004224/0.6663, allocations: 1.441 MB / 0.6673 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004907/0.6668, allocations: 289.8 kB / 0.6676 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.6682, allocations: 0.6965 MB / 0.6683 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005821/0.674, allocations: 2.281 MB / 0.6705 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.674, allocations: 0 / 0.6705 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.727e-06/0.674, allocations: 1.891 kB / 0.6705 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.165e-05/0.6741, allocations: 0 / 0.6705 GB, free: 1.121 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.004359/0.6784, allocations: 1.722 MB / 0.6722 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.6785, allocations: 9.219 kB / 0.6722 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002505/0.681, allocations: 411.4 kB / 0.6726 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003/0.684, allocations: 1.107 MB / 0.6737 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004086/0.6845, allocations: 119.5 kB / 0.6738 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.6846, allocations: 83.25 kB / 0.6739 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002517/0.6871, allocations: 0.9985 MB / 0.6748 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.6872, allocations: 8.938 kB / 0.6749 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.97e-05/0.6873, allocations: 32.25 kB / 0.6749 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/0.6873, allocations: 18.94 kB / 0.6749 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002462/0.6898, allocations: 0.8599 MB / 0.6757 GB, free: 14.28 MB / 0.5137 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.007701/0.6975, allocations: 5.243 MB / 0.6809 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003579/0.7011, allocations: 0.793 MB / 0.6816 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008061/0.7019, allocations: 299.4 kB / 0.6819 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007754/0.7027, allocations: 0.9032 MB / 0.6828 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/0.7028, allocations: 42.3 kB / 0.6828 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.726e-06/0.7028, allocations: 0 / 0.6828 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007953/0.7107, allocations: 1.761 MB / 0.6846 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.7108, allocations: 57.84 kB / 0.6846 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002724/0.7135, allocations: 1.079 MB / 0.6857 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.7137, allocations: 33.61 kB / 0.6857 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006735/0.7143, allocations: 0.5306 MB / 0.6862 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.7145, allocations: 150.7 kB / 0.6864 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003472/0.7149, allocations: 142.8 kB / 0.6865 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002535/0.7152, allocations: 331 kB / 0.6868 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.7162, allocations: 313.4 kB / 0.6871 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.7174, allocations: 0.5247 MB / 0.6876 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/0.7194, allocations: 0.7311 MB / 0.6883 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.468e-05/0.7194, allocations: 2.688 kB / 0.6883 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00345/0.7229, allocations: 1.025 MB / 0.6894 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.7229, allocations: 7.938 kB / 0.6894 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.7229, allocations: 6.078 kB / 0.6894 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001535/0.7245, allocations: 323.6 kB / 0.6897 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000614/0.7251, allocations: 133.6 kB / 0.6898 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.7269, allocations: 0.9092 MB / 0.6907 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.7286, allocations: 155.4 kB / 0.6908 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.7288, allocations: 34.31 kB / 0.6909 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001527/0.7303, allocations: 0.5122 MB / 0.6914 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001269/0.7316, allocations: 0.5317 MB / 0.6919 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001926/0.7335, allocations: 0.7097 MB / 0.6926 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.016e-05/0.7336, allocations: 1.281 kB / 0.6926 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00338/0.7369, allocations: 1.02 MB / 0.6936 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.737, allocations: 6.375 kB / 0.6936 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.737, allocations: 5.469 kB / 0.6936 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001596/0.7386, allocations: 312.7 kB / 0.6939 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005689/0.7392, allocations: 129.6 kB / 0.694 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/0.7409, allocations: 0.9063 MB / 0.6949 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.7425, allocations: 143.8 kB / 0.695 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.7426, allocations: 29.59 kB / 0.6951 GB, free: 2.578 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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.0003316/0.743, allocations: 222.2 kB / 0.6953 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004032/0.7434, allocations: 108.1 kB / 0.6954 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002933/0.7463, allocations: 0.9357 MB / 0.6963 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.286e-05/0.7464, allocations: 5.375 kB / 0.6963 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.7464, allocations: 1.469 kB / 0.6963 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.7464, allocations: 1.969 kB / 0.6963 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007449/0.7538, allocations: 2.165 MB / 0.6984 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/0.7539, allocations: 3.125 kB / 0.6984 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/0.7542, allocations: 61.23 kB / 0.6985 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/0.7553, allocations: 306.7 kB / 0.6988 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/0.7554, allocations: 12.95 kB / 0.6988 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.757, allocations: 0.9455 MB / 0.6997 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.757, allocations: 3.531 kB / 0.6997 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004068/0.7611, allocations: 1.164 MB / 0.7008 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007252/0.7618, allocations: 269.2 kB / 0.7011 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003376/0.7621, allocations: 16 kB / 0.7011 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.7632, allocations: 71.94 kB / 0.7012 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.7633, allocations: 43.55 kB / 0.7012 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.404e-05/0.7634, allocations: 22.67 kB / 0.7012 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001605/0.765, allocations: 0.753 MB / 0.702 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.81e-07/0.765, allocations: 0 / 0.702 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002475/0.7675, allocations: 0.5601 MB / 0.7025 GB, free: 14.75 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 (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.001122/0.7686, allocations: 384.8 kB / 0.7029 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003622/0.7722, allocations: 1.156 MB / 0.704 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.7723, allocations: 192 / 0.704 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009515/0.7732, allocations: 347.4 kB / 0.7044 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/0.7763, allocations: 0.518 MB / 0.7049 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005956/0.7822, allocations: 2.061 MB / 0.7069 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007863/0.783, allocations: 1.063 MB / 0.7079 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001195/0.7842, allocations: 219.8 kB / 0.7081 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/0.7845, allocations: 84.59 kB / 0.7082 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of SimCode: time 7.72e-07/0.7845, allocations: 0 / 0.7082 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of Templates: time 0.05058/0.8351, allocations: 24.86 MB / 0.7325 GB, free: 4.324 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)