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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 100.9 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002263/0.002264, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.43/2.43, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.718/1.718, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006037/0.0006038, allocations: 8 kB / 0.5069 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3285, allocations: 82.31 MB / 0.5873 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.755/1.084, allocations: 58.51 MB / 0.6444 GB, free: 18.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03007/1.114, allocations: 12.14 MB / 0.6563 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005573/1.12, allocations: 63.59 kB / 0.6563 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005292/1.125, allocations: 0.7836 MB / 0.6571 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01351/1.138, allocations: 2.223 MB / 0.6593 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008582/1.147, allocations: 1.882 MB / 0.6611 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008733/1.156, allocations: 2.668 MB / 0.6637 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004324/1.16, allocations: 1.18 MB / 0.6649 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007289/1.168, allocations: 1.262 MB / 0.6661 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005677/1.173, allocations: 0.8154 MB / 0.6669 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001717/1.175, allocations: 67.16 kB / 0.667 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01207/1.187, allocations: 1.173 MB / 0.6681 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002066/1.189, allocations: 304.1 kB / 0.6684 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002749/1.192, allocations: 398.1 kB / 0.6688 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01152/1.204, allocations: 2.433 MB / 0.6711 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.2e-05/1.204, allocations: 0 / 0.6711 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.988e-06/1.204, allocations: 0.7969 kB / 0.6711 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001985/1.204, allocations: 0 / 0.6711 GB, free: 3.043 MB / 0.4981 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.01237/1.217, allocations: 1.911 MB / 0.673 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001131/1.217, allocations: 9.531 kB / 0.673 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001561/1.218, allocations: 178.2 kB / 0.6732 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01192/1.23, allocations: 0.7345 MB / 0.6739 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008127/1.238, allocations: 1.44 MB / 0.6753 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004847/1.239, allocations: 136.6 kB / 0.6754 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009727/1.24, allocations: 130 kB / 0.6756 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01237/1.252, allocations: 1.637 MB / 0.6772 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001758/1.253, allocations: 2.688 kB / 0.6772 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001107/1.254, allocations: 49.72 kB / 0.6772 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002751/1.254, allocations: 33.3 kB / 0.6773 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01329/1.267, allocations: 1.488 MB / 0.6787 GB, free: 15.27 MB / 0.5137 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.03351/1.301, allocations: 7.061 MB / 0.6856 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004376/1.306, allocations: 0.7532 MB / 0.6863 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002638/1.308, allocations: 1.268 MB / 0.6876 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001073/1.308, allocations: 44.97 kB / 0.6876 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 6.422e-06/1.308, allocations: 0 / 0.6876 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.03539/1.344, allocations: 3.093 MB / 0.6906 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002026/1.344, allocations: 117.4 kB / 0.6907 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006567/1.351, allocations: 1.405 MB / 0.6921 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006024/1.351, allocations: 45.11 kB / 0.6922 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001497/1.353, allocations: 0.6905 MB / 0.6928 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008237/1.354, allocations: 243.1 kB / 0.6931 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/1.354, allocations: 27.41 kB / 0.6931 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0003174/1.354, allocations: 340 kB / 0.6934 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003968/1.358, allocations: 0.5139 MB / 0.6939 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004524/1.363, allocations: 0.783 MB / 0.6947 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004206/1.367, allocations: 0.5591 MB / 0.6952 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.987e-05/1.367, allocations: 2.75 kB / 0.6952 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.02345/1.391, allocations: 2.158 MB / 0.6973 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.002488/1.393, allocations: 2.491 MB / 0.6998 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.543e-05/1.393, allocations: 6.969 kB / 0.6998 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00407/1.397, allocations: 496.3 kB / 0.7003 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003119/1.401, allocations: 274.9 kB / 0.7005 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003664/1.404, allocations: 0.9949 MB / 0.7015 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005462/1.41, allocations: 273.5 kB / 0.7018 GB, free: 436 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004112/1.41, allocations: 53.52 kB / 0.7018 GB, free: 416 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/1.41, allocations: 3.25 kB / 0.7018 GB, free: 416 kB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02291/1.433, allocations: 2.006 MB / 0.7038 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/1.434, allocations: 5.906 kB / 0.7038 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0046/1.438, allocations: 484.5 kB / 0.7042 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003435/1.442, allocations: 265.2 kB / 0.7045 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003909/1.446, allocations: 1.001 MB / 0.7055 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005161/1.451, allocations: 247.9 kB / 0.7057 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005899/1.452, allocations: 61.22 kB / 0.7058 GB, free: 14.22 MB / 0.5294 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 (94): * Single equations (assignments): 93 * 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.00264/1.454, allocations: 450 kB / 0.7062 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0015/1.456, allocations: 149 kB / 0.7063 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009617/1.465, allocations: 1.335 MB / 0.7076 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.928e-05/1.465, allocations: 6.875 kB / 0.7076 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/1.466, allocations: 0 / 0.7076 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007334/1.473, allocations: 1.148 MB / 0.7088 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01777/1.491, allocations: 3.094 MB / 0.7118 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.567e-05/1.491, allocations: 3.375 kB / 0.7118 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00198/1.493, allocations: 154.3 kB / 0.7119 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003503/1.496, allocations: 485.7 kB / 0.7124 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002483/1.497, allocations: 28.69 kB / 0.7124 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003239/1.5, allocations: 0.991 MB / 0.7134 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.139e-05/1.5, allocations: 10.7 kB / 0.7134 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/1.51, allocations: 2.25 MB / 0.7156 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002569/1.513, allocations: 406.9 kB / 0.716 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00113/1.514, allocations: 23.98 kB / 0.716 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003954/1.518, allocations: 163.3 kB / 0.7162 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002313/1.518, allocations: 52.31 kB / 0.7162 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002936/1.519, allocations: 55.89 kB / 0.7163 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004062/1.523, allocations: 1.005 MB / 0.7172 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.476e-06/1.523, allocations: 7.938 kB / 0.7173 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00759/1.53, allocations: 0.9006 MB / 0.7181 GB, free: 4.609 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (48): * Single equations (assignments): 45 * 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.01571/1.546, allocations: 4.392 MB / 0.7224 GB, free: 80 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01299/1.559, allocations: 1.857 MB / 0.7242 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.451e-05/1.559, allocations: 0 / 0.7242 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003589/1.563, allocations: 0.5337 MB / 0.7248 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008816/1.572, allocations: 0.7813 MB / 0.7255 GB, free: 12.92 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01943/1.591, allocations: 8.21 MB / 0.7335 GB, free: 4.473 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001553/1.593, allocations: 1.238 MB / 0.7347 GB, free: 3.207 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004095/1.597, allocations: 372.8 kB / 0.7351 GB, free: 2.848 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001739/1.599, allocations: 0.5851 MB / 0.7357 GB, free: 2.266 MB / 0.545 GB Notification: Performance of SimCode: time 2.043e-06/1.599, allocations: 0 / 0.7357 GB, free: 2.266 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.462/5.061, allocations: 49.66 MB / 0.7842 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004274/5.061, allocations: 266.6 kB / 0.7844 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.818/11.88, allocations: 4 kB / 0.7844 GB, free: 0.8477 MB / 0.5919 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) Environment - environmentSimulation: