Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 104.3 kB / 16.27 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.001246/0.001246, allocations: 183.9 kB / 17.19 MB, free: 5.688 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.377/1.377, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8122/0.8122, allocations: 132.2 MB / 423.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 55.91 kB / 0.5024 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3787, allocations: 80.18 MB / 0.5807 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.111/0.4898, allocations: 126.1 MB / 0.7039 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02342/0.5133, allocations: 15.4 MB / 0.7189 GB, free: 364 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002641/0.5159, allocations: 71.56 kB / 0.719 GB, free: 292 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00294/0.519, allocations: 0.9626 MB / 0.7199 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007639/0.5266, allocations: 2.61 MB / 0.7225 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005627/0.5323, allocations: 2.118 MB / 0.7246 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006763/0.539, allocations: 4.785 MB / 0.7292 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002798/0.5419, allocations: 1.701 MB / 0.7309 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004286/0.5462, allocations: 1.835 MB / 0.7327 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004127/0.5503, allocations: 1.326 MB / 0.734 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000585/0.551, allocations: 204 kB / 0.7342 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004832/0.5558, allocations: 1.978 MB / 0.7361 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007845/0.5566, allocations: 0.5023 MB / 0.7366 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001775/0.5584, allocations: 1.085 MB / 0.7376 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006678/0.5651, allocations: 3.674 MB / 0.7412 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.5651, allocations: 4 kB / 0.7412 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.774e-06/0.5652, allocations: 0 / 0.7412 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.109e-05/0.5652, allocations: 0 / 0.7412 GB, free: 9.453 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.004754/0.57, allocations: 2.447 MB / 0.7436 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.57, allocations: 12.03 kB / 0.7436 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005873/0.5759, allocations: 0.716 MB / 0.7443 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003115/0.5791, allocations: 1.627 MB / 0.7459 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.5792, allocations: 140.1 kB / 0.7461 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002172/0.5795, allocations: 128 kB / 0.7462 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004171/0.5836, allocations: 1.731 MB / 0.7479 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.5837, allocations: 7.938 kB / 0.7479 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/0.5839, allocations: 52 kB / 0.7479 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-05/0.5839, allocations: 39.94 kB / 0.748 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00493/0.5889, allocations: 1.508 MB / 0.7494 GB, free: 0.8047 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.3026/0.8915, allocations: 7.588 MB / 0.7569 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004424/0.8959, allocations: 1.162 MB / 0.758 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002165/0.8981, allocations: 0.5918 MB / 0.7586 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/0.8993, allocations: 1.269 MB / 0.7598 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002617/0.902, allocations: 0.6915 MB / 0.7605 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 3.717e-06/0.902, allocations: 0.5 kB / 0.7605 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.01858/0.9206, allocations: 3.173 MB / 0.7636 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.9207, allocations: 140.3 kB / 0.7637 GB, free: 153 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/0.9226, allocations: 1.289 MB / 0.765 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002327/0.9229, allocations: 45.98 kB / 0.765 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005358/0.9234, allocations: 0.7219 MB / 0.7657 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/0.9237, allocations: 278.2 kB / 0.766 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000355/0.924, allocations: 221.9 kB / 0.7662 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.816e-05/0.9241, allocations: 345.8 kB / 0.7665 GB, free: 151 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001996/0.9261, allocations: 0.5291 MB / 0.767 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002143/0.9283, allocations: 0.7994 MB / 0.7678 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003901/0.9322, allocations: 1.234 MB / 0.769 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.9322, allocations: 3.188 kB / 0.769 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005107/0.9374, allocations: 1.654 MB / 0.7706 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.9374, allocations: 7.906 kB / 0.7707 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.9374, allocations: 7.875 kB / 0.7707 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001863/0.9393, allocations: 0.5685 MB / 0.7712 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.9406, allocations: 249.2 kB / 0.7715 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.9424, allocations: 1.17 MB / 0.7726 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/0.9445, allocations: 180.2 kB / 0.7728 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.9446, allocations: 63.44 kB / 0.7728 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002429/0.947, allocations: 0.8209 MB / 0.7736 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001976/0.949, allocations: 0.7977 MB / 0.7744 GB, free: 146.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003663/0.9527, allocations: 1.213 MB / 0.7756 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.641e-06/0.9527, allocations: 1.969 kB / 0.7756 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005075/0.9578, allocations: 1.642 MB / 0.7772 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.9579, allocations: 8 kB / 0.7772 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.9579, allocations: 12.5 kB / 0.7772 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001814/0.9597, allocations: 0.5665 MB / 0.7778 GB, free: 144 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.961, allocations: 243.6 kB / 0.778 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.9627, allocations: 1.17 MB / 0.7791 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/0.9647, allocations: 161.3 kB / 0.7793 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.9649, allocations: 55.94 kB / 0.7794 GB, free: 142.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.calDat.nextTimeEvent,$whenCondition1,heaPum.com.isOn,$PRE.heaPum.com.isOn,calDat.nextTimeEventScaled,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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 {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0004194/0.9653, allocations: 252.5 kB / 0.7796 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005843/0.9659, allocations: 150.2 kB / 0.7797 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.9785, allocations: 2.118 MB / 0.7818 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.042e-05/0.9786, allocations: 13.75 kB / 0.7818 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.9786, allocations: 3.562 kB / 0.7818 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01206/0.9907, allocations: 1.953 MB / 0.7837 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008769/0.9995, allocations: 3.661 MB / 0.7873 GB, free: 134 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.9995, allocations: 0 / 0.7873 GB, free: 134 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/1.001, allocations: 175.9 kB / 0.7875 GB, free: 133.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/1.002, allocations: 0.5591 MB / 0.788 GB, free: 133.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/1.003, allocations: 35.94 kB / 0.7881 GB, free: 133.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/1.004, allocations: 1.154 MB / 0.7892 GB, free: 132 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.004, allocations: 4 kB / 0.7892 GB, free: 132 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004816/1.009, allocations: 1.592 MB / 0.7907 GB, free: 130.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007872/1.01, allocations: 379 kB / 0.7911 GB, free: 130 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004133/1.01, allocations: 20 kB / 0.7911 GB, free: 130 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/1.012, allocations: 115.8 kB / 0.7912 GB, free: 129.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/1.012, allocations: 60.52 kB / 0.7913 GB, free: 129.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/1.012, allocations: 51.94 kB / 0.7913 GB, free: 129.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001342/1.014, allocations: 0.879 MB / 0.7922 GB, free: 128.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.7e-07/1.014, allocations: 0 / 0.7922 GB, free: 128.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00288/1.017, allocations: 0.9665 MB / 0.7931 GB, free: 128 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: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002251/1.019, allocations: 0.895 MB / 0.794 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007149/1.026, allocations: 2.076 MB / 0.796 GB, free: 125.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/1.026, allocations: 3.781 kB / 0.796 GB, free: 125.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002143/1.028, allocations: 0.6281 MB / 0.7967 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004051/1.032, allocations: 0.7671 MB / 0.7974 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006166/1.039, allocations: 2.761 MB / 0.8001 GB, free: 121.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007925/1.039, allocations: 1.259 MB / 0.8013 GB, free: 119.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005857/1.04, allocations: 167.2 kB / 0.8015 GB, free: 119.7 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/1.04, allocations: 0 / 0.8015 GB, free: 119.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.0427/1.083, allocations: 37.4 MB / 0.838 GB, free: 82.49 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)