Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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.ReciprocatingWaterToWater_Static,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",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.01389/0.01388, allocations: 171.1 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 1.217/1.217, 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 2.445/2.445, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.001408/0.001408, allocations: 105.9 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006296/0.0006297, allocations: 8 kB / 0.5691 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7252/0.7259, allocations: 82.31 MB / 0.6495 GB, free: 36.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.493/2.219, allocations: 396.7 MB / 1.037 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004137/2.22, allocations: 97.89 kB / 1.037 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.848/6.068, allocations: 0.5598 GB / 1.597 GB, free: 95.95 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.915e-06/6.068, allocations: 0 / 1.597 GB, free: 95.95 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002251/6.068, allocations: 41.31 kB / 1.597 GB, free: 95.95 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.008019/6.076, allocations: 2.116 MB / 1.599 GB, free: 95.22 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.7e-05/6.076, allocations: 14.38 kB / 1.599 GB, free: 95.22 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006435/6.077, allocations: 180.5 kB / 1.599 GB, free: 95.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006413/6.084, allocations: 0.6111 MB / 1.6 GB, free: 95.09 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006208/6.09, allocations: 1.792 MB / 1.601 GB, free: 94.78 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002879/6.09, allocations: 126.3 kB / 1.602 GB, free: 94.74 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000435/6.091, allocations: 115.5 kB / 1.602 GB, free: 94.74 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005924/6.096, allocations: 1.626 MB / 1.603 GB, free: 94.47 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.902e-05/6.097, allocations: 9.656 kB / 1.603 GB, free: 94.47 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/6.097, allocations: 50.75 kB / 1.603 GB, free: 94.47 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.823e-05/6.097, allocations: 46.83 kB / 1.603 GB, free: 94.47 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00613/6.103, allocations: 1.439 MB / 1.605 GB, free: 94.45 MB / 0.6823 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.01473/6.118, allocations: 6.996 MB / 1.612 GB, free: 91.32 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002828/6.121, allocations: 0.722 MB / 1.612 GB, free: 91.29 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001469/6.122, allocations: 1.266 MB / 1.614 GB, free: 89.89 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/6.122, allocations: 44.94 kB / 1.614 GB, free: 89.85 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=64): time 5.58e-06/6.122, allocations: 0 / 1.614 GB, free: 89.85 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64): time 0.0154/6.138, allocations: 2.385 MB / 1.616 GB, free: 89.62 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/6.138, allocations: 113.4 kB / 1.616 GB, free: 89.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003316/6.141, allocations: 1.271 MB / 1.617 GB, free: 89.34 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001993/6.141, allocations: 42.58 kB / 1.617 GB, free: 89.31 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008769/6.142, allocations: 0.7057 MB / 1.618 GB, free: 89.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000323/6.143, allocations: 225.4 kB / 1.618 GB, free: 88.96 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.012e-05/6.143, allocations: 16.66 kB / 1.618 GB, free: 88.96 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001222/6.143, allocations: 337.7 kB / 1.619 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002417/6.145, allocations: 477.1 kB / 1.619 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002624/6.148, allocations: 0.745 MB / 1.62 GB, free: 88.33 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002452/6.15, allocations: 0.5201 MB / 1.62 GB, free: 88.32 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/6.15, allocations: 2.438 kB / 1.62 GB, free: 88.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.006672/6.157, allocations: 1.487 MB / 1.622 GB, free: 88.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008586/6.158, allocations: 2.487 MB / 1.624 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/6.158, allocations: 13.09 kB / 1.624 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002165/6.16, allocations: 464.3 kB / 1.625 GB, free: 85.65 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/6.162, allocations: 246.8 kB / 1.625 GB, free: 85.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/6.164, allocations: 1.072 MB / 1.626 GB, free: 85.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003875/6.168, allocations: 262.7 kB / 1.626 GB, free: 85.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/6.168, allocations: 57.08 kB / 1.626 GB, free: 85.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/6.168, allocations: 5.531 kB / 1.626 GB, free: 85.05 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005994/6.174, allocations: 1.32 MB / 1.627 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/6.174, allocations: 3.594 kB / 1.627 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001935/6.176, allocations: 457.7 kB / 1.628 GB, free: 85.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001855/6.178, allocations: 246.7 kB / 1.628 GB, free: 85.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/6.18, allocations: 1.071 MB / 1.629 GB, free: 84.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003534/6.184, allocations: 233.3 kB / 1.629 GB, free: 84.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002215/6.184, allocations: 52.89 kB / 1.629 GB, free: 84.44 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.001626/6.186, allocations: 451.2 kB / 1.63 GB, free: 84.24 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007087/6.186, allocations: 146 kB / 1.63 GB, free: 84.17 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005365/6.192, allocations: 1.231 MB / 1.631 GB, free: 84.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/6.192, allocations: 13.95 kB / 1.631 GB, free: 84.08 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/6.192, allocations: 0 / 1.631 GB, free: 84.08 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004595/6.196, allocations: 1.098 MB / 1.632 GB, free: 83.91 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/6.208, allocations: 3.304 MB / 1.636 GB, free: 82.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/6.208, allocations: 6.594 kB / 1.636 GB, free: 82.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001363/6.21, allocations: 156.2 kB / 1.636 GB, free: 82.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002129/6.212, allocations: 444.4 kB / 1.636 GB, free: 82.96 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/6.212, allocations: 26.61 kB / 1.636 GB, free: 82.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/6.214, allocations: 1.063 MB / 1.637 GB, free: 82.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/6.214, allocations: 6.125 kB / 1.637 GB, free: 82.42 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006079/6.22, allocations: 1.552 MB / 1.639 GB, free: 81.79 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001626/6.222, allocations: 388.5 kB / 1.639 GB, free: 81.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004157/6.222, allocations: 18.38 kB / 1.639 GB, free: 81.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002638/6.225, allocations: 138.4 kB / 1.639 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/6.225, allocations: 55.5 kB / 1.639 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/6.225, allocations: 46.11 kB / 1.639 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002695/6.228, allocations: 0.9939 MB / 1.64 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.31e-07/6.228, allocations: 3.25 kB / 1.64 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005611/6.234, allocations: 0.9715 MB / 1.641 GB, free: 81.35 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * 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 (40): * Single equations (assignments): 37 * 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 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.008788/6.242, allocations: 3.812 MB / 1.645 GB, free: 79.18 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008921/6.251, allocations: 1.742 MB / 1.647 GB, free: 79.16 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-05/6.251, allocations: 2.25 kB / 1.647 GB, free: 79.16 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002532/6.254, allocations: 0.5152 MB / 1.647 GB, free: 79.15 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006055/6.26, allocations: 0.7724 MB / 1.648 GB, free: 79.14 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0364/6.296, allocations: 13.26 MB / 1.661 GB, free: 71.97 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/6.298, allocations: 1.233 MB / 1.662 GB, free: 71.25 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003432/6.301, allocations: 338.6 kB / 1.662 GB, free: 71.23 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001472/6.303, allocations: 0.5673 MB / 1.663 GB, free: 71.23 MB / 0.6823 GB Notification: Performance of SimCode: time 2.224e-06/6.303, allocations: 0 / 1.663 GB, free: 71.23 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1398/6.442, allocations: 53.92 MB / 1.716 GB, free: 68.51 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000283/6.443, allocations: 261.5 kB / 1.716 GB, free: 68.15 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.717/12.16, allocations: 4 kB / 1.716 GB, free: 68.15 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)