Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="IDEAS_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.006546/0.006546, allocations: 170.6 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7573/0.7573, 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 1.437/1.437, allocations: 223.2 MB / 406.9 MB, free: 3.219 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.001246/0.001246, allocations: 97.28 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004085/0.0004086, allocations: 8 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4735/0.4739, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8946/1.369, allocations: 398.9 MB / 1.039 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/1.369, allocations: 91.33 kB / 1.039 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.866/5.235, allocations: 1.066 GB / 2.105 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.673e-06/5.235, allocations: 0 / 2.105 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003215/5.236, allocations: 83.86 kB / 2.105 GB, free: 13.99 MB / 0.7292 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.01132/5.247, allocations: 3.704 MB / 2.109 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/5.247, allocations: 12.03 kB / 2.109 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001147/5.248, allocations: 324.7 kB / 2.109 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/5.258, allocations: 1.319 MB / 2.11 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008642/5.267, allocations: 3.334 MB / 2.113 GB, free: 5.113 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003176/5.267, allocations: 247.9 kB / 2.114 GB, free: 4.855 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005675/5.268, allocations: 231.9 kB / 2.114 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008715/5.277, allocations: 3.209 MB / 2.117 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-05/5.277, allocations: 7.938 kB / 2.117 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003411/5.277, allocations: 104 kB / 2.117 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.22e-05/5.277, allocations: 67.98 kB / 2.117 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5288/5.806, allocations: 2.875 MB / 2.12 GB, free: 67 MB / 0.7292 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.02442/5.83, allocations: 13.51 MB / 2.133 GB, free: 61.39 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004279/5.835, allocations: 1.582 MB / 2.135 GB, free: 61.16 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001514/5.836, allocations: 1.781 MB / 2.137 GB, free: 59.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003803/5.84, allocations: 1.259 MB / 2.138 GB, free: 58.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=118): time 2.986e-06/5.84, allocations: 0 / 2.138 GB, free: 58.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=122): time 0.06579/5.906, allocations: 16.26 MB / 2.154 GB, free: 52.77 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000234/5.906, allocations: 0.9336 MB / 2.155 GB, free: 51.64 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00435/5.911, allocations: 2.426 MB / 2.157 GB, free: 51.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004999/5.911, allocations: 65.27 kB / 2.157 GB, free: 51.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001256/5.912, allocations: 1.354 MB / 2.158 GB, free: 51.04 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005345/5.913, allocations: 425.3 kB / 2.159 GB, free: 50.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/5.913, allocations: 35.31 kB / 2.159 GB, free: 50.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001181/5.913, allocations: 375.4 kB / 2.159 GB, free: 50.53 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003699/5.917, allocations: 0.9733 MB / 2.16 GB, free: 50.53 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004131/5.921, allocations: 1.611 MB / 2.162 GB, free: 49.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003772/5.925, allocations: 1.114 MB / 2.163 GB, free: 49.79 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/5.925, allocations: 3.625 kB / 2.163 GB, free: 49.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.009966/5.935, allocations: 3.121 MB / 2.166 GB, free: 49.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001059/5.936, allocations: 5.26 MB / 2.171 GB, free: 44.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/5.936, allocations: 12.72 kB / 2.171 GB, free: 44.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003501/5.939, allocations: 1.159 MB / 2.172 GB, free: 44.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002599/5.942, allocations: 456.2 kB / 2.172 GB, free: 44.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003474/5.946, allocations: 2.383 MB / 2.175 GB, free: 42.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005912/5.952, allocations: 428.8 kB / 2.175 GB, free: 42.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004007/5.952, allocations: 108 kB / 2.175 GB, free: 42.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/5.952, allocations: 3.844 kB / 2.175 GB, free: 42.96 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009199/5.961, allocations: 2.796 MB / 2.178 GB, free: 42.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-05/5.961, allocations: 13.56 kB / 2.178 GB, free: 42.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004221/5.965, allocations: 1.147 MB / 2.179 GB, free: 42.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002764/5.968, allocations: 436.5 kB / 2.18 GB, free: 42.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003907/5.972, allocations: 2.377 MB / 2.182 GB, free: 41.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005518/5.978, allocations: 374.1 kB / 2.182 GB, free: 41.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003068/5.978, allocations: 105.7 kB / 2.182 GB, free: 41.78 MB / 0.7292 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 () * Number of clocked 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 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.001949/5.98, allocations: 0.6959 MB / 2.183 GB, free: 41.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007987/5.981, allocations: 286.2 kB / 2.183 GB, free: 41.45 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009642/5.99, allocations: 2.408 MB / 2.186 GB, free: 41.33 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.255e-05/5.991, allocations: 21.97 kB / 2.186 GB, free: 41.33 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/5.991, allocations: 7.25 kB / 2.186 GB, free: 41.33 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008532/5.999, allocations: 2.182 MB / 2.188 GB, free: 41.04 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.017/6.016, allocations: 7.139 MB / 2.195 GB, free: 39.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/6.016, allocations: 3.781 kB / 2.195 GB, free: 39.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/6.018, allocations: 280.8 kB / 2.195 GB, free: 39.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003141/6.021, allocations: 1.016 MB / 2.196 GB, free: 39.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001483/6.021, allocations: 51.98 kB / 2.196 GB, free: 39.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003081/6.024, allocations: 2.156 MB / 2.198 GB, free: 38 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-06/6.024, allocations: 10.72 kB / 2.198 GB, free: 38 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01323/6.038, allocations: 4.351 MB / 2.202 GB, free: 36.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002574/6.04, allocations: 0.6587 MB / 2.203 GB, free: 36.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009293/6.041, allocations: 45.39 kB / 2.203 GB, free: 36.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00409/6.045, allocations: 286.8 kB / 2.203 GB, free: 36.35 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002416/6.045, allocations: 116.3 kB / 2.204 GB, free: 36.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002028/6.046, allocations: 70.47 kB / 2.204 GB, free: 36.34 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003638/6.049, allocations: 1.911 MB / 2.205 GB, free: 36.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.9e-07/6.049, allocations: 0 / 2.205 GB, free: 36.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007207/6.057, allocations: 1.656 MB / 2.207 GB, free: 36.2 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (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) * Number of clocked states: 0 () * 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.01676/6.073, allocations: 7.77 MB / 2.215 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01322/6.087, allocations: 3.679 MB / 2.218 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.105e-05/6.087, allocations: 8.062 kB / 2.218 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003697/6.09, allocations: 1.09 MB / 2.219 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007541/6.098, allocations: 1.476 MB / 2.221 GB, free: 32.42 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04795/6.146, allocations: 27.62 MB / 2.248 GB, free: 16.36 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001208/6.147, allocations: 1.772 MB / 2.249 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004021/6.151, allocations: 0.6574 MB / 2.25 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001718/6.153, allocations: 1.161 MB / 2.251 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of SimCode: time 1.713e-06/6.153, allocations: 0 / 2.251 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1535/6.306, allocations: 106.2 MB / 2.355 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/6.307, allocations: 252.8 kB / 2.355 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.601/11.91, allocations: 0 / 2.355 GB, free: 1.273 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)