Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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_ScalingFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",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.001235/0.001235, allocations: 178.4 kB / 7.65 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.8191/0.8191, allocations: 133.6 MB / 141.6 MB, free: 2.902 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.895/1.895, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.00099/0.0009899, allocations: 103.3 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.034e-05, allocations: 4 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.506/0.5061, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8755/1.382, allocations: 398 MB / 1.023 GB, free: 3.098 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/1.382, allocations: 89.45 kB / 1.023 GB, free: 3.055 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.979/5.361, allocations: 1.057 GB / 2.08 GB, free: 38.26 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.623e-06/5.361, allocations: 4 kB / 2.08 GB, free: 38.26 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003023/5.361, allocations: 77.23 kB / 2.08 GB, free: 38.19 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.007102/5.368, allocations: 3.19 MB / 2.083 GB, free: 34.94 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/5.368, allocations: 8.031 kB / 2.083 GB, free: 34.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009661/5.378, allocations: 1.322 MB / 2.084 GB, free: 33.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007243/5.385, allocations: 3.326 MB / 2.087 GB, free: 30.24 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/5.386, allocations: 167.9 kB / 2.087 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003935/5.386, allocations: 136 kB / 2.088 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003717/5.39, allocations: 2.024 MB / 2.09 GB, free: 27.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003928/5.394, allocations: 2.497 MB / 2.092 GB, free: 25.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.743e-05/5.394, allocations: 8.594 kB / 2.092 GB, free: 25.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002615/5.394, allocations: 7.953 kB / 2.092 GB, free: 25.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.628e-05/5.394, allocations: 75.98 kB / 2.092 GB, free: 25.12 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.01748/5.412, allocations: 12.8 MB / 2.105 GB, free: 11.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/5.413, allocations: 1.19 MB / 2.106 GB, free: 10.59 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007713/5.414, allocations: 0.6243 MB / 2.106 GB, free: 9.961 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/5.415, allocations: 1.778 MB / 2.108 GB, free: 7.793 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001227/5.416, allocations: 0.9551 MB / 2.109 GB, free: 6.738 MB / 0.698 GB Notification: Performance of pre-optimization done (n=122): time 4.949e-06/5.417, allocations: 2.438 kB / 2.109 GB, free: 6.738 MB / 0.698 GB Notification: Performance of matching and sorting (n=122): time 0.006994/5.424, allocations: 1.84 MB / 2.111 GB, free: 4.879 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000172/5.424, allocations: 0.9283 MB / 2.112 GB, free: 3.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003027/5.427, allocations: 1.853 MB / 2.114 GB, free: 1.859 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004308/5.427, allocations: 33.69 kB / 2.114 GB, free: 1.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009741/5.428, allocations: 1.396 MB / 2.115 GB, free: 416 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004263/5.429, allocations: 419.4 kB / 2.115 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/5.429, allocations: 4 kB / 2.115 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001654/5.429, allocations: 369.9 kB / 2.116 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/5.43, allocations: 0.6249 MB / 2.116 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/5.432, allocations: 1.228 MB / 2.117 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003797/5.435, allocations: 0.9723 MB / 2.118 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/5.436, allocations: 8 kB / 2.118 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.0147/5.45, allocations: 2.931 MB / 2.121 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002049/5.452, allocations: 4.945 MB / 2.126 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/5.452, allocations: 12 kB / 2.126 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/5.454, allocations: 0.704 MB / 2.127 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002843/5.457, allocations: 0.4913 MB / 2.127 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/5.459, allocations: 1.903 MB / 2.129 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005048/5.464, allocations: 465.8 kB / 2.13 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003351/5.465, allocations: 111.7 kB / 2.13 GB, free: 444 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/5.465, allocations: 4 kB / 2.13 GB, free: 440 kB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4767/5.942, allocations: 2.637 MB / 2.132 GB, free: 67.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.02e-05/5.942, allocations: 12.12 kB / 2.132 GB, free: 67.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002229/5.944, allocations: 0.713 MB / 2.133 GB, free: 67.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003633/5.948, allocations: 484.1 kB / 2.133 GB, free: 67.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/5.95, allocations: 1.903 MB / 2.135 GB, free: 66.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004914/5.955, allocations: 380.6 kB / 2.136 GB, free: 66.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004995/5.956, allocations: 106.7 kB / 2.136 GB, free: 66.64 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (170): * Single equations (assignments): 167 * 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 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0008662/5.957, allocations: 158.4 kB / 2.136 GB, free: 66.54 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007843/5.964, allocations: 1.833 MB / 2.138 GB, free: 66.46 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001274/5.966, allocations: 246.8 kB / 2.138 GB, free: 66.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01425/5.98, allocations: 2.429 MB / 2.14 GB, free: 66.29 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-05/5.98, allocations: 15.28 kB / 2.14 GB, free: 66.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/5.98, allocations: 9.312 kB / 2.14 GB, free: 66.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01323/5.993, allocations: 2.258 MB / 2.143 GB, free: 65.99 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02043/6.014, allocations: 6.832 MB / 2.149 GB, free: 64.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-05/6.014, allocations: 7.312 kB / 2.149 GB, free: 64.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/6.016, allocations: 297.8 kB / 2.15 GB, free: 64.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001551/6.017, allocations: 0.6981 MB / 2.15 GB, free: 64.05 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002555/6.018, allocations: 36.25 kB / 2.15 GB, free: 64.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/6.02, allocations: 1.897 MB / 2.152 GB, free: 63 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-05/6.02, allocations: 13.17 kB / 2.152 GB, free: 63 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007164/6.027, allocations: 3.406 MB / 2.155 GB, free: 61.74 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001942/6.029, allocations: 0.6314 MB / 2.156 GB, free: 61.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009964/6.03, allocations: 19.31 kB / 2.156 GB, free: 61.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003731/6.034, allocations: 265.8 kB / 2.156 GB, free: 61.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/6.034, allocations: 115.8 kB / 2.156 GB, free: 61.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001856/6.034, allocations: 68.45 kB / 2.157 GB, free: 61.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003307/6.038, allocations: 1.39 MB / 2.158 GB, free: 61.38 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/6.038, allocations: 0 / 2.158 GB, free: 61.38 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00826/6.046, allocations: 1.827 MB / 2.16 GB, free: 61.27 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * 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 (84): * Single equations (assignments): 78 * 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,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.01202/6.058, allocations: 7.075 MB / 2.167 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005484/6.063, allocations: 2.634 MB / 2.169 GB, free: 57.49 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/6.063, allocations: 4 kB / 2.169 GB, free: 57.49 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001442/6.065, allocations: 0.7635 MB / 2.17 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006499/6.071, allocations: 1.084 MB / 2.171 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/6.084, allocations: 4.297 MB / 2.175 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/6.086, allocations: 1.784 MB / 2.177 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003997/6.09, allocations: 0.7556 MB / 2.178 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/6.091, allocations: 1.094 MB / 2.179 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of SimCode: time 8.22e-07/6.091, allocations: 0 / 2.179 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.133/6.224, allocations: 87.34 MB / 2.264 GB, free: 50.55 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/6.224, allocations: 187.8 kB / 2.264 GB, free: 50.35 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.186/11.41, allocations: 0 / 2.264 GB, free: 50.35 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)