Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009061/0.009061, allocations: 102 kB / 15.73 MB, free: 6.051 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.001935/0.001935, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.364/1.364, allocations: 222.9 MB / 240.4 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.8238/0.8238, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 67.05 kB / 0.5856 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1729, allocations: 80.92 MB / 0.6646 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.06284/0.2358, allocations: 61.21 MB / 0.7244 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01973/0.2556, allocations: 12 MB / 0.7361 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002331/0.258, allocations: 59.62 kB / 0.7362 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002475/0.2605, allocations: 0.6986 MB / 0.7369 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00707/0.2676, allocations: 2.064 MB / 0.7389 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003709/0.2713, allocations: 1.216 MB / 0.7401 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004924/0.2762, allocations: 3.103 MB / 0.7431 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/0.2782, allocations: 1.104 MB / 0.7442 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003399/0.2816, allocations: 1.39 MB / 0.7456 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001655/0.2833, allocations: 0.8983 MB / 0.7464 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002915/0.2836, allocations: 116 kB / 0.7465 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002957/0.2865, allocations: 1.45 MB / 0.748 GB, free: 160 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.4065/0.693, allocations: 291.4 kB / 0.7482 GB, free: 23.28 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001462/0.6945, allocations: 0.704 MB / 0.7489 GB, free: 23.28 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00482/0.6994, allocations: 2.326 MB / 0.7512 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.6994, allocations: 0 / 0.7512 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6994, allocations: 0 / 0.7512 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.994e-05/0.6995, allocations: 1.219 kB / 0.7512 GB, free: 23.23 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003551/0.703, allocations: 1.745 MB / 0.7529 GB, free: 22.38 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.7031, allocations: 12.05 kB / 0.7529 GB, free: 22.38 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002107/0.7052, allocations: 414 kB / 0.7533 GB, free: 22.3 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.7074, allocations: 1.171 MB / 0.7544 GB, free: 21.92 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.374e-05/0.7075, allocations: 62.22 kB / 0.7545 GB, free: 21.92 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.7076, allocations: 80.94 kB / 0.7546 GB, free: 21.92 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.7097, allocations: 1.018 MB / 0.7556 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.7097, allocations: 1.875 kB / 0.7556 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-05/0.7098, allocations: 33.22 kB / 0.7556 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/0.7099, allocations: 18.94 kB / 0.7556 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/0.7123, allocations: 0.8804 MB / 0.7565 GB, free: 21.71 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.00734/0.7196, allocations: 5.231 MB / 0.7616 GB, free: 18.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003718/0.7234, allocations: 0.7858 MB / 0.7624 GB, free: 18.58 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008251/0.7242, allocations: 313.3 kB / 0.7627 GB, free: 18.56 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006543/0.7249, allocations: 0.9087 MB / 0.7636 GB, free: 17.53 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.7249, allocations: 36.66 kB / 0.7636 GB, free: 17.49 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.434e-06/0.7249, allocations: 0 / 0.7636 GB, free: 17.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.006788/0.7317, allocations: 1.609 MB / 0.7652 GB, free: 17.24 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.7318, allocations: 56.38 kB / 0.7652 GB, free: 17.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/0.7337, allocations: 1.075 MB / 0.7663 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.757e-05/0.7338, allocations: 43.36 kB / 0.7663 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/0.7341, allocations: 0.535 MB / 0.7668 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.7343, allocations: 153 kB / 0.767 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/0.7345, allocations: 135.3 kB / 0.7671 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.479e-05/0.7346, allocations: 329.2 kB / 0.7674 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008509/0.7355, allocations: 320.2 kB / 0.7677 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.7366, allocations: 0.5412 MB / 0.7682 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.7382, allocations: 0.747 MB / 0.769 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.7382, allocations: 1.312 kB / 0.769 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002959/0.7412, allocations: 1.041 MB / 0.77 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.7412, allocations: 10.94 kB / 0.77 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.7412, allocations: 8.516 kB / 0.77 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.7425, allocations: 300 kB / 0.7703 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005982/0.7431, allocations: 136.9 kB / 0.7704 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.7444, allocations: 0.9079 MB / 0.7713 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.7458, allocations: 155.3 kB / 0.7715 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-05/0.7459, allocations: 32.73 kB / 0.7715 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001305/0.7472, allocations: 0.5225 MB / 0.772 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009921/0.7482, allocations: 0.5394 MB / 0.7725 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001527/0.7498, allocations: 0.7447 MB / 0.7733 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.32e-06/0.7498, allocations: 1.312 kB / 0.7733 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.002585/0.7524, allocations: 1.025 MB / 0.7743 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.7524, allocations: 16.5 kB / 0.7743 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.7524, allocations: 4.344 kB / 0.7743 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.7534, allocations: 294.7 kB / 0.7746 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005626/0.754, allocations: 142.3 kB / 0.7747 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.7552, allocations: 0.8996 MB / 0.7756 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.7566, allocations: 135.7 kB / 0.7757 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.1e-05/0.7567, allocations: 31.98 kB / 0.7757 GB, free: 13.89 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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.0002965/0.757, allocations: 221.8 kB / 0.7759 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/0.7572, allocations: 112.6 kB / 0.7761 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003055/0.7603, allocations: 1.092 MB / 0.7771 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.7603, allocations: 4.5 kB / 0.7771 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.7603, allocations: 1 kB / 0.7771 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.7603, allocations: 2.391 kB / 0.7771 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004906/0.7653, allocations: 2.188 MB / 0.7793 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.7653, allocations: 2.375 kB / 0.7793 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/0.7656, allocations: 76.33 kB / 0.7793 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009033/0.7665, allocations: 292.5 kB / 0.7796 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/0.7666, allocations: 16.83 kB / 0.7796 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.7677, allocations: 0.9246 MB / 0.7805 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.7678, allocations: 6.016 kB / 0.7805 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003357/0.7711, allocations: 1.197 MB / 0.7817 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005531/0.7717, allocations: 270.8 kB / 0.782 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.7718, allocations: 11.47 kB / 0.782 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00078/0.7726, allocations: 75.03 kB / 0.7821 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.7727, allocations: 40.16 kB / 0.7821 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-05/0.7728, allocations: 21.97 kB / 0.7821 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001162/0.774, allocations: 0.7636 MB / 0.7829 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/0.774, allocations: 0 / 0.7829 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001799/0.7758, allocations: 0.5692 MB / 0.7834 GB, free: 11.87 MB / 0.5762 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 (34): * Single equations (assignments): 29 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008217/0.7766, allocations: 382.8 kB / 0.7838 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003187/0.7798, allocations: 1.174 MB / 0.7849 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.7798, allocations: 2.406 kB / 0.7849 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009051/0.7808, allocations: 364.6 kB / 0.7853 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.7829, allocations: 0.5128 MB / 0.7858 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004657/0.7876, allocations: 2.031 MB / 0.7878 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.788, allocations: 1.067 MB / 0.7888 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009181/0.789, allocations: 232.1 kB / 0.789 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.7892, allocations: 78.47 kB / 0.7891 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of SimCode: time 9.51e-07/0.7892, allocations: 0 / 0.7891 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of Templates: time 0.03971/0.8289, allocations: 25.3 MB / 0.8138 GB, free: 9.918 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1)