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.00238/0.002381, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8184/0.8184, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.778/1.778, allocations: 221.3 MB / 400.4 MB, free: 5.836 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009866/0.000987, allocations: 91.08 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.998e-05/4.004e-05, allocations: 4.094 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2201, allocations: 82.3 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.33/1.55, allocations: 401.5 MB / 1.033 GB, free: 220.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/1.55, allocations: 93.22 kB / 1.033 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.221/3.772, allocations: 0.5645 GB / 1.597 GB, free: 96.65 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.613e-06/3.772, allocations: 0 / 1.597 GB, free: 96.65 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003272/3.772, allocations: 52.94 kB / 1.597 GB, free: 96.64 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.006829/3.779, allocations: 1.959 MB / 1.599 GB, free: 95.75 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.219e-05/3.779, allocations: 16.06 kB / 1.599 GB, free: 95.75 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007007/3.78, allocations: 188.7 kB / 1.599 GB, free: 95.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005436/3.785, allocations: 0.679 MB / 1.6 GB, free: 95.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006186/3.791, allocations: 1.877 MB / 1.602 GB, free: 95.23 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002935/3.792, allocations: 126.6 kB / 1.602 GB, free: 95.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006552/3.792, allocations: 133 kB / 1.602 GB, free: 95.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004908/3.797, allocations: 1.56 MB / 1.604 GB, free: 94.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.412e-05/3.797, allocations: 3.688 kB / 1.604 GB, free: 94.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003451/3.798, allocations: 51.53 kB / 1.604 GB, free: 94.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/3.798, allocations: 57.11 kB / 1.604 GB, free: 94.91 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003062/3.801, allocations: 1.19 MB / 1.605 GB, free: 94.89 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.01402/3.815, allocations: 7.522 MB / 1.612 GB, free: 91.46 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/3.816, allocations: 0.9277 MB / 1.613 GB, free: 91.43 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007336/3.817, allocations: 473.5 kB / 1.614 GB, free: 91.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/3.818, allocations: 1.27 MB / 1.615 GB, free: 90 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009622/3.819, allocations: 0.5777 MB / 1.615 GB, free: 89.95 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=79): time 4.449e-06/3.819, allocations: 3.75 kB / 1.615 GB, free: 89.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=79): time 0.004048/3.824, allocations: 1.211 MB / 1.617 GB, free: 89.81 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/3.824, allocations: 163 kB / 1.617 GB, free: 89.62 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002473/3.826, allocations: 1.166 MB / 1.618 GB, free: 89.45 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001778/3.826, allocations: 50.38 kB / 1.618 GB, free: 89.42 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007457/3.827, allocations: 0.7292 MB / 1.619 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/3.827, allocations: 277.5 kB / 1.619 GB, free: 88.97 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-05/3.827, allocations: 20.23 kB / 1.619 GB, free: 88.97 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.457e-05/3.828, allocations: 341.3 kB / 1.619 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006293/3.828, allocations: 386.3 kB / 1.62 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008952/3.829, allocations: 0.6916 MB / 1.62 GB, free: 88.32 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007638/3.83, allocations: 433.3 kB / 1.621 GB, free: 88.31 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/3.83, allocations: 2.156 kB / 1.621 GB, free: 88.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00282/3.833, allocations: 1.324 MB / 1.622 GB, free: 88.18 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000694/3.833, allocations: 2.401 MB / 1.624 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/3.833, allocations: 7.875 kB / 1.624 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001668/3.835, allocations: 0.5076 MB / 1.625 GB, free: 85.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/3.836, allocations: 248 kB / 1.625 GB, free: 85.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/3.838, allocations: 1.087 MB / 1.626 GB, free: 85.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/3.84, allocations: 251.4 kB / 1.626 GB, free: 85.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/3.84, allocations: 63.58 kB / 1.626 GB, free: 85.13 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/3.84, allocations: 4.906 kB / 1.626 GB, free: 85.13 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002028/3.842, allocations: 1.159 MB / 1.628 GB, free: 85.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/3.842, allocations: 9.25 kB / 1.628 GB, free: 85.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/3.844, allocations: 0.5041 MB / 1.628 GB, free: 85.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/3.845, allocations: 246.1 kB / 1.628 GB, free: 85.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/3.846, allocations: 1.092 MB / 1.629 GB, free: 84.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/3.849, allocations: 225.2 kB / 1.63 GB, free: 84.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/3.849, allocations: 57.44 kB / 1.63 GB, free: 84.52 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 () * 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.0005623/3.849, allocations: 162.6 kB / 1.63 GB, free: 84.41 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007716/3.85, allocations: 146.3 kB / 1.63 GB, free: 84.33 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00354/3.854, allocations: 1.34 MB / 1.631 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/3.854, allocations: 11.28 kB / 1.631 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/3.854, allocations: 0 / 1.631 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001944/3.856, allocations: 1.13 MB / 1.632 GB, free: 84.04 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006313/3.862, allocations: 3.012 MB / 1.635 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/3.862, allocations: 0 / 1.635 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/3.863, allocations: 184.4 kB / 1.635 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001471/3.865, allocations: 0.4939 MB / 1.636 GB, free: 83.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.05e-05/3.865, allocations: 37.8 kB / 1.636 GB, free: 83.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/3.866, allocations: 1.073 MB / 1.637 GB, free: 83.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/3.866, allocations: 2.062 kB / 1.637 GB, free: 83.07 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002331/3.868, allocations: 1.377 MB / 1.638 GB, free: 82.71 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/3.87, allocations: 423.1 kB / 1.639 GB, free: 82.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004968/3.87, allocations: 23.91 kB / 1.639 GB, free: 82.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002129/3.872, allocations: 165.3 kB / 1.639 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/3.872, allocations: 57.84 kB / 1.639 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/3.873, allocations: 53.34 kB / 1.639 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001689/3.874, allocations: 0.8998 MB / 1.64 GB, free: 82.23 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.01e-07/3.874, allocations: 3.719 kB / 1.64 GB, free: 82.23 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004185/3.878, allocations: 1.07 MB / 1.641 GB, free: 81.96 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) * 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.005771/3.884, allocations: 3.29 MB / 1.644 GB, free: 80.29 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003136/3.887, allocations: 1.643 MB / 1.646 GB, free: 79.72 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/3.887, allocations: 3.531 kB / 1.646 GB, free: 79.72 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000866/3.888, allocations: 0.5093 MB / 1.646 GB, free: 79.55 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004027/3.892, allocations: 0.7628 MB / 1.647 GB, free: 79.41 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006654/3.899, allocations: 2.372 MB / 1.649 GB, free: 78.38 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009658/3.9, allocations: 1.301 MB / 1.651 GB, free: 77.64 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002617/3.903, allocations: 491.6 kB / 1.651 GB, free: 77.61 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008293/3.903, allocations: 0.6007 MB / 1.652 GB, free: 77.16 MB / 0.6823 GB Notification: Performance of SimCode: time 1.463e-06/3.903, allocations: 0 / 1.652 GB, free: 77.16 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.119/4.022, allocations: 59.56 MB / 1.71 GB, free: 49.01 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002573/4.023, allocations: 224.1 kB / 1.71 GB, free: 48.78 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.184/9.207, allocations: 0 / 1.71 GB, free: 48.78 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)