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.006806/0.006806, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001137/0.001137, allocations: 190.7 kB / 16.67 MB, free: 5.953 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8424/0.8424, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 61.36 kB / 0.5856 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1704, allocations: 80.93 MB / 0.6646 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.07291/0.2434, allocations: 75.14 MB / 0.738 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4454/0.6888, allocations: 12.7 MB / 0.7504 GB, free: 26.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003458/0.6923, allocations: 68.77 kB / 0.7505 GB, free: 26.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002788/0.6951, allocations: 0.8557 MB / 0.7513 GB, free: 26.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008124/0.7033, allocations: 2.586 MB / 0.7538 GB, free: 26.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004268/0.7076, allocations: 1.394 MB / 0.7552 GB, free: 25.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008085/0.7157, allocations: 4.388 MB / 0.7595 GB, free: 25.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00317/0.7189, allocations: 1.448 MB / 0.7609 GB, free: 25.82 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006503/0.7254, allocations: 1.658 MB / 0.7625 GB, free: 25.76 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003426/0.7289, allocations: 1.194 MB / 0.7637 GB, free: 25.55 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005438/0.7294, allocations: 166.3 kB / 0.7638 GB, free: 25.55 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004678/0.7341, allocations: 1.408 MB / 0.7652 GB, free: 25.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006941/0.7348, allocations: 403.9 kB / 0.7656 GB, free: 25.46 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002209/0.737, allocations: 0.8977 MB / 0.7665 GB, free: 25.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007273/0.7443, allocations: 2.878 MB / 0.7693 GB, free: 24.88 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.7444, allocations: 0 / 0.7693 GB, free: 24.88 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.547e-06/0.7444, allocations: 1.188 kB / 0.7693 GB, free: 24.88 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.286e-05/0.7444, allocations: 0 / 0.7693 GB, free: 24.88 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.005635/0.7501, allocations: 2.081 MB / 0.7713 GB, free: 23.82 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 8.386e-05/0.7502, allocations: 9.734 kB / 0.7713 GB, free: 23.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.7513, allocations: 231.3 kB / 0.7715 GB, free: 23.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002909/0.7542, allocations: 1.524 MB / 0.773 GB, free: 23.31 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-05/0.7543, allocations: 79.25 kB / 0.7731 GB, free: 23.3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.7545, allocations: 103.4 kB / 0.7732 GB, free: 23.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/0.7569, allocations: 1.1 MB / 0.7743 GB, free: 23.17 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/0.7569, allocations: 0 / 0.7743 GB, free: 23.17 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.757, allocations: 41.31 kB / 0.7743 GB, free: 23.17 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-05/0.7571, allocations: 25.8 kB / 0.7743 GB, free: 23.17 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.759, allocations: 0.8866 MB / 0.7752 GB, free: 23.16 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.007098/0.7661, allocations: 4.897 MB / 0.78 GB, free: 20.56 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.7675, allocations: 0.6188 MB / 0.7806 GB, free: 20.34 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006241/0.7681, allocations: 358 kB / 0.7809 GB, free: 20.22 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00048/0.7686, allocations: 0.8309 MB / 0.7818 GB, free: 19.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.7686, allocations: 46.06 kB / 0.7818 GB, free: 19.22 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.524e-06/0.7686, allocations: 0 / 0.7818 GB, free: 19.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.006559/0.7752, allocations: 1.677 MB / 0.7834 GB, free: 18.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.7752, allocations: 57.81 kB / 0.7835 GB, free: 18.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.7769, allocations: 1.223 MB / 0.7847 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.72e-05/0.777, allocations: 38.17 kB / 0.7847 GB, free: 18.12 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/0.7774, allocations: 0.6062 MB / 0.7853 GB, free: 17.64 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.7776, allocations: 220 kB / 0.7855 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.7778, allocations: 154.4 kB / 0.7857 GB, free: 17.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.7779, allocations: 335.2 kB / 0.786 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000602/0.7785, allocations: 289.5 kB / 0.7863 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006983/0.7792, allocations: 493.3 kB / 0.7867 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.7804, allocations: 0.7106 MB / 0.7874 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.7804, allocations: 1.156 kB / 0.7874 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004279/0.7847, allocations: 1.279 MB / 0.7887 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.7848, allocations: 6.875 kB / 0.7887 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.7848, allocations: 4.125 kB / 0.7887 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005621/0.7854, allocations: 135.8 kB / 0.7888 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005661/0.7859, allocations: 153 kB / 0.789 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000669/0.7866, allocations: 0.6934 MB / 0.7896 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.7878, allocations: 116.6 kB / 0.7898 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-05/0.7879, allocations: 37.58 kB / 0.7898 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00103/0.7889, allocations: 0.5544 MB / 0.7903 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006741/0.7896, allocations: 492.8 kB / 0.7908 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001125/0.7907, allocations: 0.7069 MB / 0.7915 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.627e-06/0.7908, allocations: 2.438 kB / 0.7915 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004047/0.7948, allocations: 1.269 MB / 0.7927 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.7948, allocations: 5.75 kB / 0.7927 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.7949, allocations: 5.469 kB / 0.7927 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004391/0.7953, allocations: 132.7 kB / 0.7929 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005567/0.7959, allocations: 161.4 kB / 0.793 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005873/0.7965, allocations: 0.6992 MB / 0.7937 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.7976, allocations: 98.2 kB / 0.7938 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-05/0.7977, allocations: 36.11 kB / 0.7938 GB, free: 12.35 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.0002312/0.7979, allocations: 221.7 kB / 0.794 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.7981, allocations: 133.8 kB / 0.7942 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003968/0.8021, allocations: 1.263 MB / 0.7954 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.8022, allocations: 13.36 kB / 0.7954 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.8022, allocations: 2.562 kB / 0.7954 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003468/0.8056, allocations: 1.105 MB / 0.7965 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006374/0.812, allocations: 2.622 MB / 0.7991 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.8121, allocations: 2.375 kB / 0.7991 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/0.8125, allocations: 111.5 kB / 0.7992 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004298/0.813, allocations: 135.4 kB / 0.7993 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.771e-05/0.813, allocations: 20.03 kB / 0.7993 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004007/0.817, allocations: 2.581 MB / 0.8018 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.817, allocations: 2.562 kB / 0.8018 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00501/0.8221, allocations: 1.701 MB / 0.8035 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.8232, allocations: 309.7 kB / 0.8038 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003349/0.8235, allocations: 16.91 kB / 0.8038 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008594/0.8244, allocations: 53.23 kB / 0.8039 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.8245, allocations: 63.28 kB / 0.8039 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.989e-05/0.8246, allocations: 34.48 kB / 0.804 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001276/0.8259, allocations: 0.8795 MB / 0.8048 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8259, allocations: 2.75 kB / 0.8048 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002119/0.828, allocations: 0.7121 MB / 0.8055 GB, free: 4.715 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.001035/0.8291, allocations: 472.2 kB / 0.806 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002375/0.8314, allocations: 1.116 MB / 0.8071 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.8315, allocations: 8 kB / 0.8071 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.8327, allocations: 0.5564 MB / 0.8076 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003457/0.8362, allocations: 0.8031 MB / 0.8084 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/0.8403, allocations: 2.259 MB / 0.8106 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009671/0.8413, allocations: 1.172 MB / 0.8117 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001381/0.8427, allocations: 311 kB / 0.812 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.843, allocations: 111.4 kB / 0.8121 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of SimCode: time 7.91e-07/0.843, allocations: 0 / 0.8121 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of Templates: time 0.06161/0.9046, allocations: 32.29 MB / 0.8437 GB, free: 14.37 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)