Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 108.9 kB / 16.41 MB, free: 6.5 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.001786/0.001786, allocations: 183 kB / 17.34 MB, free: 5.762 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7722/0.7722, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 64 kB / 0.582 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1702, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.5078/0.678, allocations: 130.9 MB / 0.7881 GB, free: 19.65 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0326/0.7107, allocations: 24.96 MB / 0.8125 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006556/0.7173, allocations: 139.5 kB / 0.8127 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0055/0.7229, allocations: 1.727 MB / 0.8143 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01371/0.7366, allocations: 4.492 MB / 0.8187 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0095/0.7461, allocations: 3.512 MB / 0.8222 GB, free: 180 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01411/0.7602, allocations: 9.042 MB / 0.831 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00639/0.7667, allocations: 3.219 MB / 0.8341 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009954/0.7767, allocations: 3.528 MB / 0.8376 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005966/0.7827, allocations: 2.49 MB / 0.84 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001692/0.7844, allocations: 396 kB / 0.8404 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009238/0.7936, allocations: 2.886 MB / 0.8432 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001998/0.7957, allocations: 0.8955 MB / 0.8441 GB, free: 300 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005139/0.8008, allocations: 1.995 MB / 0.846 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.015/0.8159, allocations: 6.383 MB / 0.8523 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.8159, allocations: 0 / 0.8523 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.196e-06/0.8159, allocations: 8 kB / 0.8523 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001973/0.8161, allocations: 0 / 0.8523 GB, free: 7.887 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.0116/0.8278, allocations: 4.075 MB / 0.8563 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.8278, allocations: 8.031 kB / 0.8563 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01173/0.8396, allocations: 1.373 MB / 0.8576 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00704/0.8466, allocations: 2.998 MB / 0.8605 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003695/0.8471, allocations: 255.9 kB / 0.8608 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008199/0.8479, allocations: 240 kB / 0.861 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.8582, allocations: 3.19 MB / 0.8641 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001/0.8584, allocations: 11.88 kB / 0.8641 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006128/0.859, allocations: 100 kB / 0.8642 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-05/0.8591, allocations: 67.98 kB / 0.8643 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01051/0.8696, allocations: 2.839 MB / 0.8671 GB, free: 8.34 MB / 0.6231 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.02531/0.895, allocations: 13.41 MB / 0.8802 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004847/0.8999, allocations: 1.501 MB / 0.8816 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003438/0.9033, allocations: 0.9332 MB / 0.8825 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001958/0.9053, allocations: 1.778 MB / 0.8843 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004236/0.9096, allocations: 1.209 MB / 0.8855 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=130): time 6.863e-06/0.9096, allocations: 4 kB / 0.8855 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=130): time 0.04119/0.9508, allocations: 5.832 MB / 0.8912 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003065/0.9512, allocations: 0.5727 MB / 0.8917 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005672/0.9569, allocations: 2.54 MB / 0.8942 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0004763/0.9574, allocations: 61.64 kB / 0.8943 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001462/0.9589, allocations: 1.348 MB / 0.8956 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007531/0.9596, allocations: 457.5 kB / 0.896 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/0.9608, allocations: 470.8 kB / 0.8965 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.9609, allocations: 309 kB / 0.8967 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004045/0.9649, allocations: 1.008 MB / 0.8977 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004555/0.9695, allocations: 1.591 MB / 0.8993 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007735/0.9773, allocations: 2.269 MB / 0.9015 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.709e-05/0.9773, allocations: 4 kB / 0.9015 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02484/1.002, allocations: 4.108 MB / 0.9055 GB, free: 15.19 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.877e-05/1.002, allocations: 41.7 kB / 0.9056 GB, free: 15.14 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.588e-05/1.002, allocations: 12 kB / 0.9056 GB, free: 15.13 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003506/1.006, allocations: 0.9471 MB / 0.9065 GB, free: 14.19 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002898/1.009, allocations: 495.1 kB / 0.907 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003455/1.012, allocations: 1.989 MB / 0.9089 GB, free: 11.67 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004929/1.017, allocations: 437.4 kB / 0.9093 GB, free: 11.24 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004048/1.018, allocations: 103.9 kB / 0.9094 GB, free: 11.14 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005201/1.023, allocations: 1.504 MB / 0.9109 GB, free: 9.629 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004536/1.027, allocations: 1.564 MB / 0.9124 GB, free: 7.828 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007495/1.035, allocations: 2.245 MB / 0.9146 GB, free: 5.418 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.478e-05/1.035, allocations: 4 kB / 0.9146 GB, free: 5.414 MB / 0.67 GB Notification: Performance of matching and sorting (n=227) (initialization_lambda0): time 0.02415/1.059, allocations: 4.081 MB / 0.9186 GB, free: 1.309 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.394e-05/1.059, allocations: 33.7 kB / 0.9186 GB, free: 1.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/1.059, allocations: 16.23 kB / 0.9186 GB, free: 1.254 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003405/1.063, allocations: 0.9469 MB / 0.9196 GB, free: 320 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002937/1.066, allocations: 0.4913 MB / 0.9201 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003402/1.069, allocations: 1.98 MB / 0.922 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005011/1.074, allocations: 375 kB / 0.9223 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004901/1.075, allocations: 103.9 kB / 0.9224 GB, free: 13.32 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,19), (2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0007239/1.075, allocations: 305 kB / 0.9227 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/1.076, allocations: 280.7 kB / 0.923 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/1.088, allocations: 2.518 MB / 0.9255 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-05/1.089, allocations: 12 kB / 0.9255 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/1.089, allocations: 4 kB / 0.9255 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01255/1.101, allocations: 2.126 MB / 0.9276 GB, free: 8.004 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02936/1.131, allocations: 7.486 MB / 0.9349 GB, free: 340 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.177e-05/1.131, allocations: 8 kB / 0.9349 GB, free: 332 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001941/1.133, allocations: 288.2 kB / 0.9351 GB, free: 44 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003677/1.136, allocations: 0.9486 MB / 0.9361 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003258/1.137, allocations: 43.95 kB / 0.9361 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003475/1.14, allocations: 1.978 MB / 0.938 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/1.14, allocations: 15.94 kB / 0.9381 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/1.153, allocations: 3.625 MB / 0.9416 GB, free: 9.266 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001703/1.155, allocations: 0.5989 MB / 0.9422 GB, free: 8.645 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008935/1.156, allocations: 35.98 kB / 0.9422 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003717/1.159, allocations: 215.7 kB / 0.9424 GB, free: 8.398 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002786/1.16, allocations: 124.6 kB / 0.9425 GB, free: 8.277 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002287/1.16, allocations: 71.92 kB / 0.9426 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003831/1.164, allocations: 1.79 MB / 0.9444 GB, free: 6.414 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.41e-07/1.164, allocations: 0 / 0.9444 GB, free: 6.414 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.006086/1.17, allocations: 1.692 MB / 0.946 GB, free: 4.719 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,19), (2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002209/1.172, allocations: 0.8298 MB / 0.9468 GB, free: 3.898 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01378/1.186, allocations: 3.724 MB / 0.9505 GB, free: 152 kB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.516e-05/1.186, allocations: 448 / 0.9505 GB, free: 152 kB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004026/1.19, allocations: 1.017 MB / 0.9515 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008406/1.198, allocations: 1.477 MB / 0.9529 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/1.212, allocations: 5.08 MB / 0.9579 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/1.214, allocations: 1.707 MB / 0.9595 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/1.215, allocations: 275.2 kB / 0.9598 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of SimCode: time 7.91e-07/1.215, allocations: 0 / 0.9598 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of Templates: time 0.1098/1.325, allocations: 82.25 MB / 1.04 GB, free: 4.422 MB / 0.795 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)