Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000918/0.0009183, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0008451/0.0008451, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8438/0.8438, allocations: 135.2 MB / 426.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000266/0.000266, allocations: 8.969 kB / 0.5068 GB, free: 5.309 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1641, allocations: 82.31 MB / 0.5872 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.2925/0.4566, allocations: 62.9 MB / 0.6486 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0118/0.4685, allocations: 10.98 MB / 0.6593 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001678/0.4702, allocations: 55.12 kB / 0.6594 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.4721, allocations: 0.7473 MB / 0.6601 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00533/0.4774, allocations: 2.293 MB / 0.6624 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003456/0.4809, allocations: 1.521 MB / 0.6638 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003403/0.4843, allocations: 2.503 MB / 0.6663 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.4856, allocations: 1.041 MB / 0.6673 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.4874, allocations: 1.159 MB / 0.6684 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008716/0.4882, allocations: 0.7672 MB / 0.6692 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.4884, allocations: 54.56 kB / 0.6692 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002077/0.4905, allocations: 0.8326 MB / 0.6701 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.4907, allocations: 264.5 kB / 0.6703 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002927/0.491, allocations: 358.9 kB / 0.6706 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002168/0.4932, allocations: 2.02 MB / 0.6726 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.4932, allocations: 0 / 0.6726 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4932, allocations: 0 / 0.6726 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.746e-05/0.4932, allocations: 5.125 kB / 0.6726 GB, free: 1.621 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002973/0.4962, allocations: 1.774 MB / 0.6744 GB, free: 480 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.4963, allocations: 12.56 kB / 0.6744 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007083/0.497, allocations: 236.8 kB / 0.6746 GB, free: 388 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/0.4992, allocations: 1.379 MB / 0.6759 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.846e-05/0.4993, allocations: 76.41 kB / 0.676 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.4994, allocations: 100.4 kB / 0.6761 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/0.5015, allocations: 1.113 MB / 0.6772 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.5015, allocations: 1.719 kB / 0.6772 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-05/0.5016, allocations: 37.47 kB / 0.6772 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.474e-05/0.5017, allocations: 26.84 kB / 0.6773 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.5035, allocations: 0.9229 MB / 0.6782 GB, free: 14.63 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.006064/0.5096, allocations: 4.958 MB / 0.683 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.5109, allocations: 0.6346 MB / 0.6836 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005814/0.5115, allocations: 0.823 MB / 0.6844 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.5116, allocations: 39.81 kB / 0.6845 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.444e-06/0.5116, allocations: 0 / 0.6845 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.007196/0.5188, allocations: 1.881 MB / 0.6863 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.5188, allocations: 57.84 kB / 0.6864 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.5208, allocations: 1.249 MB / 0.6876 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.5209, allocations: 42.45 kB / 0.6876 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005139/0.5214, allocations: 0.6017 MB / 0.6882 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/0.5217, allocations: 217.9 kB / 0.6884 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.5218, allocations: 14.53 kB / 0.6884 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.522, allocations: 333.8 kB / 0.6887 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006732/0.5226, allocations: 294.2 kB / 0.689 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007963/0.5234, allocations: 0.497 MB / 0.6895 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007092/0.5242, allocations: 358.6 kB / 0.6899 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.5242, allocations: 1.125 kB / 0.6899 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004657/0.5288, allocations: 1.389 MB / 0.6912 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004702/0.5293, allocations: 1.422 MB / 0.6926 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.5293, allocations: 3.938 kB / 0.6926 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005593/0.5299, allocations: 140.7 kB / 0.6927 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006418/0.5306, allocations: 175.9 kB / 0.6929 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000819/0.5314, allocations: 0.6999 MB / 0.6936 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.5326, allocations: 169.4 kB / 0.6937 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.292e-05/0.5327, allocations: 33.81 kB / 0.6938 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-06/0.5327, allocations: 8.344 kB / 0.6938 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004147/0.5369, allocations: 1.25 MB / 0.695 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5369, allocations: 4 kB / 0.695 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004489/0.5374, allocations: 140.6 kB / 0.6951 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005999/0.538, allocations: 175.1 kB / 0.6953 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007275/0.5387, allocations: 0.7086 MB / 0.696 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.5398, allocations: 163.5 kB / 0.6962 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.034e-05/0.5399, allocations: 30.25 kB / 0.6962 GB, free: 3.609 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0006939/0.5406, allocations: 424.1 kB / 0.6966 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.5408, allocations: 135.2 kB / 0.6967 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004366/0.5452, allocations: 1.391 MB / 0.6981 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.5452, allocations: 8.328 kB / 0.6981 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.5452, allocations: 1 kB / 0.6981 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003866/0.5491, allocations: 1.235 MB / 0.6993 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006339/0.5554, allocations: 2.763 MB / 0.702 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.5554, allocations: 4.188 kB / 0.702 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000457/0.5559, allocations: 126.7 kB / 0.7021 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004554/0.5564, allocations: 139.4 kB / 0.7023 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/0.5564, allocations: 28.19 kB / 0.7023 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004545/0.561, allocations: 2.496 MB / 0.7047 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.561, allocations: 4.281 kB / 0.7047 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005198/0.5662, allocations: 2.057 MB / 0.7067 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008417/0.5671, allocations: 345.3 kB / 0.7071 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.5673, allocations: 19.58 kB / 0.7071 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008618/0.5681, allocations: 90.06 kB / 0.7072 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.5683, allocations: 57.08 kB / 0.7072 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.105e-05/0.5683, allocations: 36.59 kB / 0.7073 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001317/0.5697, allocations: 0.8932 MB / 0.7081 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.343e-06/0.5697, allocations: 0 / 0.7081 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002022/0.5717, allocations: 0.7247 MB / 0.7088 GB, free: 12.32 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008079/0.5725, allocations: 453.9 kB / 0.7093 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002377/0.5749, allocations: 1.172 MB / 0.7104 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5749, allocations: 3.938 kB / 0.7104 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/0.5763, allocations: 0.5966 MB / 0.711 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003229/0.5795, allocations: 0.737 MB / 0.7117 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003812/0.5833, allocations: 2.762 MB / 0.7144 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00076/0.5841, allocations: 1.196 MB / 0.7156 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001268/0.5854, allocations: 305.7 kB / 0.7159 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.5856, allocations: 107.4 kB / 0.716 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/0.5856, allocations: 0 / 0.716 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of Templates: time 0.04415/0.6298, allocations: 29.95 MB / 0.7452 GB, free: 9.477 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: