Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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_Dynamic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",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.001134/0.001134, allocations: 173.9 kB / 7.648 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.8437/0.8437, allocations: 133.6 MB / 141.6 MB, free: 2.891 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.646/1.646, allocations: 221.5 MB / 395.5 MB, free: 10.84 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.0009803/0.0009799, allocations: 103.3 kB / 478.2 MB, free: 1.348 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.606e-05, allocations: 4 kB / 0.5536 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4997/0.4997, allocations: 82.3 MB / 0.6339 GB, free: 40.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8956/1.395, allocations: 398.1 MB / 1.023 GB, free: 3.168 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/1.396, allocations: 86.39 kB / 1.023 GB, free: 3.125 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.244/5.64, allocations: 1.057 GB / 2.08 GB, free: 39.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.142e-06/5.64, allocations: 0 / 2.08 GB, free: 39.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004091/5.64, allocations: 79.98 kB / 2.08 GB, free: 38.98 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.008103/5.649, allocations: 3.19 MB / 2.083 GB, free: 35.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/5.649, allocations: 8.031 kB / 2.083 GB, free: 35.69 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009832/5.658, allocations: 1.315 MB / 2.085 GB, free: 34.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00783/5.666, allocations: 3.318 MB / 2.088 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002703/5.667, allocations: 163.9 kB / 2.088 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000854/5.667, allocations: 140 kB / 2.088 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004936/5.672, allocations: 2.016 MB / 2.09 GB, free: 28.65 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006265/5.679, allocations: 2.503 MB / 2.093 GB, free: 25.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.181e-05/5.679, allocations: 11.94 kB / 2.093 GB, free: 25.94 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004297/5.679, allocations: 10.14 kB / 2.093 GB, free: 25.94 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.169e-05/5.679, allocations: 67.98 kB / 2.093 GB, free: 25.87 MB / 0.698 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.02679/5.706, allocations: 12.97 MB / 2.105 GB, free: 12.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00287/5.709, allocations: 1.182 MB / 2.107 GB, free: 11.13 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/5.711, allocations: 0.6029 MB / 2.107 GB, free: 10.53 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002338/5.713, allocations: 1.774 MB / 2.109 GB, free: 8.367 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002318/5.715, allocations: 0.9356 MB / 2.11 GB, free: 7.332 MB / 0.698 GB Notification: Performance of pre-optimization done (n=118): time 5.48e-06/5.715, allocations: 0 / 2.11 GB, free: 7.332 MB / 0.698 GB Notification: Performance of matching and sorting (n=122): time 0.04443/5.76, allocations: 10.57 MB / 2.12 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006135/5.761, allocations: 0.9364 MB / 2.121 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005766/5.766, allocations: 1.852 MB / 2.123 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005348/5.767, allocations: 29.7 kB / 2.123 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002276/5.769, allocations: 1.385 MB / 2.124 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008909/5.77, allocations: 410 kB / 2.125 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003208/5.77, allocations: 0 / 2.125 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002703/5.771, allocations: 365.9 kB / 2.125 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00207/5.773, allocations: 0.6053 MB / 2.126 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002845/5.776, allocations: 1.216 MB / 2.127 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006286/5.782, allocations: 0.963 MB / 2.128 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.899e-05/5.782, allocations: 4 kB / 2.128 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.0132/5.795, allocations: 2.408 MB / 2.13 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.5365/6.332, allocations: 5.118 MB / 2.135 GB, free: 65.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.193e-05/6.332, allocations: 12.47 kB / 2.135 GB, free: 65.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00271/6.335, allocations: 0.8924 MB / 2.136 GB, free: 65.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00291/6.338, allocations: 457.8 kB / 2.136 GB, free: 65.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003704/6.341, allocations: 2.31 MB / 2.139 GB, free: 64.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005346/6.347, allocations: 371.2 kB / 2.139 GB, free: 64.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005374/6.347, allocations: 110 kB / 2.139 GB, free: 64.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/6.347, allocations: 3.625 kB / 2.139 GB, free: 64.39 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006228/6.353, allocations: 2.123 MB / 2.141 GB, free: 64.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/6.353, allocations: 10.75 kB / 2.141 GB, free: 64.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001918/6.355, allocations: 0.8913 MB / 2.142 GB, free: 64.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/6.358, allocations: 434.5 kB / 2.142 GB, free: 64.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/6.361, allocations: 2.332 MB / 2.145 GB, free: 63.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004324/6.365, allocations: 313.3 kB / 2.145 GB, free: 63.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002609/6.365, allocations: 109.5 kB / 2.145 GB, free: 63.28 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 24,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.0005984/6.366, allocations: 150.2 kB / 2.145 GB, free: 63.18 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01493/6.381, allocations: 2.463 MB / 2.148 GB, free: 63.08 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001151/6.382, allocations: 245.1 kB / 2.148 GB, free: 63.08 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00714/6.389, allocations: 1.878 MB / 2.15 GB, free: 62.97 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.427e-05/6.389, allocations: 20.41 kB / 2.15 GB, free: 62.97 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/6.389, allocations: 5.656 kB / 2.15 GB, free: 62.97 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005647/6.395, allocations: 1.703 MB / 2.151 GB, free: 62.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/6.407, allocations: 6.265 MB / 2.158 GB, free: 60.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/6.407, allocations: 9.094 kB / 2.158 GB, free: 60.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/6.408, allocations: 272.9 kB / 2.158 GB, free: 60.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/6.41, allocations: 0.7747 MB / 2.159 GB, free: 60.78 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/6.41, allocations: 32.06 kB / 2.159 GB, free: 60.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002464/6.412, allocations: 2.073 MB / 2.161 GB, free: 59.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-05/6.412, allocations: 10.5 kB / 2.161 GB, free: 59.74 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008939/6.421, allocations: 3.424 MB / 2.164 GB, free: 58.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/6.423, allocations: 0.6152 MB / 2.165 GB, free: 58.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004332/6.423, allocations: 15.41 kB / 2.165 GB, free: 58.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003069/6.427, allocations: 261.3 kB / 2.165 GB, free: 58.38 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/6.427, allocations: 114.9 kB / 2.165 GB, free: 58.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/6.427, allocations: 69.58 kB / 2.165 GB, free: 58.37 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002051/6.429, allocations: 1.379 MB / 2.166 GB, free: 58.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.71e-07/6.429, allocations: 2.031 kB / 2.166 GB, free: 58.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005955/6.435, allocations: 1.567 MB / 2.168 GB, free: 58.23 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 70 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.01069/6.446, allocations: 6.94 MB / 2.175 GB, free: 54.81 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00457/6.45, allocations: 2.681 MB / 2.177 GB, free: 54.63 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/6.45, allocations: 8.031 kB / 2.177 GB, free: 54.63 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001395/6.452, allocations: 0.7778 MB / 2.178 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005376/6.457, allocations: 1.074 MB / 2.179 GB, free: 54.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009555/6.467, allocations: 4.153 MB / 2.183 GB, free: 53.44 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/6.468, allocations: 1.774 MB / 2.185 GB, free: 52.71 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004013/6.472, allocations: 0.7069 MB / 2.186 GB, free: 52.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/6.473, allocations: 1.103 MB / 2.187 GB, free: 52.68 MB / 0.7136 GB Notification: Performance of SimCode: time 6.31e-07/6.473, allocations: 0 / 2.187 GB, free: 52.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1373/6.61, allocations: 88.74 MB / 2.273 GB, free: 47.56 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/6.611, allocations: 188.5 kB / 2.273 GB, free: 47.36 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.318/11.93, allocations: 0 / 2.273 GB, free: 47.36 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)