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.001156/0.001156, allocations: 103 kB / 16.4 MB, free: 6.512 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.001071/0.001071, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8185/0.8185, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 61.34 kB / 0.5862 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1999, allocations: 80.93 MB / 0.6653 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.08116/0.2812, allocations: 75.13 MB / 0.7386 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.451/0.7322, allocations: 12.72 MB / 0.7511 GB, free: 26.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002848/0.7351, allocations: 63 kB / 0.7511 GB, free: 26.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002891/0.738, allocations: 0.8287 MB / 0.7519 GB, free: 26.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008223/0.7463, allocations: 2.461 MB / 0.7543 GB, free: 25.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004542/0.7509, allocations: 1.388 MB / 0.7557 GB, free: 25.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008889/0.7598, allocations: 4.381 MB / 0.76 GB, free: 25.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003556/0.7634, allocations: 1.446 MB / 0.7614 GB, free: 25.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006284/0.7697, allocations: 1.653 MB / 0.763 GB, free: 25.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003779/0.7735, allocations: 1.201 MB / 0.7642 GB, free: 25.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007954/0.7744, allocations: 162.6 kB / 0.7643 GB, free: 25.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005404/0.7798, allocations: 1.4 MB / 0.7657 GB, free: 25.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.7809, allocations: 404.6 kB / 0.7661 GB, free: 25.42 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002312/0.7832, allocations: 0.8988 MB / 0.767 GB, free: 25.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006813/0.7901, allocations: 2.88 MB / 0.7698 GB, free: 24.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.7901, allocations: 5.156 kB / 0.7698 GB, free: 24.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.973e-06/0.7901, allocations: 0 / 0.7698 GB, free: 24.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.263e-05/0.7902, allocations: 0 / 0.7698 GB, free: 24.83 MB / 0.5762 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.005659/0.7959, allocations: 2.078 MB / 0.7718 GB, free: 23.77 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.7959, allocations: 13.14 kB / 0.7718 GB, free: 23.77 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.797, allocations: 231.3 kB / 0.772 GB, free: 23.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003003/0.8, allocations: 1.518 MB / 0.7735 GB, free: 23.26 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.756e-05/0.8001, allocations: 79.03 kB / 0.7736 GB, free: 23.26 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/0.8003, allocations: 99.12 kB / 0.7737 GB, free: 23.26 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.8025, allocations: 1.1 MB / 0.7748 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.8025, allocations: 1.125 kB / 0.7748 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.69e-05/0.8026, allocations: 42.56 kB / 0.7748 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.43e-05/0.8027, allocations: 29.48 kB / 0.7748 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.8046, allocations: 0.8895 MB / 0.7757 GB, free: 23.11 MB / 0.5762 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.006583/0.8112, allocations: 4.903 MB / 0.7805 GB, free: 20.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.8126, allocations: 0.6169 MB / 0.7811 GB, free: 20.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006729/0.8133, allocations: 355.8 kB / 0.7814 GB, free: 20.28 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004956/0.8138, allocations: 0.8304 MB / 0.7823 GB, free: 19.33 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.8138, allocations: 39 kB / 0.7823 GB, free: 19.28 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.524e-06/0.8139, allocations: 4 kB / 0.7823 GB, free: 19.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007148/0.821, allocations: 1.675 MB / 0.7839 GB, free: 18.79 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.8211, allocations: 58.59 kB / 0.784 GB, free: 18.72 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/0.8232, allocations: 1.221 MB / 0.7852 GB, free: 18.22 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001752/0.8234, allocations: 43.77 kB / 0.7852 GB, free: 18.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004875/0.8239, allocations: 0.6031 MB / 0.7858 GB, free: 17.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002364/0.8242, allocations: 214.4 kB / 0.786 GB, free: 17.54 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002625/0.8244, allocations: 160.6 kB / 0.7862 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.278e-05/0.8245, allocations: 336.7 kB / 0.7865 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006594/0.8252, allocations: 291.9 kB / 0.7868 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007927/0.826, allocations: 498.7 kB / 0.7872 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.8274, allocations: 0.7081 MB / 0.7879 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.8274, allocations: 1.438 kB / 0.7879 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004715/0.8321, allocations: 1.271 MB / 0.7892 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.8321, allocations: 8.25 kB / 0.7892 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.8322, allocations: 3.938 kB / 0.7892 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00063/0.8328, allocations: 136.5 kB / 0.7893 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006593/0.8335, allocations: 165.1 kB / 0.7895 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007146/0.8342, allocations: 0.6887 MB / 0.7901 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.8356, allocations: 112.5 kB / 0.7903 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.401e-05/0.8357, allocations: 40.48 kB / 0.7903 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001302/0.837, allocations: 0.5511 MB / 0.7908 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007693/0.8378, allocations: 499 kB / 0.7913 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001279/0.8391, allocations: 0.6988 MB / 0.792 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.564e-06/0.8391, allocations: 0 / 0.792 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00448/0.8436, allocations: 1.263 MB / 0.7932 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.8436, allocations: 12.19 kB / 0.7932 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.8436, allocations: 6.516 kB / 0.7932 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004939/0.8441, allocations: 138.5 kB / 0.7934 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005991/0.8447, allocations: 158.5 kB / 0.7935 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006259/0.8454, allocations: 0.6946 MB / 0.7942 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.8467, allocations: 101.4 kB / 0.7943 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.921e-05/0.8468, allocations: 29.53 kB / 0.7943 GB, free: 12.43 MB / 0.5762 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 (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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002633/0.8471, allocations: 232.7 kB / 0.7945 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/0.8474, allocations: 134.1 kB / 0.7947 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004252/0.8516, allocations: 1.262 MB / 0.7959 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/0.8517, allocations: 9 kB / 0.7959 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.8517, allocations: 0 / 0.7959 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003663/0.8553, allocations: 1.102 MB / 0.797 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006576/0.8619, allocations: 2.622 MB / 0.7996 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.862, allocations: 2 kB / 0.7996 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004886/0.8625, allocations: 113.1 kB / 0.7997 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004562/0.8629, allocations: 131.8 kB / 0.7998 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.568e-05/0.863, allocations: 22.11 kB / 0.7998 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004191/0.8672, allocations: 2.583 MB / 0.8023 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.8672, allocations: 7.781 kB / 0.8023 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004995/0.8722, allocations: 1.695 MB / 0.804 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00078/0.873, allocations: 312.8 kB / 0.8043 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002558/0.8733, allocations: 18.16 kB / 0.8043 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008405/0.8742, allocations: 55.62 kB / 0.8044 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.8743, allocations: 57.58 kB / 0.8044 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.841e-05/0.8744, allocations: 31.27 kB / 0.8044 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001169/0.8756, allocations: 0.8873 MB / 0.8053 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8756, allocations: 0 / 0.8053 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002233/0.8778, allocations: 0.7177 MB / 0.806 GB, free: 4.789 MB / 0.5762 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 (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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009926/0.8788, allocations: 459.9 kB / 0.8065 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002382/0.8812, allocations: 1.122 MB / 0.8076 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.8812, allocations: 4 kB / 0.8076 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.8825, allocations: 0.5641 MB / 0.8081 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003321/0.8858, allocations: 0.8047 MB / 0.8089 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.8892, allocations: 2.286 MB / 0.8111 GB, free: 64 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007485/0.89, allocations: 1.172 MB / 0.8123 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/0.8904, allocations: 115.3 kB / 0.8124 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of SimCode: time 1.182e-06/0.8904, allocations: 0 / 0.8124 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of Templates: time 0.04699/0.9374, allocations: 31.42 MB / 0.8431 GB, free: 15.54 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.makefile (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)