Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.839/1.839, allocations: 289.7 MB / 302.2 MB, free: 2.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001633/0.001633, allocations: 179.7 kB / 371.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009584/0.0009584, allocations: 89.41 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.456e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2612, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.643/1.904, allocations: 423.1 MB / 1.393 GB, free: 258.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/1.905, allocations: 90.53 kB / 1.393 GB, free: 258.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.656/3.56, allocations: 0.5473 GB / 1.94 GB, free: 155.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.964e-06/3.56, allocations: 0 / 1.94 GB, free: 155.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000143/3.56, allocations: 50.2 kB / 1.941 GB, free: 155.6 MB / 0.948 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.003718/3.564, allocations: 1.83 MB / 1.942 GB, free: 154.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/3.564, allocations: 11.22 kB / 1.942 GB, free: 154.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002137/3.564, allocations: 181.8 kB / 1.942 GB, free: 154.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004084/3.569, allocations: 0.612 MB / 1.943 GB, free: 153.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003389/3.572, allocations: 1.766 MB / 1.945 GB, free: 152.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/3.572, allocations: 123.3 kB / 1.945 GB, free: 152.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/3.572, allocations: 119.9 kB / 1.945 GB, free: 152.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/3.575, allocations: 1.426 MB / 1.946 GB, free: 151.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/3.575, allocations: 6.531 kB / 1.946 GB, free: 151.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/3.575, allocations: 54.55 kB / 1.946 GB, free: 151.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.151e-05/3.575, allocations: 41.95 kB / 1.947 GB, free: 151.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/3.576, allocations: 1.084 MB / 1.948 GB, free: 150.9 MB / 0.948 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.009402/3.586, allocations: 6.988 MB / 1.954 GB, free: 145 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/3.587, allocations: 0.5799 MB / 1.955 GB, free: 144.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000518/3.588, allocations: 333 kB / 1.955 GB, free: 144.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/3.589, allocations: 1.277 MB / 1.957 GB, free: 143.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/3.589, allocations: 39.06 kB / 1.957 GB, free: 143.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=64): time 3.206e-06/3.589, allocations: 3.438 kB / 1.957 GB, free: 143.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=64): time 0.001888/3.591, allocations: 0.8121 MB / 1.957 GB, free: 142.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/3.591, allocations: 109.9 kB / 1.957 GB, free: 142.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/3.592, allocations: 1.219 MB / 1.959 GB, free: 141.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/3.593, allocations: 44.8 kB / 1.959 GB, free: 141.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004719/3.593, allocations: 0.6922 MB / 1.959 GB, free: 141.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/3.593, allocations: 232.9 kB / 1.96 GB, free: 141.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.304e-05/3.593, allocations: 15.81 kB / 1.96 GB, free: 141.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.704e-05/3.593, allocations: 337.8 kB / 1.96 GB, free: 140.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004653/3.594, allocations: 298.1 kB / 1.96 GB, free: 140.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000656/3.595, allocations: 0.5741 MB / 1.961 GB, free: 140.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005315/3.595, allocations: 365.8 kB / 1.961 GB, free: 139.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/3.595, allocations: 3.406 kB / 1.961 GB, free: 139.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00177/3.597, allocations: 1.113 MB / 1.962 GB, free: 139.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004228/3.597, allocations: 2.497 MB / 1.965 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/3.597, allocations: 11.8 kB / 1.965 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/3.599, allocations: 432.6 kB / 1.965 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/3.6, allocations: 247.6 kB / 1.965 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/3.601, allocations: 1.019 MB / 1.966 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002525/3.604, allocations: 275 kB / 1.967 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/3.604, allocations: 51.55 kB / 1.967 GB, free: 135.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/3.604, allocations: 3.625 kB / 1.967 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001539/3.605, allocations: 0.966 MB / 1.968 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/3.605, allocations: 7.594 kB / 1.968 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/3.607, allocations: 435.7 kB / 1.968 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/3.608, allocations: 245.4 kB / 1.968 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/3.609, allocations: 1.029 MB / 1.969 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/3.611, allocations: 232.9 kB / 1.969 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-05/3.611, allocations: 54.53 kB / 1.97 GB, free: 134 MB / 0.948 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.0002759/3.611, allocations: 155.8 kB / 1.97 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/3.612, allocations: 148.1 kB / 1.97 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/3.613, allocations: 0.9289 MB / 1.971 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/3.613, allocations: 8 kB / 1.971 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/3.613, allocations: 0 / 1.971 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001064/3.615, allocations: 0.8098 MB / 1.972 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004602/3.619, allocations: 3.012 MB / 1.974 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/3.619, allocations: 4 kB / 1.974 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008719/3.62, allocations: 150.4 kB / 1.975 GB, free: 128.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00117/3.621, allocations: 416.9 kB / 1.975 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.675e-05/3.621, allocations: 23.97 kB / 1.975 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/3.623, allocations: 1.098 MB / 1.976 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/3.623, allocations: 7.938 kB / 1.976 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/3.624, allocations: 1.256 MB / 1.977 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007382/3.625, allocations: 379 kB / 1.978 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/3.625, allocations: 23.86 kB / 1.978 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/3.627, allocations: 143.6 kB / 1.978 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/3.627, allocations: 52.25 kB / 1.978 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.109e-05/3.627, allocations: 47.95 kB / 1.978 GB, free: 125.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001277/3.628, allocations: 0.9484 MB / 1.979 GB, free: 124.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.81e-07/3.628, allocations: 4 kB / 1.979 GB, free: 124.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002576/3.631, allocations: 0.9746 MB / 1.98 GB, free: 123.4 MB / 0.948 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.00333/3.634, allocations: 3.511 MB / 1.983 GB, free: 119.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002274/3.637, allocations: 1.318 MB / 1.985 GB, free: 118.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/3.637, allocations: 4 kB / 1.985 GB, free: 118.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001215/3.638, allocations: 474.2 kB / 1.985 GB, free: 118.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003506/3.641, allocations: 0.7791 MB / 1.986 GB, free: 117.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004553/3.646, allocations: 2.173 MB / 1.988 GB, free: 115 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005342/3.647, allocations: 1.241 MB / 1.989 GB, free: 113.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001915/3.648, allocations: 449.5 kB / 1.99 GB, free: 113.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005781/3.649, allocations: 0.5305 MB / 1.99 GB, free: 112.8 MB / 0.948 GB Notification: Performance of SimCode: time 3.41e-07/3.649, allocations: 0 / 1.99 GB, free: 112.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07809/3.727, allocations: 56.22 MB / 2.045 GB, free: 57.19 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/3.727, allocations: 240.1 kB / 2.045 GB, free: 56.88 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.052/7.78, allocations: 6.656 kB / 2.045 GB, free: 56.87 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)