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.00119/0.00119, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001717/0.001717, allocations: 168.7 kB / 15.95 MB, free: 204 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.449/1.449, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.023/1.023, allocations: 135.3 MB / 426.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003327, allocations: 8.938 kB / 0.507 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2114, allocations: 82.31 MB / 0.5874 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.4338/0.6453, allocations: 56.44 MB / 0.6425 GB, free: 20.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01363/0.659, allocations: 11.21 MB / 0.6534 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002218/0.6612, allocations: 56 kB / 0.6535 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.6629, allocations: 467.3 kB / 0.6539 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004774/0.6677, allocations: 1.522 MB / 0.6554 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002623/0.6703, allocations: 0.8596 MB / 0.6563 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00409/0.6744, allocations: 3.38 MB / 0.6596 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.6757, allocations: 0.7945 MB / 0.6603 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002445/0.6782, allocations: 1.045 MB / 0.6614 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00159/0.6798, allocations: 0.802 MB / 0.6621 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001638/0.68, allocations: 42.31 kB / 0.6622 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002866/0.6829, allocations: 1.096 MB / 0.6632 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002547/0.6831, allocations: 198.6 kB / 0.6634 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005307/0.6837, allocations: 282.5 kB / 0.6637 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00325/0.6869, allocations: 1.634 MB / 0.6653 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.6869, allocations: 0 / 0.6653 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.324e-06/0.6869, allocations: 0 / 0.6653 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.421e-05/0.687, allocations: 0 / 0.6653 GB, free: 7.117 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.003319/0.6903, allocations: 1.505 MB / 0.6668 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.6904, allocations: 10.45 kB / 0.6668 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/0.6925, allocations: 473.6 kB / 0.6672 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/0.6949, allocations: 1.082 MB / 0.6683 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003592/0.6953, allocations: 133.2 kB / 0.6684 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.6955, allocations: 78.09 kB / 0.6685 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/0.6978, allocations: 1.002 MB / 0.6695 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.6979, allocations: 1 kB / 0.6695 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.82e-05/0.6979, allocations: 32.28 kB / 0.6695 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.698, allocations: 23.25 kB / 0.6695 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002409/0.7004, allocations: 0.9012 MB / 0.6704 GB, free: 4.496 MB / 0.4981 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.006408/0.7068, allocations: 4.885 MB / 0.6752 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003209/0.71, allocations: 0.8995 MB / 0.676 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007267/0.7108, allocations: 322.6 kB / 0.6764 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006197/0.7114, allocations: 0.9037 MB / 0.6772 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.7115, allocations: 42.31 kB / 0.6773 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.575e-06/0.7115, allocations: 0 / 0.6773 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007276/0.7187, allocations: 1.94 MB / 0.6792 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.7188, allocations: 56.69 kB / 0.6792 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/0.7208, allocations: 1.049 MB / 0.6803 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.99e-05/0.7209, allocations: 37.83 kB / 0.6803 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004834/0.7214, allocations: 0.5208 MB / 0.6808 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.7216, allocations: 154 kB / 0.6809 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.7216, allocations: 10.75 kB / 0.681 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.7217, allocations: 332.8 kB / 0.6813 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008574/0.7226, allocations: 315.5 kB / 0.6816 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.7237, allocations: 0.5198 MB / 0.6821 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009047/0.7246, allocations: 351.4 kB / 0.6824 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.7246, allocations: 5 kB / 0.6824 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004023/0.7286, allocations: 1.229 MB / 0.6836 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002175/0.7288, allocations: 217.9 kB / 0.6838 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.7289, allocations: 3.562 kB / 0.6838 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.7302, allocations: 328.3 kB / 0.6841 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005507/0.7308, allocations: 128.6 kB / 0.6843 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.7323, allocations: 0.9345 MB / 0.6852 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.734, allocations: 196.5 kB / 0.6854 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-05/0.7341, allocations: 29.25 kB / 0.6854 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.7341, allocations: 2.812 kB / 0.6854 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003313/0.7375, allocations: 1.064 MB / 0.6864 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.7375, allocations: 8.891 kB / 0.6864 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.7386, allocations: 324.7 kB / 0.6868 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005306/0.7391, allocations: 131.5 kB / 0.6869 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.7406, allocations: 0.9377 MB / 0.6878 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.7422, allocations: 175.4 kB / 0.688 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.752e-05/0.7423, allocations: 28.94 kB / 0.688 GB, free: 10.38 MB / 0.5137 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 (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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0008209/0.7431, allocations: 344.8 kB / 0.6883 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.7434, allocations: 115.8 kB / 0.6884 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/0.7459, allocations: 0.9755 MB / 0.6894 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/0.7459, allocations: 5.875 kB / 0.6894 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.7459, allocations: 0.9375 kB / 0.6894 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.7459, allocations: 6.766 kB / 0.6894 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005842/0.7518, allocations: 2.252 MB / 0.6916 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.7518, allocations: 1.5 kB / 0.6916 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/0.7521, allocations: 80.47 kB / 0.6917 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/0.7532, allocations: 322.5 kB / 0.692 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.591e-05/0.7533, allocations: 10.53 kB / 0.692 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001522/0.7548, allocations: 0.9729 MB / 0.6929 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.7548, allocations: 7.016 kB / 0.6929 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003717/0.7585, allocations: 1.256 MB / 0.6942 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008767/0.7594, allocations: 277.6 kB / 0.6944 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.7596, allocations: 12.75 kB / 0.6945 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008997/0.7605, allocations: 117.9 kB / 0.6946 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.7606, allocations: 40.56 kB / 0.6946 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.396e-05/0.7607, allocations: 22.61 kB / 0.6946 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001543/0.7622, allocations: 0.7374 MB / 0.6953 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7622, allocations: 4 kB / 0.6953 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002172/0.7644, allocations: 0.5559 MB / 0.6959 GB, free: 6.668 MB / 0.5137 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 (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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008468/0.7653, allocations: 358.6 kB / 0.6962 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00335/0.7686, allocations: 1.161 MB / 0.6974 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.7687, allocations: 7.875 kB / 0.6974 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000929/0.7696, allocations: 362.2 kB / 0.6977 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/0.7724, allocations: 0.4998 MB / 0.6982 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00577/0.7782, allocations: 2.491 MB / 0.7006 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007493/0.779, allocations: 1.071 MB / 0.7017 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00121/0.7802, allocations: 222 kB / 0.7019 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.7804, allocations: 76.72 kB / 0.702 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of SimCode: time 1.192e-06/0.7804, allocations: 0 / 0.702 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of Templates: time 0.04139/0.8218, allocations: 22.91 MB / 0.7243 GB, free: 15.64 MB / 0.545 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)