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.00123/0.00123, allocations: 172.9 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9521/0.9521, allocations: 133.6 MB / 141.6 MB, free: 2.859 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.85/1.85, allocations: 221.5 MB / 395.5 MB, free: 10.76 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.00111/0.001111, allocations: 99.3 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.224e-05/2.226e-05, allocations: 4 kB / 0.5535 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7275/0.7276, allocations: 82.3 MB / 0.6339 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9973/1.725, allocations: 400.9 MB / 1.025 GB, free: 0.9336 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/1.725, allocations: 93.75 kB / 1.025 GB, free: 0.8867 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.099/3.824, allocations: 0.5617 GB / 1.587 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.543e-06/3.824, allocations: 4 kB / 1.587 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001665/3.824, allocations: 47.98 kB / 1.587 GB, free: 10.86 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.004778/3.829, allocations: 1.962 MB / 1.589 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/3.829, allocations: 8.031 kB / 1.589 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005312/3.835, allocations: 0.684 MB / 1.59 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004804/3.839, allocations: 1.881 MB / 1.592 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/3.84, allocations: 88.11 kB / 1.592 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/3.84, allocations: 72 kB / 1.592 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001988/3.842, allocations: 1.114 MB / 1.593 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/3.844, allocations: 1.385 MB / 1.594 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/3.844, allocations: 3.938 kB / 1.594 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/3.844, allocations: 4 kB / 1.594 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.925e-05/3.844, allocations: 54.28 kB / 1.594 GB, free: 3.379 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.596/4.44, allocations: 7.283 MB / 1.601 GB, free: 93.72 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002021/4.442, allocations: 0.8998 MB / 1.602 GB, free: 93.69 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000991/4.443, allocations: 451.4 kB / 1.603 GB, free: 93.68 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001547/4.445, allocations: 1.273 MB / 1.604 GB, free: 92.27 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001396/4.446, allocations: 0.5478 MB / 1.604 GB, free: 92.21 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=79): time 6.502e-06/4.446, allocations: 2.406 kB / 1.604 GB, free: 92.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=79): time 0.006517/4.453, allocations: 1.281 MB / 1.606 GB, free: 92.14 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.574e-05/4.453, allocations: 166.7 kB / 1.606 GB, free: 91.96 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/4.455, allocations: 0.9978 MB / 1.607 GB, free: 91.81 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002035/4.456, allocations: 33.08 kB / 1.607 GB, free: 91.78 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007451/4.456, allocations: 0.7427 MB / 1.608 GB, free: 91.54 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/4.457, allocations: 261.9 kB / 1.608 GB, free: 91.41 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/4.457, allocations: 0 / 1.608 GB, free: 91.41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001026/4.457, allocations: 342.8 kB / 1.608 GB, free: 91.11 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006414/4.457, allocations: 374.1 kB / 1.609 GB, free: 91.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007275/4.458, allocations: 0.6584 MB / 1.609 GB, free: 90.78 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001988/4.46, allocations: 0.5426 MB / 1.61 GB, free: 90.77 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/4.46, allocations: 2.516 kB / 1.61 GB, free: 90.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.003493/4.464, allocations: 1.373 MB / 1.611 GB, free: 90.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005481/4.464, allocations: 2.381 MB / 1.613 GB, free: 88.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/4.464, allocations: 13.73 kB / 1.613 GB, free: 88.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009589/4.465, allocations: 439.6 kB / 1.614 GB, free: 88.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/4.467, allocations: 242.3 kB / 1.614 GB, free: 88.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/4.468, allocations: 1.155 MB / 1.615 GB, free: 87.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/4.47, allocations: 217.3 kB / 1.615 GB, free: 87.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/4.471, allocations: 57.08 kB / 1.615 GB, free: 87.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/4.471, allocations: 3.938 kB / 1.615 GB, free: 87.62 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002953/4.474, allocations: 1.186 MB / 1.617 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/4.474, allocations: 3.844 kB / 1.617 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008817/4.475, allocations: 433.8 kB / 1.617 GB, free: 87.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/4.476, allocations: 242.5 kB / 1.617 GB, free: 87.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/4.477, allocations: 1.15 MB / 1.618 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/4.479, allocations: 193.4 kB / 1.619 GB, free: 87.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/4.48, allocations: 56.62 kB / 1.619 GB, free: 87.03 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.0004159/4.48, allocations: 134.5 kB / 1.619 GB, free: 86.93 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004902/4.485, allocations: 1.271 MB / 1.62 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004101/4.485, allocations: 135.8 kB / 1.62 GB, free: 86.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002829/4.488, allocations: 1.298 MB / 1.621 GB, free: 86.63 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/4.488, allocations: 7.812 kB / 1.621 GB, free: 86.63 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/4.488, allocations: 1.859 kB / 1.621 GB, free: 86.63 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001895/4.49, allocations: 1.102 MB / 1.622 GB, free: 86.44 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006453/4.497, allocations: 2.802 MB / 1.625 GB, free: 86.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/4.497, allocations: 1.25 kB / 1.625 GB, free: 86.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/4.498, allocations: 184.3 kB / 1.625 GB, free: 86.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009084/4.499, allocations: 434.8 kB / 1.626 GB, free: 86.07 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.758e-05/4.499, allocations: 25.19 kB / 1.626 GB, free: 86.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/4.5, allocations: 1.141 MB / 1.627 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/4.5, allocations: 7.891 kB / 1.627 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002782/4.503, allocations: 1.34 MB / 1.628 GB, free: 85.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009479/4.504, allocations: 408.3 kB / 1.629 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/4.504, allocations: 6.656 kB / 1.629 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/4.506, allocations: 157.8 kB / 1.629 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/4.506, allocations: 50.34 kB / 1.629 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/4.506, allocations: 58.41 kB / 1.629 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001512/4.508, allocations: 0.7559 MB / 1.63 GB, free: 84.93 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.2e-07/4.508, allocations: 1.25 kB / 1.63 GB, free: 84.93 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003956/4.512, allocations: 1.042 MB / 1.631 GB, free: 84.87 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.005259/4.517, allocations: 3.206 MB / 1.634 GB, free: 83.69 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00287/4.52, allocations: 1.566 MB / 1.635 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/4.52, allocations: 3.781 kB / 1.635 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008191/4.521, allocations: 497.4 kB / 1.636 GB, free: 83.64 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003687/4.524, allocations: 0.6659 MB / 1.636 GB, free: 83.64 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007085/4.531, allocations: 2.276 MB / 1.639 GB, free: 83.03 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009249/4.532, allocations: 1.301 MB / 1.64 GB, free: 82.31 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002612/4.535, allocations: 455.2 kB / 1.64 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008734/4.536, allocations: 0.5983 MB / 1.641 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of SimCode: time 1.713e-06/4.536, allocations: 3.281 kB / 1.641 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/4.638, allocations: 51.19 MB / 1.691 GB, free: 80.21 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/4.639, allocations: 163.2 kB / 1.691 GB, free: 80.03 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.798/9.436, allocations: 2.531 kB / 1.691 GB, free: 80.03 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)