Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",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.01059/0.01059, allocations: 169.5 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 1.362/1.362, 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.481/2.481, 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.001619/0.001619, allocations: 100.5 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006417/0.0006419, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7038/0.7045, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.47/2.174, allocations: 397 MB / 1.037 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006237/2.175, allocations: 98.89 kB / 1.037 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.973/6.148, allocations: 0.5599 GB / 1.597 GB, free: 97.13 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.248e-06/6.148, allocations: 0 / 1.597 GB, free: 97.13 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002891/6.148, allocations: 40.12 kB / 1.597 GB, free: 97.13 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.009861/6.158, allocations: 2.107 MB / 1.599 GB, free: 96.39 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 0.000102/6.158, allocations: 17.53 kB / 1.599 GB, free: 96.39 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001036/6.159, allocations: 175.2 kB / 1.6 GB, free: 96.34 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008282/6.168, allocations: 0.667 MB / 1.6 GB, free: 96.25 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/6.178, allocations: 1.8 MB / 1.602 GB, free: 95.95 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003427/6.178, allocations: 131.7 kB / 1.602 GB, free: 95.91 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000733/6.179, allocations: 121.2 kB / 1.602 GB, free: 95.91 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006691/6.186, allocations: 1.63 MB / 1.604 GB, free: 95.65 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.584e-05/6.186, allocations: 7.516 kB / 1.604 GB, free: 95.65 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002174/6.186, allocations: 45.66 kB / 1.604 GB, free: 95.65 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/6.186, allocations: 52.64 kB / 1.604 GB, free: 95.65 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006843/6.193, allocations: 1.463 MB / 1.605 GB, free: 95.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.01918/6.212, allocations: 6.793 MB / 1.612 GB, free: 92.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003068/6.215, allocations: 0.6889 MB / 1.613 GB, free: 92.78 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001781/6.217, allocations: 1.269 MB / 1.614 GB, free: 91.37 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.967e-05/6.217, allocations: 45.44 kB / 1.614 GB, free: 91.33 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=64): time 4.979e-06/6.217, allocations: 3.875 kB / 1.614 GB, free: 91.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64): time 0.03986/6.257, allocations: 3.817 MB / 1.618 GB, free: 91.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/6.257, allocations: 117.1 kB / 1.618 GB, free: 90.98 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004155/6.261, allocations: 1.262 MB / 1.619 GB, free: 90.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004317/6.262, allocations: 45.52 kB / 1.619 GB, free: 90.79 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001041/6.263, allocations: 0.7048 MB / 1.62 GB, free: 90.58 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004494/6.263, allocations: 223.9 kB / 1.62 GB, free: 90.46 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.657e-05/6.264, allocations: 15.66 kB / 1.62 GB, free: 90.46 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000148/6.264, allocations: 339.1 kB / 1.62 GB, free: 90.15 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002705/6.266, allocations: 0.4927 MB / 1.621 GB, free: 90.15 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003025/6.27, allocations: 0.7642 MB / 1.621 GB, free: 89.85 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0028/6.272, allocations: 0.5479 MB / 1.622 GB, free: 89.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/6.272, allocations: 3.125 kB / 1.622 GB, free: 89.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01785/6.29, allocations: 2.093 MB / 1.624 GB, free: 89.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001046/6.291, allocations: 2.49 MB / 1.626 GB, free: 87.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/6.291, allocations: 8.781 kB / 1.626 GB, free: 87.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002574/6.294, allocations: 494 kB / 1.627 GB, free: 87.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002299/6.296, allocations: 252.5 kB / 1.627 GB, free: 87.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/6.299, allocations: 1.003 MB / 1.628 GB, free: 86.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004797/6.304, allocations: 280.3 kB / 1.628 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004304/6.304, allocations: 54.83 kB / 1.628 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/6.304, allocations: 2.781 kB / 1.628 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01757/6.322, allocations: 1.941 MB / 1.63 GB, free: 86.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.208e-05/6.322, allocations: 7.125 kB / 1.63 GB, free: 86.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002601/6.324, allocations: 490.9 kB / 1.631 GB, free: 86.53 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/6.327, allocations: 251.2 kB / 1.631 GB, free: 86.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/6.329, allocations: 0.9969 MB / 1.632 GB, free: 86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004476/6.334, allocations: 235.8 kB / 1.632 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003777/6.334, allocations: 54.41 kB / 1.632 GB, free: 85.95 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($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 (86): * Single equations (assignments): 85 * 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 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.001944/6.336, allocations: 450.9 kB / 1.633 GB, free: 85.76 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008906/6.337, allocations: 142 kB / 1.633 GB, free: 85.69 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00641/6.343, allocations: 1.251 MB / 1.634 GB, free: 85.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.661e-05/6.343, allocations: 7.312 kB / 1.634 GB, free: 85.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/6.344, allocations: 0 / 1.634 GB, free: 85.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005061/6.349, allocations: 1.126 MB / 1.635 GB, free: 85.42 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/6.361, allocations: 3.006 MB / 1.638 GB, free: 84.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.192e-05/6.361, allocations: 6.969 kB / 1.638 GB, free: 84.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/6.362, allocations: 157.4 kB / 1.638 GB, free: 84.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002327/6.365, allocations: 476.5 kB / 1.639 GB, free: 84.91 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/6.365, allocations: 29.17 kB / 1.639 GB, free: 84.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/6.367, allocations: 0.9913 MB / 1.64 GB, free: 84.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.869e-06/6.367, allocations: 4.719 kB / 1.64 GB, free: 84.38 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008802/6.376, allocations: 2.171 MB / 1.642 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001966/6.378, allocations: 403.6 kB / 1.642 GB, free: 83.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004906/6.378, allocations: 23.38 kB / 1.642 GB, free: 83.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002731/6.381, allocations: 138.5 kB / 1.642 GB, free: 83.44 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/6.381, allocations: 55.66 kB / 1.643 GB, free: 83.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001576/6.381, allocations: 49 kB / 1.643 GB, free: 83.43 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0029/6.384, allocations: 1.011 MB / 1.644 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.21e-07/6.384, allocations: 2.75 kB / 1.644 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005824/6.39, allocations: 0.9775 MB / 1.645 GB, free: 83.17 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0118/6.402, allocations: 4.551 MB / 1.649 GB, free: 80.81 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009455/6.411, allocations: 1.778 MB / 1.651 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2e-05/6.412, allocations: 2.312 kB / 1.651 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002619/6.414, allocations: 0.5176 MB / 1.651 GB, free: 80.78 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006253/6.42, allocations: 0.7771 MB / 1.652 GB, free: 80.77 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04203/6.463, allocations: 13.65 MB / 1.665 GB, free: 73.54 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/6.464, allocations: 1.233 MB / 1.666 GB, free: 72.83 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003571/6.467, allocations: 377.3 kB / 1.667 GB, free: 72.79 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001557/6.469, allocations: 0.5869 MB / 1.667 GB, free: 72.78 MB / 0.6823 GB Notification: Performance of SimCode: time 1.733e-06/6.469, allocations: 0 / 1.667 GB, free: 72.78 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1648/6.634, allocations: 54.79 MB / 1.721 GB, free: 69.79 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003107/6.634, allocations: 264 kB / 1.721 GB, free: 69.43 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.625/13.26, allocations: 0 / 1.721 GB, free: 69.43 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)