Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6867/0.6867, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008847/0.0008846, allocations: 181.9 kB / 187.3 MB, free: 11.9 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.0008399/0.00084, allocations: 98.8 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001653/0.001653, allocations: 286.3 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.073e-05/3.089e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3435, allocations: 82.75 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6631/1.007, allocations: 394 MB / 1.149 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/1.007, allocations: 89.2 kB / 1.149 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.603/2.61, allocations: 0.5579 GB / 1.707 GB, free: 19.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.242e-06/2.61, allocations: 0 / 1.707 GB, free: 19.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001268/2.61, allocations: 43.94 kB / 1.707 GB, free: 19.46 MB / 0.698 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.003387/2.613, allocations: 1.843 MB / 1.709 GB, free: 17.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/2.613, allocations: 12.02 kB / 1.709 GB, free: 17.54 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001779/2.614, allocations: 177.3 kB / 1.709 GB, free: 17.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003634/2.617, allocations: 0.6105 MB / 1.71 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002683/2.62, allocations: 1.762 MB / 1.711 GB, free: 14.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.864e-05/2.62, allocations: 132 kB / 1.712 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/2.62, allocations: 119.9 kB / 1.712 GB, free: 14.67 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/2.622, allocations: 1.429 MB / 1.713 GB, free: 13.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/2.622, allocations: 8 kB / 1.713 GB, free: 13.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/2.622, allocations: 51.98 kB / 1.713 GB, free: 13.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.255e-05/2.622, allocations: 54.08 kB / 1.713 GB, free: 13.03 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/2.624, allocations: 1.078 MB / 1.714 GB, free: 11.94 MB / 0.698 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.00725/2.631, allocations: 6.991 MB / 1.721 GB, free: 4.617 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008429/2.632, allocations: 0.5842 MB / 1.722 GB, free: 4.027 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003955/2.632, allocations: 323 kB / 1.722 GB, free: 3.711 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009557/2.633, allocations: 1.267 MB / 1.723 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/2.633, allocations: 47.12 kB / 1.723 GB, free: 2.113 MB / 0.698 GB Notification: Performance of pre-optimization done (n=64): time 3.006e-06/2.633, allocations: 3.938 kB / 1.723 GB, free: 2.109 MB / 0.698 GB Notification: Performance of matching and sorting (n=64): time 0.001302/2.635, allocations: 0.8074 MB / 1.724 GB, free: 1.285 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/2.635, allocations: 107.4 kB / 1.724 GB, free: 1.156 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3619/2.996, allocations: 1.218 MB / 1.725 GB, free: 100.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002543/2.997, allocations: 43.64 kB / 1.725 GB, free: 100.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008095/2.998, allocations: 0.7005 MB / 1.726 GB, free: 100.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002408/2.998, allocations: 223.6 kB / 1.726 GB, free: 100.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/2.998, allocations: 16.97 kB / 1.726 GB, free: 100.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.427e-05/2.998, allocations: 339.9 kB / 1.727 GB, free: 100.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006066/2.999, allocations: 295.6 kB / 1.727 GB, free: 100.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000747/2.999, allocations: 0.5849 MB / 1.727 GB, free: 100 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006806/3, allocations: 364.2 kB / 1.728 GB, free: 100 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/3, allocations: 2.219 kB / 1.728 GB, free: 100 MB / 0.698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002185/3.002, allocations: 1.115 MB / 1.729 GB, free: 99.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003905/3.003, allocations: 2.497 MB / 1.731 GB, free: 97.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/3.003, allocations: 8.406 kB / 1.731 GB, free: 97.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/3.004, allocations: 434.4 kB / 1.732 GB, free: 97.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/3.005, allocations: 245.1 kB / 1.732 GB, free: 97.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/3.006, allocations: 1.016 MB / 1.733 GB, free: 96.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002249/3.009, allocations: 277.9 kB / 1.733 GB, free: 96.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/3.009, allocations: 52.62 kB / 1.733 GB, free: 96.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/3.009, allocations: 3.875 kB / 1.733 GB, free: 96.81 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00176/3.011, allocations: 0.9601 MB / 1.734 GB, free: 96.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/3.011, allocations: 8.516 kB / 1.734 GB, free: 96.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/3.012, allocations: 440.6 kB / 1.735 GB, free: 96.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/3.013, allocations: 241.4 kB / 1.735 GB, free: 96.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008977/3.014, allocations: 1.02 MB / 1.736 GB, free: 96.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/3.016, allocations: 235.9 kB / 1.736 GB, free: 96.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/3.016, allocations: 55.33 kB / 1.736 GB, free: 96.22 MB / 0.698 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.0002832/3.016, allocations: 166.5 kB / 1.736 GB, free: 96.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/3.017, allocations: 148.3 kB / 1.736 GB, free: 96.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/3.018, allocations: 0.9288 MB / 1.737 GB, free: 95.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/3.018, allocations: 14.5 kB / 1.737 GB, free: 95.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/3.018, allocations: 1.031 kB / 1.737 GB, free: 95.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001008/3.019, allocations: 0.8027 MB / 1.738 GB, free: 95.78 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004184/3.023, allocations: 3.004 MB / 1.741 GB, free: 94.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/3.023, allocations: 7.859 kB / 1.741 GB, free: 94.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008248/3.024, allocations: 157.1 kB / 1.741 GB, free: 94.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001109/3.025, allocations: 419.1 kB / 1.742 GB, free: 94.85 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.071e-05/3.025, allocations: 25.09 kB / 1.742 GB, free: 94.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/3.027, allocations: 1.086 MB / 1.743 GB, free: 94.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/3.027, allocations: 8.766 kB / 1.743 GB, free: 94.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/3.028, allocations: 1.262 MB / 1.744 GB, free: 93.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005716/3.029, allocations: 385.2 kB / 1.744 GB, free: 93.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/3.029, allocations: 28.06 kB / 1.744 GB, free: 93.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/3.03, allocations: 135.5 kB / 1.745 GB, free: 93.51 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.183e-05/3.031, allocations: 50.38 kB / 1.745 GB, free: 93.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.287e-05/3.031, allocations: 43.64 kB / 1.745 GB, free: 93.51 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001078/3.032, allocations: 0.9505 MB / 1.746 GB, free: 93.39 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.1e-07/3.032, allocations: 1.219 kB / 1.746 GB, free: 93.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002399/3.034, allocations: 0.9775 MB / 1.747 GB, free: 93.35 MB / 0.698 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.002911/3.037, allocations: 3.506 MB / 1.75 GB, free: 91.28 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0022/3.039, allocations: 1.337 MB / 1.751 GB, free: 91.24 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/3.039, allocations: 0 / 1.751 GB, free: 91.24 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/3.04, allocations: 472.6 kB / 1.752 GB, free: 91.23 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003012/3.043, allocations: 0.7728 MB / 1.752 GB, free: 91.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003942/3.047, allocations: 2.174 MB / 1.755 GB, free: 90.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/3.048, allocations: 1.234 MB / 1.756 GB, free: 89.88 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001845/3.05, allocations: 445.9 kB / 1.756 GB, free: 89.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005678/3.05, allocations: 0.5352 MB / 1.757 GB, free: 89.86 MB / 0.698 GB Notification: Performance of SimCode: time 4.81e-07/3.05, allocations: 3.594 kB / 1.757 GB, free: 89.86 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06727/3.118, allocations: 56.28 MB / 1.812 GB, free: 87.67 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/3.118, allocations: 249.2 kB / 1.812 GB, free: 87.34 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.423/6.541, allocations: 0 / 1.812 GB, free: 87.34 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)