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/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_dev_IDEAS_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="IDEAS_dev_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.006688/0.006688, allocations: 172.1 kB / 15.11 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.7359/0.7359, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.196/2.196, allocations: 223.2 MB / 406.8 MB, free: 3.25 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.001948/0.001948, allocations: 91.52 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007214/0.0007219, allocations: 15.98 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9187/0.9194, allocations: 82.29 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.572/2.491, allocations: 401.6 MB / 1.042 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004452/2.492, allocations: 95.83 kB / 1.042 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.381/6.873, allocations: 0.5664 GB / 1.608 GB, free: 99.82 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.669e-06/6.873, allocations: 0 / 1.608 GB, free: 99.82 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005294/6.873, allocations: 45.89 kB / 1.608 GB, free: 99.82 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.01437/6.888, allocations: 2.247 MB / 1.61 GB, free: 98.96 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.345e-05/6.888, allocations: 10.19 kB / 1.61 GB, free: 98.96 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001424/6.889, allocations: 187 kB / 1.611 GB, free: 98.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/6.9, allocations: 0.6846 MB / 1.611 GB, free: 98.81 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/6.91, allocations: 1.89 MB / 1.613 GB, free: 98.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004395/6.911, allocations: 135.9 kB / 1.613 GB, free: 98.46 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009158/6.912, allocations: 127.7 kB / 1.613 GB, free: 98.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008953/6.921, allocations: 1.736 MB / 1.615 GB, free: 98.18 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.599e-05/6.921, allocations: 9.25 kB / 1.615 GB, free: 98.18 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005892/6.922, allocations: 50.75 kB / 1.615 GB, free: 98.18 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001382/6.922, allocations: 56.75 kB / 1.615 GB, free: 98.17 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008672/6.93, allocations: 1.537 MB / 1.617 GB, free: 98.16 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.02418/6.955, allocations: 7.53 MB / 1.624 GB, free: 94.78 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007917/6.963, allocations: 1.225 MB / 1.625 GB, free: 94.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002193/6.965, allocations: 1.271 MB / 1.626 GB, free: 93.34 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004336/6.969, allocations: 0.7308 MB / 1.627 GB, free: 93.28 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=79): time 9.528e-06/6.969, allocations: 0 / 1.627 GB, free: 93.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=79): time 0.03834/7.008, allocations: 3.577 MB / 1.631 GB, free: 93.05 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/7.008, allocations: 162 kB / 1.631 GB, free: 92.87 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00436/7.012, allocations: 1.187 MB / 1.632 GB, free: 92.71 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006147/7.013, allocations: 43.98 kB / 1.632 GB, free: 92.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001375/7.014, allocations: 0.7419 MB / 1.633 GB, free: 92.43 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007822/7.015, allocations: 269.9 kB / 1.633 GB, free: 92.27 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/7.015, allocations: 19.47 kB / 1.633 GB, free: 92.27 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002025/7.016, allocations: 339.8 kB / 1.633 GB, free: 91.96 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00372/7.019, allocations: 0.5441 MB / 1.634 GB, free: 91.96 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004195/7.024, allocations: 0.8546 MB / 1.635 GB, free: 91.62 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003716/7.027, allocations: 0.602 MB / 1.635 GB, free: 91.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-05/7.027, allocations: 0 / 1.635 GB, free: 91.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01016/7.038, allocations: 1.69 MB / 1.637 GB, free: 91.47 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00167/7.039, allocations: 2.406 MB / 1.639 GB, free: 89.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-05/7.039, allocations: 3.531 kB / 1.639 GB, free: 89.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00394/7.043, allocations: 0.5754 MB / 1.64 GB, free: 89.01 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003061/7.046, allocations: 246.4 kB / 1.64 GB, free: 89.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004257/7.051, allocations: 1.183 MB / 1.641 GB, free: 88.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004983/7.056, allocations: 241.7 kB / 1.642 GB, free: 88.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005171/7.056, allocations: 59.86 kB / 1.642 GB, free: 88.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/7.056, allocations: 7.328 kB / 1.642 GB, free: 88.43 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0104/7.067, allocations: 1.504 MB / 1.643 GB, free: 88.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.421e-05/7.067, allocations: 7.266 kB / 1.643 GB, free: 88.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003706/7.071, allocations: 0.5722 MB / 1.644 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002658/7.073, allocations: 247 kB / 1.644 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003607/7.077, allocations: 1.175 MB / 1.645 GB, free: 87.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004609/7.082, allocations: 220 kB / 1.645 GB, free: 87.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004514/7.082, allocations: 54.77 kB / 1.645 GB, free: 87.8 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.002316/7.085, allocations: 480.6 kB / 1.646 GB, free: 87.61 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001085/7.086, allocations: 147.9 kB / 1.646 GB, free: 87.54 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009667/7.095, allocations: 1.67 MB / 1.647 GB, free: 87.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.142e-05/7.095, allocations: 12.17 kB / 1.648 GB, free: 87.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/7.095, allocations: 5.188 kB / 1.648 GB, free: 87.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007361/7.103, allocations: 1.452 MB / 1.649 GB, free: 87.24 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/7.117, allocations: 3.333 MB / 1.652 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/7.118, allocations: 3.688 kB / 1.652 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001886/7.119, allocations: 179.4 kB / 1.652 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003106/7.123, allocations: 0.5602 MB / 1.653 GB, free: 86.81 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000184/7.123, allocations: 35.66 kB / 1.653 GB, free: 86.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002975/7.126, allocations: 1.168 MB / 1.654 GB, free: 86.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/7.126, allocations: 3.5 kB / 1.654 GB, free: 86.28 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008544/7.134, allocations: 1.708 MB / 1.656 GB, free: 85.92 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002354/7.137, allocations: 424.1 kB / 1.656 GB, free: 85.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/7.138, allocations: 14.47 kB / 1.656 GB, free: 85.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003773/7.142, allocations: 171.9 kB / 1.656 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/7.142, allocations: 49.27 kB / 1.656 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003731/7.142, allocations: 61.39 kB / 1.656 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003827/7.146, allocations: 0.9239 MB / 1.657 GB, free: 85.62 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.91e-07/7.146, allocations: 0 / 1.657 GB, free: 85.62 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.008906/7.155, allocations: 1.079 MB / 1.658 GB, free: 85.45 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.01528/7.17, allocations: 3.653 MB / 1.662 GB, free: 84.18 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01353/7.184, allocations: 2.073 MB / 1.664 GB, free: 84.14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-05/7.184, allocations: 3.719 kB / 1.664 GB, free: 84.14 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004095/7.188, allocations: 0.6612 MB / 1.665 GB, free: 84.13 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007915/7.196, allocations: 0.7537 MB / 1.665 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05151/7.248, allocations: 13.75 MB / 1.679 GB, free: 76.99 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00233/7.25, allocations: 1.301 MB / 1.68 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.005122/7.255, allocations: 389.3 kB / 1.68 GB, free: 76.23 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002274/7.258, allocations: 0.633 MB / 1.681 GB, free: 76.22 MB / 0.6823 GB Notification: Performance of SimCode: time 2.865e-06/7.258, allocations: 0 / 1.681 GB, free: 76.22 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1695/7.427, allocations: 57.02 MB / 1.737 GB, free: 72.62 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003176/7.428, allocations: 248 kB / 1.737 GB, free: 72.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.008/14.44, allocations: 10.09 kB / 1.737 GB, free: 72.28 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)