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.001422/0.001422, allocations: 109.3 kB / 15.99 MB, free: 6.344 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.00144/0.00144, allocations: 197.9 kB / 16.91 MB, free: 6.176 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.311/1.311, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7825/0.7825, allocations: 135.2 MB / 425.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 67.89 kB / 0.5055 GB, free: 8.699 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3037, allocations: 80.91 MB / 0.5845 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.05061/0.3544, allocations: 60.65 MB / 0.6438 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01633/0.3707, allocations: 11.89 MB / 0.6554 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001774/0.3726, allocations: 55.62 kB / 0.6554 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.3744, allocations: 0.5867 MB / 0.656 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005234/0.3797, allocations: 1.824 MB / 0.6578 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003043/0.3827, allocations: 1.083 MB / 0.6589 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004794/0.3875, allocations: 3.11 MB / 0.6619 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/0.3894, allocations: 1.096 MB / 0.663 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003476/0.3929, allocations: 1.344 MB / 0.6643 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/0.3946, allocations: 0.9256 MB / 0.6652 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003654/0.395, allocations: 116 kB / 0.6653 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003246/0.3983, allocations: 1.454 MB / 0.6667 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004781/0.3988, allocations: 298.8 kB / 0.667 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.3999, allocations: 0.692 MB / 0.6677 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002869/0.4028, allocations: 1.77 MB / 0.6694 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4028, allocations: 0 / 0.6694 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4029, allocations: 0 / 0.6694 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.147e-05/0.4029, allocations: 0 / 0.6694 GB, free: 3.613 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.003609/0.4065, allocations: 1.726 MB / 0.6711 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.4066, allocations: 9.109 kB / 0.6711 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002198/0.4088, allocations: 410.8 kB / 0.6715 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.4111, allocations: 1.12 MB / 0.6726 GB, free: 244 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003583/0.4114, allocations: 121.9 kB / 0.6727 GB, free: 120 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.4116, allocations: 76 kB / 0.6728 GB, free: 44 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.4137, allocations: 0.9816 MB / 0.6737 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.4137, allocations: 0 / 0.6737 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.93e-05/0.4138, allocations: 32 kB / 0.6738 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.4138, allocations: 20 kB / 0.6738 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002213/0.416, allocations: 0.8664 MB / 0.6746 GB, free: 14.1 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.007194/0.4232, allocations: 4.827 MB / 0.6793 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003398/0.4267, allocations: 0.794 MB / 0.6801 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007337/0.4274, allocations: 308.5 kB / 0.6804 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007682/0.4282, allocations: 0.9064 MB / 0.6813 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.4283, allocations: 38.56 kB / 0.6813 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 4.899e-06/0.4283, allocations: 0 / 0.6813 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007166/0.4355, allocations: 1.758 MB / 0.683 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.4355, allocations: 55.41 kB / 0.6831 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/0.4375, allocations: 1.055 MB / 0.6841 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.4376, allocations: 37.7 kB / 0.6842 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005068/0.4381, allocations: 0.5352 MB / 0.6847 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.4383, allocations: 145.8 kB / 0.6848 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/0.4386, allocations: 126.1 kB / 0.6849 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4388, allocations: 326 kB / 0.6853 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008711/0.4396, allocations: 302.9 kB / 0.6855 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.4407, allocations: 0.4992 MB / 0.686 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.4424, allocations: 0.6773 MB / 0.6867 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.4425, allocations: 4 kB / 0.6867 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003726/0.4462, allocations: 1.13 MB / 0.6878 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.4462, allocations: 12.03 kB / 0.6878 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.4463, allocations: 4 kB / 0.6878 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001259/0.4475, allocations: 319.3 kB / 0.6881 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005365/0.4481, allocations: 115.8 kB / 0.6882 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/0.4496, allocations: 0.9191 MB / 0.6891 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.451, allocations: 169.4 kB / 0.6893 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.4511, allocations: 31.98 kB / 0.6893 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001262/0.4523, allocations: 0.5097 MB / 0.6898 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001059/0.4534, allocations: 0.4979 MB / 0.6903 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001613/0.455, allocations: 0.6641 MB / 0.691 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.446e-06/0.4551, allocations: 3.938 kB / 0.691 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.003587/0.4587, allocations: 1.114 MB / 0.692 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.4587, allocations: 4 kB / 0.692 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.4587, allocations: 8 kB / 0.6921 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.4598, allocations: 308.6 kB / 0.6923 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005287/0.4603, allocations: 123.8 kB / 0.6925 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.4619, allocations: 0.9026 MB / 0.6933 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.4632, allocations: 167.4 kB / 0.6935 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-05/0.4633, allocations: 31.98 kB / 0.6935 GB, free: 9.699 MB / 0.5294 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.0002572/0.4636, allocations: 212.1 kB / 0.6937 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/0.4639, allocations: 106.7 kB / 0.6938 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/0.4663, allocations: 0.93 MB / 0.6948 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/0.4663, allocations: 15.91 kB / 0.6948 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4663, allocations: 4 kB / 0.6948 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.4664, allocations: 0 / 0.6948 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00533/0.4717, allocations: 2.152 MB / 0.6969 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.4717, allocations: 4 kB / 0.6969 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.472, allocations: 55.95 kB / 0.6969 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000969/0.473, allocations: 307.5 kB / 0.6972 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.473, allocations: 12 kB / 0.6972 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/0.4745, allocations: 0.9425 MB / 0.6982 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.4745, allocations: 7.938 kB / 0.6982 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003403/0.4779, allocations: 1.167 MB / 0.6993 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004211/0.4784, allocations: 259.5 kB / 0.6995 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/0.4786, allocations: 12 kB / 0.6996 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008717/0.4794, allocations: 95.89 kB / 0.6997 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.285e-05/0.4795, allocations: 35.89 kB / 0.6997 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.176e-05/0.4796, allocations: 23.98 kB / 0.6997 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001151/0.4807, allocations: 0.7391 MB / 0.7004 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4808, allocations: 0 / 0.7004 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001529/0.4823, allocations: 0.5574 MB / 0.701 GB, free: 1.871 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.000852/0.4832, allocations: 384.8 kB / 0.7013 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003238/0.4864, allocations: 1.12 MB / 0.7024 GB, free: 388 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.4864, allocations: 4.125 kB / 0.7024 GB, free: 384 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008894/0.4873, allocations: 350.3 kB / 0.7028 GB, free: 32 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/0.4896, allocations: 0.5048 MB / 0.7033 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005541/0.4952, allocations: 2.47 MB / 0.7057 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007381/0.4959, allocations: 1.061 MB / 0.7067 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.4962, allocations: 83.41 kB / 0.7068 GB, free: 11.85 MB / 0.545 GB Notification: Performance of SimCode: time 9.52e-07/0.4962, allocations: 0 / 0.7068 GB, free: 11.85 MB / 0.545 GB Notification: Performance of Templates: time 0.03144/0.5277, allocations: 23.75 MB / 0.73 GB, free: 4.266 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)