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.001289/0.001289, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7276/0.7276, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.573/1.573, allocations: 221.3 MB / 400.4 MB, free: 5.844 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008879/0.0008879, allocations: 82.05 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.057e-05/5.069e-05, allocations: 4.188 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1618, allocations: 82.3 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.482/1.644, allocations: 397 MB / 1.028 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/1.644, allocations: 93.5 kB / 1.028 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.214/3.858, allocations: 0.5582 GB / 1.586 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.673e-06/3.858, allocations: 0 / 1.586 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002638/3.859, allocations: 41.98 kB / 1.586 GB, free: 103.1 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.005441/3.864, allocations: 1.835 MB / 1.588 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/3.864, allocations: 13.16 kB / 1.588 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005362/3.865, allocations: 177.6 kB / 1.588 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005195/3.87, allocations: 0.6625 MB / 1.589 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004788/3.875, allocations: 1.79 MB / 1.591 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/3.875, allocations: 132.8 kB / 1.591 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003984/3.875, allocations: 115.6 kB / 1.591 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003259/3.879, allocations: 1.455 MB / 1.593 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.077e-05/3.879, allocations: 2.438 kB / 1.593 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/3.879, allocations: 52.25 kB / 1.593 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.03e-05/3.879, allocations: 50.86 kB / 1.593 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/3.881, allocations: 1.113 MB / 1.594 GB, free: 101.4 MB / 0.6823 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.01001/3.891, allocations: 6.801 MB / 1.6 GB, free: 98.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008869/3.892, allocations: 0.5411 MB / 1.601 GB, free: 98.48 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004933/3.893, allocations: 352 kB / 1.601 GB, free: 98.47 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/3.894, allocations: 1.261 MB / 1.602 GB, free: 97.07 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/3.894, allocations: 49.19 kB / 1.602 GB, free: 97.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=64): time 2.595e-06/3.894, allocations: 0 / 1.602 GB, free: 97.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64): time 0.009683/3.903, allocations: 1.44 MB / 1.604 GB, free: 96.89 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/3.904, allocations: 112.8 kB / 1.604 GB, free: 96.77 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002574/3.906, allocations: 1.222 MB / 1.605 GB, free: 96.61 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002823/3.906, allocations: 48.42 kB / 1.605 GB, free: 96.57 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007129/3.907, allocations: 0.7041 MB / 1.606 GB, free: 96.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000352/3.907, allocations: 224.7 kB / 1.606 GB, free: 96.17 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.7e-05/3.908, allocations: 15.44 kB / 1.606 GB, free: 96.17 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.275e-05/3.908, allocations: 344.7 kB / 1.606 GB, free: 95.86 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006624/3.908, allocations: 325.7 kB / 1.607 GB, free: 95.86 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008199/3.909, allocations: 0.6075 MB / 1.607 GB, free: 95.54 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007157/3.91, allocations: 394.7 kB / 1.608 GB, free: 95.53 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/3.91, allocations: 0 / 1.608 GB, free: 95.53 MB / 0.6823 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01015/3.92, allocations: 1.732 MB / 1.609 GB, free: 95.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006232/3.921, allocations: 2.489 MB / 1.612 GB, free: 92.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/3.921, allocations: 6.125 kB / 1.612 GB, free: 92.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001476/3.922, allocations: 428 kB / 1.612 GB, free: 92.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/3.924, allocations: 250.9 kB / 1.613 GB, free: 92.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/3.925, allocations: 0.9074 MB / 1.613 GB, free: 92.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/3.928, allocations: 275.7 kB / 1.614 GB, free: 92.26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/3.928, allocations: 57.94 kB / 1.614 GB, free: 92.26 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/3.928, allocations: 9.203 kB / 1.614 GB, free: 92.25 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009303/3.937, allocations: 1.563 MB / 1.615 GB, free: 92.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-05/3.937, allocations: 7.75 kB / 1.615 GB, free: 92.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/3.939, allocations: 424.4 kB / 1.616 GB, free: 92.22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/3.94, allocations: 255.5 kB / 1.616 GB, free: 92.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000946/3.941, allocations: 0.9029 MB / 1.617 GB, free: 91.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002662/3.944, allocations: 238 kB / 1.617 GB, free: 91.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000227/3.944, allocations: 51.39 kB / 1.617 GB, free: 91.64 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 () * 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.0004368/3.945, allocations: 165.1 kB / 1.617 GB, free: 91.53 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000552/3.945, allocations: 151.6 kB / 1.617 GB, free: 91.46 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/3.947, allocations: 0.9463 MB / 1.618 GB, free: 91.36 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/3.947, allocations: 3.938 kB / 1.618 GB, free: 91.36 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/3.947, allocations: 1.812 kB / 1.618 GB, free: 91.36 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00123/3.949, allocations: 0.8159 MB / 1.619 GB, free: 91.19 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00496/3.954, allocations: 2.702 MB / 1.622 GB, free: 90.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/3.954, allocations: 5.875 kB / 1.622 GB, free: 90.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009312/3.955, allocations: 152.6 kB / 1.622 GB, free: 90.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001148/3.956, allocations: 413 kB / 1.622 GB, free: 90.68 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.443e-05/3.956, allocations: 25.7 kB / 1.622 GB, free: 90.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008106/3.957, allocations: 0.8997 MB / 1.623 GB, free: 90.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/3.957, allocations: 9.781 kB / 1.623 GB, free: 90.15 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/3.959, allocations: 1.722 MB / 1.625 GB, free: 89.39 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009763/3.96, allocations: 397.3 kB / 1.625 GB, free: 89.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002104/3.96, allocations: 20.05 kB / 1.625 GB, free: 89.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/3.962, allocations: 153.2 kB / 1.625 GB, free: 89.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/3.962, allocations: 49.06 kB / 1.625 GB, free: 89.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/3.962, allocations: 47.58 kB / 1.626 GB, free: 89.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001629/3.964, allocations: 0.9698 MB / 1.626 GB, free: 89.08 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/3.964, allocations: 3.625 kB / 1.626 GB, free: 89.08 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003402/3.967, allocations: 0.9791 MB / 1.627 GB, free: 88.93 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) * 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.004368/3.972, allocations: 4.091 MB / 1.631 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002554/3.974, allocations: 1.363 MB / 1.633 GB, free: 86.19 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/3.974, allocations: 0 / 1.633 GB, free: 86.19 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006405/3.975, allocations: 388.9 kB / 1.633 GB, free: 86.05 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00398/3.979, allocations: 0.781 MB / 1.634 GB, free: 85.92 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006692/3.986, allocations: 2.369 MB / 1.636 GB, free: 84.84 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009476/3.987, allocations: 1.244 MB / 1.637 GB, free: 84.08 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00269/3.989, allocations: 463.7 kB / 1.638 GB, free: 83.99 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000806/3.99, allocations: 0.5576 MB / 1.638 GB, free: 83.56 MB / 0.6823 GB Notification: Performance of SimCode: time 1.084e-05/3.99, allocations: 4 kB / 1.638 GB, free: 83.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0988/4.089, allocations: 57.04 MB / 1.694 GB, free: 53.38 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/4.089, allocations: 228.4 kB / 1.694 GB, free: 53.06 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.978/8.067, allocations: 0 / 1.694 GB, free: 53.06 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)