Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001572/0.001572, allocations: 190.9 kB / 16.14 MB, free: 6.711 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.433/1.433, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9747/0.9747, allocations: 135.1 MB / 425.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 72.52 kB / 0.5047 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2406, allocations: 80.93 MB / 0.5837 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.4126/0.6533, allocations: 60.81 MB / 0.6431 GB, free: 17.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01853/0.6719, allocations: 12.05 MB / 0.6549 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003921/0.6759, allocations: 55.12 kB / 0.6549 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002505/0.6784, allocations: 0.5473 MB / 0.6554 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006586/0.685, allocations: 1.799 MB / 0.6572 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003548/0.6886, allocations: 1.079 MB / 0.6583 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006268/0.6949, allocations: 3.911 MB / 0.6621 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001986/0.6969, allocations: 0.9449 MB / 0.663 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003405/0.7003, allocations: 1.153 MB / 0.6641 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001944/0.7023, allocations: 0.9049 MB / 0.665 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002063/0.7025, allocations: 62.75 kB / 0.6651 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003821/0.7063, allocations: 1.347 MB / 0.6664 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004193/0.7068, allocations: 245.6 kB / 0.6666 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.7079, allocations: 0.6369 MB / 0.6672 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004742/0.7126, allocations: 2.261 MB / 0.6694 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.7126, allocations: 0 / 0.6694 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7126, allocations: 0 / 0.6694 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.039e-05/0.7127, allocations: 0 / 0.6694 GB, free: 2.066 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003598/0.7163, allocations: 1.747 MB / 0.6712 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.7163, allocations: 9.547 kB / 0.6712 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002901/0.7192, allocations: 450.9 kB / 0.6716 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003119/0.7224, allocations: 1.144 MB / 0.6727 GB, free: 72 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004118/0.7228, allocations: 115.5 kB / 0.6728 GB, free: 40 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.723, allocations: 86.38 kB / 0.6729 GB, free: 8 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00304/0.7261, allocations: 1.008 MB / 0.6739 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.7261, allocations: 0 / 0.6739 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-05/0.7262, allocations: 31.97 kB / 0.6739 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.3e-05/0.7262, allocations: 18.81 kB / 0.6739 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002987/0.7292, allocations: 0.9466 MB / 0.6749 GB, free: 15.23 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.008311/0.7376, allocations: 4.664 MB / 0.6794 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004556/0.7421, allocations: 1.007 MB / 0.6804 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.7435, allocations: 411.9 kB / 0.6808 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001287/0.7448, allocations: 1.014 MB / 0.6818 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.7449, allocations: 42.77 kB / 0.6818 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 3.015e-06/0.7449, allocations: 0 / 0.6818 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.008958/0.7538, allocations: 1.947 MB / 0.6837 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.7539, allocations: 61.88 kB / 0.6838 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002785/0.7567, allocations: 0.9438 MB / 0.6847 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001477/0.7569, allocations: 37.42 kB / 0.6847 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007176/0.7576, allocations: 0.5042 MB / 0.6852 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002842/0.7579, allocations: 187.1 kB / 0.6854 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003902/0.7583, allocations: 125.3 kB / 0.6855 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.7585, allocations: 326 kB / 0.6858 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.7598, allocations: 359.8 kB / 0.6862 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.7615, allocations: 0.5116 MB / 0.6867 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002401/0.7639, allocations: 0.7702 MB / 0.6874 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.7639, allocations: 1.375 kB / 0.6874 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003733/0.7677, allocations: 1.066 MB / 0.6885 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.7677, allocations: 10.94 kB / 0.6885 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.7677, allocations: 6.844 kB / 0.6885 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001553/0.7693, allocations: 308.6 kB / 0.6888 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/0.77, allocations: 132.9 kB / 0.6889 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.7718, allocations: 0.9093 MB / 0.6898 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.7736, allocations: 162.4 kB / 0.69 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.7738, allocations: 29.36 kB / 0.69 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001709/0.7755, allocations: 0.5549 MB / 0.6905 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001331/0.7768, allocations: 0.506 MB / 0.691 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002224/0.7791, allocations: 0.76 MB / 0.6918 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.053e-06/0.7791, allocations: 1.438 kB / 0.6918 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003478/0.7826, allocations: 1.055 MB / 0.6928 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.7826, allocations: 5.812 kB / 0.6928 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.7826, allocations: 3.109 kB / 0.6928 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.7839, allocations: 303.9 kB / 0.6931 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.7846, allocations: 128.1 kB / 0.6932 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/0.7863, allocations: 0.9188 MB / 0.6941 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.788, allocations: 146.9 kB / 0.6943 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.7881, allocations: 28.02 kB / 0.6943 GB, free: 4.203 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0003723/0.7885, allocations: 219.6 kB / 0.6945 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005565/0.789, allocations: 110.8 kB / 0.6946 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005115/0.7942, allocations: 1.151 MB / 0.6957 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/0.7942, allocations: 13.38 kB / 0.6957 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.7942, allocations: 0 / 0.6957 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.7943, allocations: 2.25 kB / 0.6957 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005884/0.8001, allocations: 2.251 MB / 0.6979 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.8002, allocations: 1.5 kB / 0.6979 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005794/0.8008, allocations: 113 kB / 0.698 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/0.8019, allocations: 302.8 kB / 0.6983 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.291e-05/0.802, allocations: 21.53 kB / 0.6984 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.8036, allocations: 0.9398 MB / 0.6993 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.8036, allocations: 2.938 kB / 0.6993 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004184/0.8078, allocations: 1.323 MB / 0.7006 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009643/0.8088, allocations: 276.6 kB / 0.7008 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004847/0.8093, allocations: 13.53 kB / 0.7008 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.8106, allocations: 114.9 kB / 0.701 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.8108, allocations: 41.25 kB / 0.701 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.908e-05/0.8109, allocations: 23.36 kB / 0.701 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001479/0.8124, allocations: 0.6673 MB / 0.7017 GB, free: 172 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8124, allocations: 4 kB / 0.7017 GB, free: 168 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002899/0.8153, allocations: 0.5651 MB / 0.7022 GB, free: 44 kB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001418/0.8167, allocations: 383.6 kB / 0.7026 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004468/0.8212, allocations: 1.305 MB / 0.7039 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.8212, allocations: 1.156 kB / 0.7039 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001419/0.8227, allocations: 457.4 kB / 0.7043 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003538/0.8262, allocations: 0.4906 MB / 0.7048 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005878/0.8321, allocations: 2.32 MB / 0.707 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/0.8333, allocations: 1.064 MB / 0.7081 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001838/0.8352, allocations: 238.6 kB / 0.7083 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000399/0.8356, allocations: 77.7 kB / 0.7084 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of SimCode: time 1.022e-06/0.8356, allocations: 0 / 0.7084 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of Templates: time 0.04746/0.8831, allocations: 23.73 MB / 0.7316 GB, free: 5.285 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)