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.001581/0.001581, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001913/0.001913, allocations: 199.2 kB / 16.14 MB, free: 6.695 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.426/1.426, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7739/0.7739, allocations: 132.2 MB / 422.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 60.83 kB / 0.5011 GB, free: 4.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4312, allocations: 80.21 MB / 0.5794 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1378/0.5691, allocations: 125.3 MB / 0.7018 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02364/0.5928, allocations: 15.54 MB / 0.7169 GB, free: 4.578 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003805/0.5966, allocations: 67.56 kB / 0.717 GB, free: 4.512 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003804/0.6005, allocations: 0.7887 MB / 0.7178 GB, free: 3.719 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008267/0.6088, allocations: 2.389 MB / 0.7201 GB, free: 1.324 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006613/0.6154, allocations: 1.916 MB / 0.722 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008263/0.6237, allocations: 6.021 MB / 0.7279 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003329/0.6271, allocations: 1.414 MB / 0.7292 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004106/0.6312, allocations: 1.532 MB / 0.7307 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/0.6341, allocations: 1.322 MB / 0.732 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007845/0.6349, allocations: 92 kB / 0.7321 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005213/0.6401, allocations: 1.821 MB / 0.7339 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009981/0.6411, allocations: 398.3 kB / 0.7343 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002283/0.6434, allocations: 0.9678 MB / 0.7352 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007568/0.651, allocations: 3.603 MB / 0.7387 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.6511, allocations: 0 / 0.7387 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6511, allocations: 0 / 0.7387 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000106/0.6512, allocations: 0 / 0.7387 GB, free: 14.2 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.00658/0.6578, allocations: 2.451 MB / 0.7411 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.6578, allocations: 16.03 kB / 0.7411 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006204/0.6641, allocations: 0.7082 MB / 0.7418 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004098/0.6682, allocations: 1.673 MB / 0.7435 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002583/0.6685, allocations: 132.1 kB / 0.7436 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004828/0.669, allocations: 124 kB / 0.7437 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005606/0.6746, allocations: 1.735 MB / 0.7454 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.6747, allocations: 7.938 kB / 0.7454 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/0.6749, allocations: 56 kB / 0.7455 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.568e-05/0.6749, allocations: 39.88 kB / 0.7455 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00528/0.6802, allocations: 1.515 MB / 0.747 GB, free: 5.5 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.01137/0.6916, allocations: 7.525 MB / 0.7543 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004435/0.6961, allocations: 1.175 MB / 0.7555 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002148/0.6983, allocations: 0.5843 MB / 0.756 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001373/0.6997, allocations: 1.279 MB / 0.7573 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002534/0.7022, allocations: 0.6874 MB / 0.758 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 5.991e-06/0.7022, allocations: 3.984 kB / 0.758 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.01879/0.721, allocations: 3.167 MB / 0.7611 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.392e-05/0.7212, allocations: 145.1 kB / 0.7612 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002328/0.7235, allocations: 1.267 MB / 0.7624 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000205/0.7237, allocations: 45.7 kB / 0.7625 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000733/0.7245, allocations: 0.727 MB / 0.7632 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003935/0.7249, allocations: 280 kB / 0.7635 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004546/0.7253, allocations: 222.4 kB / 0.7637 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.7255, allocations: 341.9 kB / 0.764 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/0.7276, allocations: 0.5278 MB / 0.7645 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002319/0.73, allocations: 0.7983 MB / 0.7653 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00431/0.7343, allocations: 1.233 MB / 0.7665 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.7343, allocations: 4 kB / 0.7665 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00589/0.7402, allocations: 1.656 MB / 0.7681 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.7403, allocations: 11.94 kB / 0.7681 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.7403, allocations: 4 kB / 0.7681 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002087/0.7424, allocations: 0.557 MB / 0.7687 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.7439, allocations: 247.6 kB / 0.7689 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.7461, allocations: 1.175 MB / 0.7701 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/0.7483, allocations: 230.8 kB / 0.7703 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/0.7484, allocations: 55.95 kB / 0.7703 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002693/0.7511, allocations: 0.8298 MB / 0.7711 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00221/0.7534, allocations: 0.7866 MB / 0.7719 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004141/0.7575, allocations: 1.221 MB / 0.7731 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.05e-06/0.7575, allocations: 0 / 0.7731 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005508/0.7631, allocations: 1.641 MB / 0.7747 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.7631, allocations: 15.88 kB / 0.7747 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.7631, allocations: 4 kB / 0.7747 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001981/0.7651, allocations: 0.5673 MB / 0.7753 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.7666, allocations: 251.6 kB / 0.7755 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/0.7686, allocations: 1.162 MB / 0.7767 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/0.7709, allocations: 204.8 kB / 0.7769 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/0.771, allocations: 55.89 kB / 0.7769 GB, free: 5.582 MB / 0.6075 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.0003931/0.7714, allocations: 255.9 kB / 0.7771 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004398/0.7719, allocations: 146.2 kB / 0.7773 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01325/0.7851, allocations: 2.117 MB / 0.7794 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/0.7852, allocations: 15.98 kB / 0.7794 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.7852, allocations: 0 / 0.7794 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0125/0.7977, allocations: 1.954 MB / 0.7813 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009456/0.8072, allocations: 3.645 MB / 0.7848 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/0.8073, allocations: 4 kB / 0.7848 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.8084, allocations: 171.9 kB / 0.785 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001985/0.8105, allocations: 0.5471 MB / 0.7855 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001356/0.8106, allocations: 43.94 kB / 0.7856 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/0.8127, allocations: 1.162 MB / 0.7867 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.8127, allocations: 3.938 kB / 0.7867 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005564/0.8183, allocations: 1.585 MB / 0.7883 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/0.8193, allocations: 382.9 kB / 0.7886 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003965/0.8197, allocations: 23.98 kB / 0.7887 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/0.8217, allocations: 143.8 kB / 0.7888 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.8219, allocations: 60.47 kB / 0.7889 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/0.822, allocations: 55.92 kB / 0.7889 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001573/0.8236, allocations: 0.8712 MB / 0.7898 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8236, allocations: 0 / 0.7898 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003026/0.8266, allocations: 0.9664 MB / 0.7907 GB, free: 7.133 MB / 0.6231 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.002254/0.8289, allocations: 0.869 MB / 0.7915 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.007354/0.8363, allocations: 2.014 MB / 0.7935 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.8363, allocations: 3.938 kB / 0.7935 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00234/0.8387, allocations: 0.6243 MB / 0.7941 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004363/0.843, allocations: 0.7514 MB / 0.7949 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00665/0.8497, allocations: 3.312 MB / 0.7981 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008961/0.8506, allocations: 1.263 MB / 0.7993 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001837/0.8525, allocations: 369.7 kB / 0.7997 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004114/0.8529, allocations: 143.3 kB / 0.7998 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of SimCode: time 1.624e-06/0.8529, allocations: 0 / 0.7998 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of Templates: time 0.3492/1.202, allocations: 38.41 MB / 0.8373 GB, free: 204.4 MB / 0.6387 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)