Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007808/0.007809, allocations: 103.6 kB / 15.74 MB, free: 6.039 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.001726/0.001726, allocations: 198.5 kB / 16.68 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.365/1.365, 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/package.mo): time 0.7851/0.7851, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 71.91 kB / 0.5814 GB, free: 23.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1322, allocations: 80.2 MB / 0.6597 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.06306/0.1953, allocations: 69.9 MB / 0.7279 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02008/0.2154, allocations: 14.35 MB / 0.742 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002293/0.2178, allocations: 75.56 kB / 0.742 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002427/0.2202, allocations: 0.9473 MB / 0.7429 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006729/0.227, allocations: 2.66 MB / 0.7455 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004908/0.2319, allocations: 1.981 MB / 0.7475 GB, free: 60 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3066/0.5385, allocations: 4.678 MB / 0.752 GB, free: 23.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/0.5406, allocations: 1.617 MB / 0.7536 GB, free: 23.3 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003612/0.5442, allocations: 1.822 MB / 0.7554 GB, free: 23.3 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.5461, allocations: 1.278 MB / 0.7567 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004187/0.5465, allocations: 197.1 kB / 0.7568 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003963/0.5505, allocations: 1.976 MB / 0.7588 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000427/0.5509, allocations: 463.8 kB / 0.7592 GB, free: 23.05 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.5521, allocations: 1.022 MB / 0.7602 GB, free: 22.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005987/0.5581, allocations: 3.522 MB / 0.7637 GB, free: 22.49 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5581, allocations: 4.562 kB / 0.7637 GB, free: 22.49 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.695e-06/0.5581, allocations: 1.031 kB / 0.7637 GB, free: 22.49 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.848e-05/0.5582, allocations: 4 kB / 0.7637 GB, free: 22.49 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004776/0.563, allocations: 2.292 MB / 0.7659 GB, free: 21.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.563, allocations: 9.531 kB / 0.7659 GB, free: 21.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005445/0.5685, allocations: 0.6933 MB / 0.7666 GB, free: 21.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002438/0.5709, allocations: 1.595 MB / 0.7681 GB, free: 20.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.5711, allocations: 129 kB / 0.7683 GB, free: 20.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.5713, allocations: 125.5 kB / 0.7684 GB, free: 20.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003641/0.5749, allocations: 1.623 MB / 0.77 GB, free: 20.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/0.575, allocations: 4.312 kB / 0.77 GB, free: 20.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.5751, allocations: 53.81 kB / 0.77 GB, free: 20.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.453e-05/0.5752, allocations: 40.83 kB / 0.7701 GB, free: 20.51 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004494/0.5797, allocations: 1.452 MB / 0.7715 GB, free: 20.48 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.008735/0.5884, allocations: 6.996 MB / 0.7783 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.5905, allocations: 0.7358 MB / 0.779 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001572/0.5921, allocations: 498.2 kB / 0.7795 GB, free: 17.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009413/0.5931, allocations: 1.264 MB / 0.7807 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.5931, allocations: 51.94 kB / 0.7808 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=68): time 2.445e-06/0.5931, allocations: 0 / 0.7808 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=68): time 0.01945/0.6126, allocations: 3.01 MB / 0.7837 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.6126, allocations: 113.2 kB / 0.7838 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/0.6147, allocations: 1.377 MB / 0.7852 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001482/0.6148, allocations: 43.48 kB / 0.7852 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005133/0.6154, allocations: 0.6964 MB / 0.7859 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.6156, allocations: 236.2 kB / 0.7861 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003476/0.6159, allocations: 234.2 kB / 0.7864 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.502e-05/0.616, allocations: 340.8 kB / 0.7867 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.6178, allocations: 0.5127 MB / 0.7872 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/0.6198, allocations: 0.7814 MB / 0.7879 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003389/0.6232, allocations: 1.142 MB / 0.7891 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.6233, allocations: 5.062 kB / 0.7891 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004824/0.6281, allocations: 1.563 MB / 0.7906 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.6281, allocations: 8.406 kB / 0.7906 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.6281, allocations: 6.969 kB / 0.7906 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00163/0.6298, allocations: 493.6 kB / 0.7911 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.6311, allocations: 258.7 kB / 0.7913 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.6325, allocations: 0.9831 MB / 0.7923 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/0.6349, allocations: 228.6 kB / 0.7925 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.635, allocations: 59.19 kB / 0.7926 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002268/0.6373, allocations: 0.8005 MB / 0.7933 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001911/0.6392, allocations: 0.7761 MB / 0.7941 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003329/0.6425, allocations: 1.135 MB / 0.7952 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.508e-06/0.6425, allocations: 0 / 0.7952 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.004937/0.6475, allocations: 1.553 MB / 0.7967 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.6475, allocations: 7.219 kB / 0.7967 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.6475, allocations: 6.719 kB / 0.7967 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00156/0.6491, allocations: 490.4 kB / 0.7972 GB, free: 9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.6504, allocations: 255.6 kB / 0.7974 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.6519, allocations: 0.9936 MB / 0.7984 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002497/0.6544, allocations: 188.2 kB / 0.7986 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.6545, allocations: 56.23 kB / 0.7987 GB, free: 8.039 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * 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 {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003866/0.6549, allocations: 244.2 kB / 0.7989 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005597/0.6555, allocations: 145.5 kB / 0.799 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00426/0.6598, allocations: 1.299 MB / 0.8003 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.6598, allocations: 7.688 kB / 0.8003 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6598, allocations: 0 / 0.8003 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003446/0.6632, allocations: 1.112 MB / 0.8014 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007602/0.6709, allocations: 3.056 MB / 0.8044 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/0.6709, allocations: 2.781 kB / 0.8044 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000953/0.6719, allocations: 143.3 kB / 0.8045 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001584/0.6735, allocations: 481.9 kB / 0.805 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.236e-05/0.6736, allocations: 33.88 kB / 0.805 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001522/0.6751, allocations: 0.9859 MB / 0.806 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.6751, allocations: 10.48 kB / 0.806 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005839/0.681, allocations: 1.924 MB / 0.8079 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009298/0.6819, allocations: 362.9 kB / 0.8082 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005243/0.6825, allocations: 16 kB / 0.8082 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001977/0.6845, allocations: 112 kB / 0.8083 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.6846, allocations: 67.58 kB / 0.8084 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.6847, allocations: 43.95 kB / 0.8084 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001614/0.6863, allocations: 0.9894 MB / 0.8094 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.51e-07/0.6863, allocations: 0 / 0.8094 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003103/0.6894, allocations: 0.8929 MB / 0.8103 GB, free: 14.95 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001434/0.6909, allocations: 0.5531 MB / 0.8108 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006657/0.6976, allocations: 1.83 MB / 0.8126 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.6976, allocations: 4 kB / 0.8126 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001921/0.6995, allocations: 0.5178 MB / 0.8131 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004443/0.704, allocations: 0.8334 MB / 0.8139 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006069/0.7101, allocations: 2.67 MB / 0.8165 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009479/0.711, allocations: 1.207 MB / 0.8177 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00175/0.7128, allocations: 365.5 kB / 0.818 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004181/0.7132, allocations: 131.3 kB / 0.8182 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of SimCode: time 8.02e-07/0.7133, allocations: 0 / 0.8182 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of Templates: time 0.05895/0.7722, allocations: 39.47 MB / 0.8567 GB, free: 68 kB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)