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.001114/0.001114, allocations: 107.1 kB / 16.37 MB, free: 5.547 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.001191/0.001192, allocations: 195.2 kB / 17.3 MB, free: 5.184 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8098/0.8098, allocations: 135.1 MB / 426.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 59.91 kB / 0.5068 GB, free: 7.711 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3656, allocations: 80.91 MB / 0.5858 GB, free: 25.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.05299/0.4186, allocations: 61.15 MB / 0.6455 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01727/0.436, allocations: 11.97 MB / 0.6572 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002237/0.4382, allocations: 59.62 kB / 0.6572 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.4401, allocations: 0.687 MB / 0.6579 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005873/0.4461, allocations: 1.958 MB / 0.6598 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003058/0.4492, allocations: 1.204 MB / 0.661 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004733/0.4539, allocations: 3.083 MB / 0.664 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002318/0.4562, allocations: 1.102 MB / 0.6651 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003663/0.4599, allocations: 1.327 MB / 0.6664 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.4613, allocations: 0.8983 MB / 0.6672 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.4615, allocations: 112 kB / 0.6674 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002861/0.4644, allocations: 1.443 MB / 0.6688 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003289/0.4647, allocations: 290.8 kB / 0.669 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008667/0.4656, allocations: 0.688 MB / 0.6697 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003943/0.4696, allocations: 2.306 MB / 0.672 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.4696, allocations: 4 kB / 0.672 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4696, allocations: 7.938 kB / 0.672 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.4696, allocations: 0 / 0.672 GB, free: 2.215 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.002973/0.4726, allocations: 1.726 MB / 0.6737 GB, free: 436 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.4726, allocations: 13.09 kB / 0.6737 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/0.4746, allocations: 402.9 kB / 0.6741 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002416/0.4771, allocations: 1.167 MB / 0.6752 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.089e-05/0.4771, allocations: 69.98 kB / 0.6753 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.4773, allocations: 76 kB / 0.6753 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.4793, allocations: 0.9976 MB / 0.6763 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.4794, allocations: 4 kB / 0.6763 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.098e-05/0.4794, allocations: 32 kB / 0.6763 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.438e-05/0.4795, allocations: 20 kB / 0.6764 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.4815, allocations: 0.8469 MB / 0.6772 GB, free: 12.69 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.006872/0.4884, allocations: 5.222 MB / 0.6823 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003189/0.4916, allocations: 0.7789 MB / 0.683 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000667/0.4923, allocations: 292.7 kB / 0.6833 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008077/0.4931, allocations: 0.9141 MB / 0.6842 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.4932, allocations: 50.44 kB / 0.6843 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 3.096e-06/0.4932, allocations: 0 / 0.6843 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.006611/0.4998, allocations: 1.688 MB / 0.6859 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.4999, allocations: 55.41 kB / 0.686 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/0.5016, allocations: 1.084 MB / 0.687 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.805e-05/0.5017, allocations: 37.7 kB / 0.6871 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004479/0.5021, allocations: 0.5312 MB / 0.6876 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.5023, allocations: 149.9 kB / 0.6877 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.5025, allocations: 134.1 kB / 0.6879 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.5027, allocations: 338 kB / 0.6882 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000791/0.5035, allocations: 299.3 kB / 0.6885 GB, free: 476 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.5045, allocations: 0.529 MB / 0.689 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.5061, allocations: 0.7135 MB / 0.6897 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.5061, allocations: 4 kB / 0.6897 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002514/0.5086, allocations: 1.004 MB / 0.6907 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.5086, allocations: 12 kB / 0.6907 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.5087, allocations: 7.938 kB / 0.6907 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.5099, allocations: 303.1 kB / 0.691 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005435/0.5105, allocations: 131.8 kB / 0.6911 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.5119, allocations: 0.8996 MB / 0.692 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.513, allocations: 147.3 kB / 0.6921 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.326e-05/0.5131, allocations: 31.98 kB / 0.6921 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001234/0.5143, allocations: 0.505 MB / 0.6926 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009553/0.5153, allocations: 0.5329 MB / 0.6932 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001489/0.5168, allocations: 0.7141 MB / 0.6939 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.618e-06/0.5168, allocations: 3.984 kB / 0.6939 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002432/0.5193, allocations: 1 MB / 0.6948 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.5193, allocations: 8 kB / 0.6948 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.5193, allocations: 8 kB / 0.6949 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.5203, allocations: 296.7 kB / 0.6951 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/0.5209, allocations: 135.8 kB / 0.6953 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.5221, allocations: 0.8935 MB / 0.6961 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.5233, allocations: 139.5 kB / 0.6963 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.574e-05/0.5234, allocations: 31.98 kB / 0.6963 GB, free: 8.02 MB / 0.5294 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.0002888/0.5237, allocations: 220.1 kB / 0.6965 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.5239, allocations: 110.6 kB / 0.6966 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/0.5261, allocations: 0.9131 MB / 0.6975 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/0.5262, allocations: 12 kB / 0.6975 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5262, allocations: 0 / 0.6975 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.5262, allocations: 3.984 kB / 0.6975 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004693/0.5309, allocations: 2.13 MB / 0.6996 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.5309, allocations: 4 kB / 0.6996 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.5312, allocations: 63.89 kB / 0.6997 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009399/0.5321, allocations: 303.1 kB / 0.7 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.48e-05/0.5322, allocations: 12 kB / 0.7 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.5335, allocations: 0.923 MB / 0.7009 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5335, allocations: 0 / 0.7009 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003261/0.5368, allocations: 1.156 MB / 0.702 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004914/0.5373, allocations: 267.5 kB / 0.7023 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.5374, allocations: 12 kB / 0.7023 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007456/0.5382, allocations: 71.91 kB / 0.7023 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.736e-05/0.5383, allocations: 39.83 kB / 0.7024 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.237e-05/0.5383, allocations: 23.98 kB / 0.7024 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001131/0.5394, allocations: 0.7589 MB / 0.7031 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5395, allocations: 0 / 0.7031 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001571/0.541, allocations: 0.5653 MB / 0.7037 GB, free: 252 kB / 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.0007766/0.5418, allocations: 395.6 kB / 0.7041 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002984/0.5448, allocations: 1.124 MB / 0.7052 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.5448, allocations: 0 / 0.7052 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007997/0.5456, allocations: 342.5 kB / 0.7055 GB, free: 14.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.5477, allocations: 0.4994 MB / 0.706 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004896/0.5526, allocations: 2.011 MB / 0.7079 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006442/0.5532, allocations: 1.065 MB / 0.709 GB, free: 10.76 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007984/0.5541, allocations: 222.5 kB / 0.7092 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.5542, allocations: 83.42 kB / 0.7093 GB, free: 10.46 MB / 0.545 GB Notification: Performance of SimCode: time 7.82e-07/0.5542, allocations: 0 / 0.7093 GB, free: 10.46 MB / 0.545 GB Notification: Performance of Templates: time 0.04003/0.5943, allocations: 24.83 MB / 0.7335 GB, free: 1.926 MB / 0.5606 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)