Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="IBPSA_latest_IBPSA_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.001818/0.001818, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5489/0.5489, allocations: 91.98 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 223.1 MB / 354.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 95.25 kB / 427.4 MB, free: 3.957 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003385, allocations: 12 kB / 0.4983 GB, free: 42.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1655, allocations: 72.31 MB / 0.5689 GB, free: 1.852 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/1.192, allocations: 387 MB / 0.9468 GB, free: 80.29 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/1.192, allocations: 95.83 kB / 0.9469 GB, free: 80.24 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.138/3.33, allocations: 0.5619 GB / 1.509 GB, free: 70.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.166e-06/3.33, allocations: 0 / 1.509 GB, free: 70.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001924/3.33, allocations: 44.42 kB / 1.509 GB, free: 70.7 MB / 0.6042 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.006967/3.337, allocations: 2.12 MB / 1.511 GB, free: 69.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.96e-05/3.337, allocations: 9.25 kB / 1.511 GB, free: 69.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004897/3.337, allocations: 178.1 kB / 1.511 GB, free: 69.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005531/3.343, allocations: 0.6117 MB / 1.512 GB, free: 69.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005375/3.348, allocations: 1.797 MB / 1.513 GB, free: 69.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001899/3.349, allocations: 125.5 kB / 1.514 GB, free: 69.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/3.349, allocations: 117.5 kB / 1.514 GB, free: 69.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004503/3.353, allocations: 1.622 MB / 1.515 GB, free: 69.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.263e-05/3.353, allocations: 4.406 kB / 1.515 GB, free: 69.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/3.354, allocations: 48.38 kB / 1.515 GB, free: 69.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.354e-05/3.354, allocations: 55.16 kB / 1.515 GB, free: 69.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004868/3.358, allocations: 1.433 MB / 1.517 GB, free: 69.21 MB / 0.6042 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.01162/3.37, allocations: 6.994 MB / 1.524 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/3.372, allocations: 0.7336 MB / 1.524 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/3.374, allocations: 1.266 MB / 1.526 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/3.374, allocations: 43.44 kB / 1.526 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=64): time 3.517e-06/3.374, allocations: 2 kB / 1.526 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64): time 0.0118/3.385, allocations: 2.389 MB / 1.528 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/3.386, allocations: 111.4 kB / 1.528 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002386/3.388, allocations: 1.262 MB / 1.529 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001504/3.388, allocations: 44.3 kB / 1.529 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006799/3.389, allocations: 0.7114 MB / 1.53 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/3.389, allocations: 220.3 kB / 1.53 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/3.389, allocations: 20.88 kB / 1.53 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.71e-05/3.389, allocations: 339.1 kB / 1.531 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/3.391, allocations: 471.6 kB / 1.531 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/3.393, allocations: 0.7507 MB / 1.532 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/3.395, allocations: 0.5144 MB / 1.532 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/3.395, allocations: 0.75 kB / 1.532 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004854/3.4, allocations: 1.477 MB / 1.534 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005039/3.401, allocations: 2.499 MB / 1.536 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/3.401, allocations: 7.078 kB / 1.536 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001708/3.402, allocations: 453 kB / 1.537 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/3.404, allocations: 253.8 kB / 1.537 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/3.405, allocations: 1.065 MB / 1.538 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/3.408, allocations: 268.1 kB / 1.538 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/3.408, allocations: 54.06 kB / 1.538 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/3.408, allocations: 3.062 kB / 1.538 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004811/3.413, allocations: 1.32 MB / 1.539 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/3.413, allocations: 7.688 kB / 1.54 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001641/3.415, allocations: 467.9 kB / 1.54 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/3.416, allocations: 241.5 kB / 1.54 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/3.418, allocations: 1.069 MB / 1.541 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/3.42, allocations: 240.8 kB / 1.541 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/3.421, allocations: 57.44 kB / 1.542 GB, free: 59.23 MB / 0.6042 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.001212/3.422, allocations: 441.2 kB / 1.542 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004142/3.422, allocations: 149.7 kB / 1.542 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004144/3.426, allocations: 1.224 MB / 1.543 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/3.426, allocations: 10.75 kB / 1.543 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/3.426, allocations: 3.469 kB / 1.543 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003375/3.43, allocations: 1.099 MB / 1.544 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008178/3.438, allocations: 3.3 MB / 1.548 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/3.438, allocations: 2.906 kB / 1.548 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000994/3.439, allocations: 161.2 kB / 1.548 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001407/3.44, allocations: 448.5 kB / 1.548 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.429e-05/3.441, allocations: 24.06 kB / 1.548 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001246/3.442, allocations: 1.067 MB / 1.549 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/3.442, allocations: 9.719 kB / 1.549 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004117/3.446, allocations: 1.549 MB / 1.551 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/3.447, allocations: 384.1 kB / 1.551 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/3.447, allocations: 21.38 kB / 1.551 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/3.449, allocations: 134 kB / 1.551 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/3.449, allocations: 56.33 kB / 1.551 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.593e-05/3.449, allocations: 48.81 kB / 1.551 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001789/3.451, allocations: 0.9932 MB / 1.552 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/3.451, allocations: 0 / 1.552 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003299/3.454, allocations: 0.9777 MB / 1.553 GB, free: 56.14 MB / 0.6042 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.006159/3.46, allocations: 3.808 MB / 1.557 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006092/3.467, allocations: 1.747 MB / 1.559 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/3.467, allocations: 3.688 kB / 1.559 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001702/3.468, allocations: 0.5097 MB / 1.559 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003936/3.472, allocations: 0.7773 MB / 1.56 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02152/3.494, allocations: 13.25 MB / 1.573 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007335/3.495, allocations: 1.236 MB / 1.574 GB, free: 46.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002011/3.497, allocations: 332.4 kB / 1.574 GB, free: 46.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007149/3.497, allocations: 0.5615 MB / 1.575 GB, free: 46.04 MB / 0.6042 GB Notification: Performance of SimCode: time 1.343e-06/3.497, allocations: 0 / 1.575 GB, free: 46.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08662/3.584, allocations: 53.93 MB / 1.628 GB, free: 43.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/3.584, allocations: 265.1 kB / 1.628 GB, free: 42.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.788/7.372, allocations: 0 / 1.628 GB, free: 42.88 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)