Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001356/0.001356, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001989/0.00199, allocations: 198.9 kB / 16.26 MB, free: 6.625 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.366/1.366, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.938/0.938, allocations: 135.1 MB / 425.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002437/0.002437, allocations: 72.88 kB / 0.5049 GB, free: 5.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.2013, allocations: 80.92 MB / 0.5839 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.4297/0.631, allocations: 125 MB / 0.7059 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02579/0.6569, allocations: 15.27 MB / 0.7208 GB, free: 8.602 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004182/0.6611, allocations: 68.31 kB / 0.7209 GB, free: 8.574 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00338/0.6646, allocations: 0.8396 MB / 0.7217 GB, free: 8.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008682/0.6733, allocations: 2.411 MB / 0.7241 GB, free: 6.656 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006516/0.6798, allocations: 1.954 MB / 0.726 GB, free: 5.547 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008217/0.688, allocations: 4.813 MB / 0.7307 GB, free: 3.137 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003188/0.6913, allocations: 1.702 MB / 0.7323 GB, free: 2.309 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005207/0.6965, allocations: 1.836 MB / 0.7341 GB, free: 1.215 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003164/0.6997, allocations: 1.373 MB / 0.7355 GB, free: 364 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000743/0.7004, allocations: 204.3 kB / 0.7357 GB, free: 364 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006308/0.7068, allocations: 2.017 MB / 0.7376 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001014/0.7078, allocations: 0.504 MB / 0.7381 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002804/0.7106, allocations: 1.075 MB / 0.7392 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006378/0.717, allocations: 3.699 MB / 0.7428 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.717, allocations: 0 / 0.7428 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.064e-06/0.717, allocations: 0 / 0.7428 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.987e-05/0.7171, allocations: 0 / 0.7428 GB, free: 10.85 MB / 0.5606 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.004355/0.7214, allocations: 2.457 MB / 0.7452 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.7215, allocations: 12.03 kB / 0.7452 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006141/0.7276, allocations: 0.7124 MB / 0.7459 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002951/0.7306, allocations: 1.666 MB / 0.7475 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.7308, allocations: 132.1 kB / 0.7476 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/0.731, allocations: 128 kB / 0.7478 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004193/0.7352, allocations: 1.732 MB / 0.7494 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.7352, allocations: 3.938 kB / 0.7495 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.7354, allocations: 52 kB / 0.7495 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.808e-05/0.7354, allocations: 40 kB / 0.7495 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004859/0.7403, allocations: 1.511 MB / 0.751 GB, free: 2.168 MB / 0.5606 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.01069/0.751, allocations: 7.544 MB / 0.7584 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0043/0.7553, allocations: 1.162 MB / 0.7595 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002027/0.7574, allocations: 0.5885 MB / 0.7601 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001829/0.7592, allocations: 1.271 MB / 0.7613 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00247/0.7617, allocations: 0.6951 MB / 0.762 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 3.246e-06/0.7617, allocations: 0 / 0.762 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.018/0.7797, allocations: 3.163 MB / 0.7651 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.7799, allocations: 145.2 kB / 0.7652 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002008/0.7819, allocations: 1.271 MB / 0.7665 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000164/0.7821, allocations: 45.69 kB / 0.7665 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007341/0.7828, allocations: 0.7231 MB / 0.7672 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003429/0.7832, allocations: 276 kB / 0.7675 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003752/0.7835, allocations: 222.4 kB / 0.7677 GB, free: 292 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.7837, allocations: 345.9 kB / 0.768 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/0.7857, allocations: 0.5278 MB / 0.7686 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002298/0.788, allocations: 0.8092 MB / 0.7693 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004169/0.7922, allocations: 1.233 MB / 0.7705 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/0.7923, allocations: 8 kB / 0.7706 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005629/0.7979, allocations: 1.657 MB / 0.7722 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.7979, allocations: 8 kB / 0.7722 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.798, allocations: 8 kB / 0.7722 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002051/0.8, allocations: 0.5723 MB / 0.7727 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.8015, allocations: 243.6 kB / 0.773 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.8035, allocations: 1.179 MB / 0.7741 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/0.8058, allocations: 222.8 kB / 0.7743 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.806, allocations: 55.95 kB / 0.7744 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002751/0.8087, allocations: 0.8298 MB / 0.7752 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00227/0.811, allocations: 0.7944 MB / 0.776 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004018/0.815, allocations: 1.213 MB / 0.7772 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.72e-06/0.8151, allocations: 0 / 0.7772 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.00551/0.8206, allocations: 1.636 MB / 0.7788 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.8206, allocations: 10.03 kB / 0.7788 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.8206, allocations: 11.92 kB / 0.7788 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002017/0.8227, allocations: 0.5597 MB / 0.7793 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.824, allocations: 247.6 kB / 0.7796 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.8261, allocations: 1.17 MB / 0.7807 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/0.8282, allocations: 210.1 kB / 0.7809 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.8283, allocations: 55.94 kB / 0.781 GB, free: 2.25 MB / 0.5919 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.0004005/0.8287, allocations: 252 kB / 0.7812 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005143/0.8293, allocations: 150.2 kB / 0.7813 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/0.8425, allocations: 2.129 MB / 0.7834 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/0.8425, allocations: 8 kB / 0.7834 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.8426, allocations: 0 / 0.7834 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0123/0.8549, allocations: 1.958 MB / 0.7853 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009779/0.8647, allocations: 3.641 MB / 0.7889 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.8647, allocations: 4 kB / 0.7889 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.8659, allocations: 171.9 kB / 0.7891 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001905/0.8679, allocations: 0.5475 MB / 0.7896 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.885e-05/0.868, allocations: 35.95 kB / 0.7896 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/0.87, allocations: 1.158 MB / 0.7908 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.87, allocations: 4 kB / 0.7908 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005506/0.8755, allocations: 1.588 MB / 0.7923 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009624/0.8765, allocations: 386.9 kB / 0.7927 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000427/0.8769, allocations: 20 kB / 0.7927 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00207/0.879, allocations: 147.8 kB / 0.7929 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.8791, allocations: 56.52 kB / 0.7929 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/0.8793, allocations: 51.94 kB / 0.793 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001546/0.8808, allocations: 0.875 MB / 0.7938 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.81e-07/0.8808, allocations: 0 / 0.7938 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003397/0.8842, allocations: 0.9664 MB / 0.7948 GB, free: 3.805 MB / 0.6075 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.003116/0.8874, allocations: 0.8789 MB / 0.7956 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.007865/0.8953, allocations: 2.076 MB / 0.7976 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/0.8953, allocations: 0 / 0.7976 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002308/0.8976, allocations: 0.6282 MB / 0.7983 GB, free: 420 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004237/0.9019, allocations: 0.7682 MB / 0.799 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007361/0.9092, allocations: 3.31 MB / 0.8022 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.9106, allocations: 1.259 MB / 0.8035 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002271/0.9129, allocations: 371.8 kB / 0.8038 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004924/0.9134, allocations: 143.3 kB / 0.804 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.9134, allocations: 0 / 0.804 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of Templates: time 0.06388/0.9773, allocations: 39.56 MB / 0.8426 GB, free: 3.359 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)