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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009842/0.009841, allocations: 173.6 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8432/0.8432, allocations: 135.2 MB / 151.1 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.2 MB / 406.8 MB, free: 3.211 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009691/0.0009691, allocations: 106 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004736/0.0004736, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.4313, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8097/1.241, allocations: 401.6 MB / 1.042 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/1.241, allocations: 95.55 kB / 1.042 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.401/3.643, allocations: 0.5664 GB / 1.608 GB, free: 99.31 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.874e-06/3.643, allocations: 0 / 1.608 GB, free: 99.31 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001601/3.643, allocations: 50.78 kB / 1.608 GB, free: 99.31 MB / 0.6823 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.005475/3.648, allocations: 2.248 MB / 1.61 GB, free: 98.44 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/3.648, allocations: 8.5 kB / 1.61 GB, free: 98.44 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003857/3.649, allocations: 187.5 kB / 1.611 GB, free: 98.39 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005141/3.654, allocations: 0.6831 MB / 1.611 GB, free: 98.29 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004166/3.658, allocations: 1.896 MB / 1.613 GB, free: 97.98 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/3.658, allocations: 132.8 kB / 1.613 GB, free: 97.94 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/3.659, allocations: 122.9 kB / 1.613 GB, free: 97.94 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003851/3.662, allocations: 1.738 MB / 1.615 GB, free: 97.65 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/3.662, allocations: 9.062 kB / 1.615 GB, free: 97.65 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/3.663, allocations: 52.22 kB / 1.615 GB, free: 97.65 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.578e-05/3.663, allocations: 59.27 kB / 1.615 GB, free: 97.65 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004584/3.667, allocations: 1.538 MB / 1.617 GB, free: 97.63 MB / 0.6823 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.009807/3.677, allocations: 7.516 MB / 1.624 GB, free: 94.26 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00401/3.681, allocations: 1.234 MB / 1.625 GB, free: 94.23 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/3.682, allocations: 1.272 MB / 1.627 GB, free: 92.82 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002197/3.684, allocations: 0.7233 MB / 1.627 GB, free: 92.76 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=79): time 4.389e-06/3.684, allocations: 2.469 kB / 1.627 GB, free: 92.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=79): time 0.02203/3.707, allocations: 3.581 MB / 1.631 GB, free: 92.54 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/3.707, allocations: 166.1 kB / 1.631 GB, free: 92.35 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/3.709, allocations: 1.186 MB / 1.632 GB, free: 92.19 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002512/3.709, allocations: 48.89 kB / 1.632 GB, free: 92.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006772/3.71, allocations: 0.7359 MB / 1.633 GB, free: 91.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000298/3.71, allocations: 273.7 kB / 1.633 GB, free: 91.75 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/3.71, allocations: 18.31 kB / 1.633 GB, free: 91.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.182e-05/3.71, allocations: 338.8 kB / 1.633 GB, free: 91.44 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001906/3.712, allocations: 0.5383 MB / 1.634 GB, free: 91.44 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/3.714, allocations: 0.8547 MB / 1.635 GB, free: 91.11 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/3.716, allocations: 0.6039 MB / 1.635 GB, free: 91.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/3.716, allocations: 0 / 1.635 GB, free: 91.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.005169/3.721, allocations: 1.69 MB / 1.637 GB, free: 90.95 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004344/3.722, allocations: 2.402 MB / 1.639 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/3.722, allocations: 10.44 kB / 1.639 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001847/3.724, allocations: 0.5705 MB / 1.64 GB, free: 88.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/3.725, allocations: 243.5 kB / 1.64 GB, free: 88.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/3.727, allocations: 1.182 MB / 1.641 GB, free: 87.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/3.729, allocations: 249.7 kB / 1.642 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/3.73, allocations: 57.14 kB / 1.642 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/3.73, allocations: 6.719 kB / 1.642 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004644/3.734, allocations: 1.503 MB / 1.643 GB, free: 87.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/3.734, allocations: 3.906 kB / 1.643 GB, free: 87.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001813/3.736, allocations: 0.5751 MB / 1.644 GB, free: 87.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/3.737, allocations: 241 kB / 1.644 GB, free: 87.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/3.739, allocations: 1.177 MB / 1.645 GB, free: 87.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002386/3.742, allocations: 227.5 kB / 1.645 GB, free: 87.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/3.742, allocations: 56.7 kB / 1.645 GB, free: 87.28 MB / 0.6823 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 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001024/3.743, allocations: 472.8 kB / 1.646 GB, free: 87.09 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003184/3.743, allocations: 149.3 kB / 1.646 GB, free: 87.01 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005086/3.748, allocations: 1.675 MB / 1.648 GB, free: 86.91 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/3.748, allocations: 11.84 kB / 1.648 GB, free: 86.91 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/3.748, allocations: 0 / 1.648 GB, free: 86.91 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00443/3.753, allocations: 1.458 MB / 1.649 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008068/3.761, allocations: 3.329 MB / 1.652 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/3.761, allocations: 0 / 1.652 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/3.762, allocations: 184 kB / 1.652 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001915/3.764, allocations: 0.5612 MB / 1.653 GB, free: 86.29 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.855e-05/3.764, allocations: 34.17 kB / 1.653 GB, free: 86.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/3.766, allocations: 1.167 MB / 1.654 GB, free: 85.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/3.766, allocations: 5.125 kB / 1.654 GB, free: 85.76 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004927/3.771, allocations: 1.708 MB / 1.656 GB, free: 85.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/3.772, allocations: 423.7 kB / 1.656 GB, free: 85.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002281/3.772, allocations: 15.09 kB / 1.656 GB, free: 85.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/3.774, allocations: 170.5 kB / 1.656 GB, free: 85.21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/3.774, allocations: 52.95 kB / 1.656 GB, free: 85.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/3.774, allocations: 54.66 kB / 1.656 GB, free: 85.21 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001327/3.775, allocations: 0.9282 MB / 1.657 GB, free: 85.11 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/3.776, allocations: 0 / 1.657 GB, free: 85.11 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003046/3.779, allocations: 1.079 MB / 1.658 GB, free: 84.93 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.00752/3.786, allocations: 3.648 MB / 1.662 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006854/3.793, allocations: 2.069 MB / 1.664 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/3.793, allocations: 3.719 kB / 1.664 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002115/3.795, allocations: 0.6631 MB / 1.665 GB, free: 83.61 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003518/3.799, allocations: 0.7649 MB / 1.665 GB, free: 83.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02212/3.821, allocations: 13.73 MB / 1.679 GB, free: 76.47 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007144/3.822, allocations: 1.299 MB / 1.68 GB, free: 75.75 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002109/3.824, allocations: 399.5 kB / 1.68 GB, free: 75.71 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008837/3.825, allocations: 0.63 MB / 1.681 GB, free: 75.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.724e-06/3.825, allocations: 0 / 1.681 GB, free: 75.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08935/3.914, allocations: 57.02 MB / 1.737 GB, free: 72.38 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/3.914, allocations: 244.1 kB / 1.737 GB, free: 72.13 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.953/7.868, allocations: 3.938 kB / 1.737 GB, free: 72.12 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)