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.001243/0.001243, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001309/0.001309, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8277/0.8277, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 74.91 kB / 0.5863 GB, free: 21.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1695, allocations: 80.91 MB / 0.6653 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06241/0.232, allocations: 61.19 MB / 0.725 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01819/0.2502, allocations: 11.98 MB / 0.7367 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002706/0.253, allocations: 59.62 kB / 0.7368 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002346/0.2553, allocations: 0.6791 MB / 0.7375 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005981/0.2614, allocations: 1.962 MB / 0.7394 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00366/0.2651, allocations: 1.205 MB / 0.7406 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005189/0.2703, allocations: 3.087 MB / 0.7436 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002297/0.2726, allocations: 1.124 MB / 0.7447 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00377/0.2764, allocations: 1.366 MB / 0.746 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001844/0.2782, allocations: 0.9296 MB / 0.7469 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000377/0.2786, allocations: 116 kB / 0.747 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003305/0.282, allocations: 1.45 MB / 0.7484 GB, free: 500 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005121/0.2825, allocations: 298.8 kB / 0.7487 GB, free: 200 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.3892/0.6717, allocations: 0.6985 MB / 0.7494 GB, free: 23.17 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004559/0.6763, allocations: 2.336 MB / 0.7517 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.6764, allocations: 1.281 kB / 0.7517 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6764, allocations: 0 / 0.7517 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.241e-05/0.6764, allocations: 0 / 0.7517 GB, free: 23.12 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.003944/0.6804, allocations: 1.743 MB / 0.7534 GB, free: 22.26 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.6804, allocations: 10.75 kB / 0.7534 GB, free: 22.26 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002829/0.6833, allocations: 457.2 kB / 0.7538 GB, free: 22.19 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/0.6857, allocations: 1.18 MB / 0.755 GB, free: 21.81 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.967e-05/0.6858, allocations: 63.97 kB / 0.755 GB, free: 21.81 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.6859, allocations: 81.06 kB / 0.7551 GB, free: 21.81 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/0.6883, allocations: 0.9965 MB / 0.7561 GB, free: 21.68 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.6883, allocations: 0.6562 kB / 0.7561 GB, free: 21.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.782e-05/0.6884, allocations: 32.94 kB / 0.7561 GB, free: 21.68 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.417e-05/0.6884, allocations: 19.83 kB / 0.7562 GB, free: 21.68 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002796/0.6912, allocations: 0.9317 MB / 0.7571 GB, free: 21.66 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.007385/0.6986, allocations: 4.658 MB / 0.7616 GB, free: 19.28 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004599/0.7033, allocations: 0.9866 MB / 0.7626 GB, free: 19.23 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/0.7044, allocations: 406.4 kB / 0.763 GB, free: 19.22 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008134/0.7052, allocations: 1.014 MB / 0.7639 GB, free: 18.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.7052, allocations: 48.2 kB / 0.764 GB, free: 18.05 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 3.586e-06/0.7053, allocations: 0 / 0.764 GB, free: 18.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.008542/0.7138, allocations: 1.899 MB / 0.7659 GB, free: 17.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.7139, allocations: 56.94 kB / 0.7659 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/0.7154, allocations: 0.9534 MB / 0.7668 GB, free: 17.58 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.7155, allocations: 41.3 kB / 0.7669 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003472/0.7159, allocations: 0.5117 MB / 0.7674 GB, free: 17.37 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.716, allocations: 176.5 kB / 0.7675 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.7163, allocations: 133.5 kB / 0.7677 GB, free: 17.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.647e-05/0.7163, allocations: 326.3 kB / 0.768 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.7173, allocations: 355 kB / 0.7683 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.7186, allocations: 0.5036 MB / 0.7688 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002085/0.7207, allocations: 0.7487 MB / 0.7695 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.7207, allocations: 1.125 kB / 0.7695 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003208/0.7239, allocations: 1.054 MB / 0.7706 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.7239, allocations: 7.5 kB / 0.7706 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.7239, allocations: 9.25 kB / 0.7706 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/0.7252, allocations: 299 kB / 0.7709 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006456/0.7259, allocations: 136.4 kB / 0.771 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.7272, allocations: 0.8992 MB / 0.7719 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.7285, allocations: 125.2 kB / 0.772 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-05/0.7286, allocations: 28.58 kB / 0.772 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00145/0.7301, allocations: 0.55 MB / 0.7726 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001129/0.7312, allocations: 0.5031 MB / 0.7731 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001945/0.7332, allocations: 0.7438 MB / 0.7738 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.038e-06/0.7332, allocations: 2.672 kB / 0.7738 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003308/0.7365, allocations: 1.045 MB / 0.7748 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.7365, allocations: 9.312 kB / 0.7748 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.7366, allocations: 2.031 kB / 0.7748 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.7378, allocations: 294 kB / 0.7751 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007011/0.7385, allocations: 127.9 kB / 0.7752 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.74, allocations: 0.8936 MB / 0.7761 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.7414, allocations: 114.1 kB / 0.7762 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.197e-05/0.7415, allocations: 30.59 kB / 0.7762 GB, free: 14.82 MB / 0.5762 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.0002798/0.7418, allocations: 214.4 kB / 0.7764 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/0.7421, allocations: 106.8 kB / 0.7765 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003158/0.7452, allocations: 1.144 MB / 0.7777 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.7452, allocations: 8.375 kB / 0.7777 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.7453, allocations: 1.094 kB / 0.7777 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.7453, allocations: 6.766 kB / 0.7777 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004696/0.75, allocations: 2.261 MB / 0.7799 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.75, allocations: 2.281 kB / 0.7799 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005623/0.7506, allocations: 103.4 kB / 0.78 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000976/0.7516, allocations: 298.6 kB / 0.7803 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-05/0.7516, allocations: 15.34 kB / 0.7803 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.7529, allocations: 0.9218 MB / 0.7812 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.7529, allocations: 2.891 kB / 0.7812 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0037/0.7566, allocations: 1.293 MB / 0.7824 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005969/0.7573, allocations: 279 kB / 0.7827 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.7574, allocations: 12.16 kB / 0.7827 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008419/0.7583, allocations: 75.48 kB / 0.7828 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.7584, allocations: 40.02 kB / 0.7828 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-05/0.7585, allocations: 28.58 kB / 0.7829 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001106/0.7596, allocations: 0.6715 MB / 0.7835 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7596, allocations: 0 / 0.7835 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001824/0.7614, allocations: 0.575 MB / 0.7841 GB, free: 12.84 MB / 0.5762 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.0008788/0.7623, allocations: 382 kB / 0.7844 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003775/0.7661, allocations: 1.297 MB / 0.7857 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.7661, allocations: 3 kB / 0.7857 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.7673, allocations: 457.9 kB / 0.7861 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/0.7698, allocations: 499.1 kB / 0.7866 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003744/0.7735, allocations: 1.928 MB / 0.7885 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.774, allocations: 1.061 MB / 0.7895 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.7743, allocations: 94.02 kB / 0.7896 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of SimCode: time 7.61e-07/0.7743, allocations: 0 / 0.7896 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of Templates: time 0.02845/0.8028, allocations: 24.12 MB / 0.8132 GB, free: 11.81 MB / 0.5919 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)