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.001264/0.001264, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.001367/0.001367, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.24/1.24, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7685/0.7685, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.89 kB / 0.5067 GB, free: 7.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3178, allocations: 80.9 MB / 0.5858 GB, free: 25.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.04791/0.3657, allocations: 61.14 MB / 0.6455 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01562/0.3814, allocations: 11.97 MB / 0.6572 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.3832, allocations: 55.69 kB / 0.6572 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001905/0.3851, allocations: 0.683 MB / 0.6579 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00485/0.3901, allocations: 1.962 MB / 0.6598 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002805/0.3929, allocations: 1.206 MB / 0.661 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003845/0.3968, allocations: 3.079 MB / 0.664 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/0.3983, allocations: 1.102 MB / 0.6651 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002882/0.4012, allocations: 1.338 MB / 0.6664 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001495/0.4027, allocations: 0.9022 MB / 0.6672 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002838/0.403, allocations: 116 kB / 0.6674 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00286/0.4059, allocations: 1.443 MB / 0.6688 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003799/0.4063, allocations: 290.8 kB / 0.669 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001089/0.4074, allocations: 0.688 MB / 0.6697 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003592/0.411, allocations: 2.306 MB / 0.672 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.411, allocations: 0 / 0.672 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.411, allocations: 0 / 0.672 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.676e-05/0.411, allocations: 0 / 0.672 GB, free: 2.059 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.003442/0.4145, allocations: 1.722 MB / 0.6736 GB, free: 280 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.4145, allocations: 21.09 kB / 0.6737 GB, free: 260 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002102/0.4166, allocations: 402.9 kB / 0.674 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002279/0.4189, allocations: 1.171 MB / 0.6752 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.172e-05/0.419, allocations: 62 kB / 0.6752 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.4191, allocations: 80 kB / 0.6753 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.4211, allocations: 0.9976 MB / 0.6763 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.4211, allocations: 4 kB / 0.6763 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.406e-05/0.4212, allocations: 32 kB / 0.6763 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.4212, allocations: 16 kB / 0.6763 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.4233, allocations: 0.8469 MB / 0.6772 GB, free: 12.54 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.006411/0.4297, allocations: 5.23 MB / 0.6823 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00304/0.4328, allocations: 0.7812 MB / 0.683 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006424/0.4334, allocations: 294.9 kB / 0.6833 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006626/0.4341, allocations: 0.914 MB / 0.6842 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.4341, allocations: 38.5 kB / 0.6843 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.184e-06/0.4342, allocations: 4 kB / 0.6843 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.006389/0.4406, allocations: 1.692 MB / 0.6859 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.4406, allocations: 55.41 kB / 0.686 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.4424, allocations: 1.08 MB / 0.687 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.293e-05/0.4425, allocations: 37.7 kB / 0.6871 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004533/0.443, allocations: 0.5273 MB / 0.6876 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.4431, allocations: 153.8 kB / 0.6877 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.4434, allocations: 138.1 kB / 0.6879 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.4435, allocations: 326 kB / 0.6882 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007755/0.4443, allocations: 311.3 kB / 0.6885 GB, free: 308 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009965/0.4453, allocations: 0.5251 MB / 0.689 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.4468, allocations: 0.7057 MB / 0.6897 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.4468, allocations: 4 kB / 0.6897 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002467/0.4493, allocations: 1.012 MB / 0.6907 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.4493, allocations: 8 kB / 0.6907 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.4493, allocations: 11.88 kB / 0.6907 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.4505, allocations: 304.7 kB / 0.691 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005298/0.451, allocations: 127.8 kB / 0.6911 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.4524, allocations: 0.8996 MB / 0.692 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.4535, allocations: 155.3 kB / 0.6921 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-05/0.4536, allocations: 31.98 kB / 0.6921 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001108/0.4547, allocations: 0.5012 MB / 0.6926 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009789/0.4557, allocations: 0.5329 MB / 0.6932 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001476/0.4572, allocations: 0.7062 MB / 0.6938 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.915e-06/0.4572, allocations: 4 kB / 0.6938 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002414/0.4596, allocations: 1 MB / 0.6948 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.4597, allocations: 8 kB / 0.6948 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4597, allocations: 4 kB / 0.6948 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009704/0.4606, allocations: 306.6 kB / 0.6951 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/0.4612, allocations: 127.8 kB / 0.6952 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.4624, allocations: 0.8957 MB / 0.6961 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.4635, allocations: 135.5 kB / 0.6963 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.15e-05/0.4636, allocations: 31.98 kB / 0.6963 GB, free: 7.867 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.0001852/0.4638, allocations: 220.1 kB / 0.6965 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.464, allocations: 114.6 kB / 0.6966 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/0.466, allocations: 0.9107 MB / 0.6975 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.4661, allocations: 4 kB / 0.6975 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4661, allocations: 0 / 0.6975 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.4661, allocations: 7.984 kB / 0.6975 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004547/0.4706, allocations: 2.138 MB / 0.6996 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/0.4707, allocations: 4 kB / 0.6996 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.4709, allocations: 59.89 kB / 0.6996 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008707/0.4718, allocations: 300.8 kB / 0.6999 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.4719, allocations: 16 kB / 0.7 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.4731, allocations: 0.9214 MB / 0.7009 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.4731, allocations: 11.95 kB / 0.7009 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003066/0.4762, allocations: 1.148 MB / 0.702 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003957/0.4766, allocations: 263.5 kB / 0.7022 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.4767, allocations: 12 kB / 0.7022 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007552/0.4775, allocations: 71.91 kB / 0.7023 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.786e-05/0.4776, allocations: 47.83 kB / 0.7024 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/0.4777, allocations: 23.98 kB / 0.7024 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001047/0.4787, allocations: 0.7512 MB / 0.7031 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4787, allocations: 0 / 0.7031 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001357/0.4801, allocations: 0.5731 MB / 0.7037 GB, free: 84 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.0007295/0.4808, allocations: 384 kB / 0.704 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002856/0.4837, allocations: 1.124 MB / 0.7051 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4837, allocations: 0 / 0.7051 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008048/0.4845, allocations: 338 kB / 0.7055 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.4864, allocations: 0.5089 MB / 0.706 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004752/0.4912, allocations: 2.019 MB / 0.7079 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006555/0.4919, allocations: 1.069 MB / 0.709 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007356/0.4926, allocations: 222.8 kB / 0.7092 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.4928, allocations: 79.42 kB / 0.7093 GB, free: 10.3 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.4928, allocations: 3.938 kB / 0.7093 GB, free: 10.29 MB / 0.545 GB Notification: Performance of Templates: time 0.03751/0.5303, allocations: 24.83 MB / 0.7335 GB, free: 1.754 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)