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.001016/0.001016, allocations: 177.6 kB / 8.003 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.482/0.482, allocations: 90.91 MB / 99.34 MB, free: 2.172 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 221.5 MB / 343.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008229/0.0008227, allocations: 87.91 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.972e-05/1.967e-05, allocations: 4 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1277, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9484/1.076, allocations: 386.2 MB / 0.9308 GB, free: 94.14 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/1.076, allocations: 91.3 kB / 0.9309 GB, free: 94.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.958/3.035, allocations: 0.5575 GB / 1.488 GB, free: 76.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.314e-06/3.035, allocations: 3.312 kB / 1.488 GB, free: 76.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002269/3.035, allocations: 46.48 kB / 1.488 GB, free: 76.66 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.005256/3.04, allocations: 1.849 MB / 1.49 GB, free: 76.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/3.04, allocations: 9.75 kB / 1.49 GB, free: 76.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0047/3.045, allocations: 0.611 MB / 1.491 GB, free: 75.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004418/3.049, allocations: 1.787 MB / 1.493 GB, free: 75.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/3.049, allocations: 82.25 kB / 1.493 GB, free: 75.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/3.05, allocations: 68.41 kB / 1.493 GB, free: 75.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002062/3.052, allocations: 1.005 MB / 1.494 GB, free: 75.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002355/3.054, allocations: 1.271 MB / 1.495 GB, free: 75.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/3.054, allocations: 1.188 kB / 1.495 GB, free: 75.33 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/3.054, allocations: 3.312 kB / 1.495 GB, free: 75.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.714e-05/3.054, allocations: 49.92 kB / 1.495 GB, free: 75.33 MB / 0.6042 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.01026/3.065, allocations: 6.719 MB / 1.502 GB, free: 72.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009049/3.066, allocations: 0.5562 MB / 1.502 GB, free: 72.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003805/3.066, allocations: 302.6 kB / 1.502 GB, free: 72.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/3.067, allocations: 1.27 MB / 1.504 GB, free: 70.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/3.067, allocations: 44.33 kB / 1.504 GB, free: 70.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=64): time 2.655e-06/3.067, allocations: 0 / 1.504 GB, free: 70.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64): time 0.002935/3.07, allocations: 0.876 MB / 1.505 GB, free: 70.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/3.07, allocations: 110.8 kB / 1.505 GB, free: 70.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/3.072, allocations: 0.9639 MB / 1.506 GB, free: 70.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001/3.072, allocations: 28.53 kB / 1.506 GB, free: 70.37 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006108/3.072, allocations: 0.7186 MB / 1.506 GB, free: 70.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/3.073, allocations: 211.7 kB / 1.507 GB, free: 70.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/3.073, allocations: 2.812 kB / 1.507 GB, free: 70.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001129/3.073, allocations: 337.9 kB / 1.507 GB, free: 69.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005525/3.073, allocations: 285.3 kB / 1.507 GB, free: 69.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006934/3.074, allocations: 0.5604 MB / 1.508 GB, free: 69.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001908/3.076, allocations: 480.5 kB / 1.508 GB, free: 69.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/3.076, allocations: 4.938 kB / 1.508 GB, free: 69.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003151/3.079, allocations: 1.143 MB / 1.509 GB, free: 69.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004511/3.08, allocations: 2.463 MB / 1.512 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/3.08, allocations: 8.938 kB / 1.512 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008863/3.08, allocations: 356.1 kB / 1.512 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/3.082, allocations: 244.8 kB / 1.512 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/3.083, allocations: 1.077 MB / 1.513 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/3.086, allocations: 215.4 kB / 1.513 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/3.086, allocations: 55.78 kB / 1.514 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/3.086, allocations: 3.938 kB / 1.514 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003013/3.089, allocations: 1.003 MB / 1.515 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/3.089, allocations: 5.906 kB / 1.515 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008787/3.09, allocations: 356.2 kB / 1.515 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/3.091, allocations: 245.2 kB / 1.515 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/3.093, allocations: 1.077 MB / 1.516 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/3.095, allocations: 181.9 kB / 1.516 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/3.095, allocations: 52.47 kB / 1.516 GB, free: 65.55 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 () * 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 {5 22} Notification: Performance of prepare postOptimizeDAE: time 0.0003148/3.095, allocations: 122.7 kB / 1.516 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002636/3.098, allocations: 0.8721 MB / 1.517 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/3.098, allocations: 131 kB / 1.517 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002773/3.101, allocations: 0.9761 MB / 1.518 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/3.101, allocations: 6.375 kB / 1.518 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/3.101, allocations: 3.469 kB / 1.518 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00212/3.103, allocations: 0.8875 MB / 1.519 GB, free: 65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005366/3.109, allocations: 2.91 MB / 1.522 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/3.109, allocations: 3.844 kB / 1.522 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008636/3.109, allocations: 155.6 kB / 1.522 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006693/3.11, allocations: 350 kB / 1.523 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.047e-05/3.11, allocations: 24.97 kB / 1.523 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/3.112, allocations: 1.147 MB / 1.524 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/3.112, allocations: 8.125 kB / 1.524 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/3.114, allocations: 1.286 MB / 1.525 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/3.115, allocations: 358.1 kB / 1.525 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/3.115, allocations: 15.09 kB / 1.525 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/3.117, allocations: 112.6 kB / 1.526 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/3.117, allocations: 59.28 kB / 1.526 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.581e-05/3.117, allocations: 45.98 kB / 1.526 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008845/3.118, allocations: 0.7337 MB / 1.526 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/3.118, allocations: 6.156 kB / 1.526 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002878/3.121, allocations: 0.9699 MB / 1.527 GB, free: 62.53 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) * 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 {5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.004202/3.125, allocations: 3.541 MB / 1.531 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002154/3.127, allocations: 1.239 MB / 1.532 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/3.127, allocations: 2.938 kB / 1.532 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001171/3.128, allocations: 449.2 kB / 1.532 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/3.131, allocations: 0.58 MB / 1.533 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005154/3.136, allocations: 2.069 MB / 1.535 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005818/3.137, allocations: 1.237 MB / 1.536 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001784/3.138, allocations: 367.4 kB / 1.537 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005998/3.139, allocations: 0.5241 MB / 1.537 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of SimCode: time 4.91e-07/3.139, allocations: 0 / 1.537 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0657/3.205, allocations: 45.01 MB / 1.581 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001473/3.205, allocations: 193.5 kB / 1.581 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.522/6.727, allocations: 0 / 1.581 GB, free: 56.68 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)