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.8701/0.8701, allocations: 143.3 MB / 158.3 MB, free: 5.805 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 181 kB / 191.5 MB, free: 5.766 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.559/1.559, allocations: 223.2 MB / 447.7 MB, free: 4.824 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.0009834/0.0009834, allocations: 92.3 kB / 0.5187 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001994/0.001994, allocations: 275.2 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004579/0.0004581, allocations: 14.83 kB / 0.6929 GB, free: 59.63 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1859, allocations: 82.81 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.34/1.526, allocations: 394.1 MB / 1.159 GB, free: 266.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/1.526, allocations: 94.06 kB / 1.159 GB, free: 266.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.547/3.073, allocations: 0.5596 GB / 1.718 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.483e-06/3.073, allocations: 0 / 1.718 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000145/3.073, allocations: 43.98 kB / 1.718 GB, free: 8.273 MB / 0.7136 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.005008/3.079, allocations: 2.115 MB / 1.72 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/3.079, allocations: 12.02 kB / 1.72 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000354/3.079, allocations: 177.3 kB / 1.721 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004492/3.083, allocations: 0.6183 MB / 1.721 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004172/3.088, allocations: 1.774 MB / 1.723 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/3.088, allocations: 127.9 kB / 1.723 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/3.088, allocations: 116 kB / 1.723 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003601/3.092, allocations: 1.62 MB / 1.725 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/3.092, allocations: 0 / 1.725 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/3.092, allocations: 52 kB / 1.725 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.373e-05/3.092, allocations: 50.09 kB / 1.725 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5089/3.601, allocations: 1.436 MB / 1.726 GB, free: 104.9 MB / 0.7136 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.01202/3.613, allocations: 6.977 MB / 1.733 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002258/3.615, allocations: 0.7306 MB / 1.734 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/3.616, allocations: 1.264 MB / 1.735 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/3.616, allocations: 44.31 kB / 1.735 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=64): time 2.815e-06/3.616, allocations: 2.156 kB / 1.735 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=64): time 0.01219/3.629, allocations: 2.382 MB / 1.737 GB, free: 100.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/3.629, allocations: 111.3 kB / 1.738 GB, free: 100 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002541/3.631, allocations: 1.261 MB / 1.739 GB, free: 99.86 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001684/3.631, allocations: 48.8 kB / 1.739 GB, free: 99.83 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007246/3.632, allocations: 0.701 MB / 1.739 GB, free: 99.62 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/3.632, allocations: 223.4 kB / 1.74 GB, free: 99.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/3.632, allocations: 19.06 kB / 1.74 GB, free: 99.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.958e-05/3.633, allocations: 333 kB / 1.74 GB, free: 99.21 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00183/3.634, allocations: 478.4 kB / 1.74 GB, free: 99.21 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/3.636, allocations: 0.7524 MB / 1.741 GB, free: 98.89 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/3.638, allocations: 0.5223 MB / 1.742 GB, free: 98.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/3.638, allocations: 2.156 kB / 1.742 GB, free: 98.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004938/3.643, allocations: 1.476 MB / 1.743 GB, free: 98.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005594/3.644, allocations: 2.498 MB / 1.746 GB, free: 96.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/3.644, allocations: 7 kB / 1.746 GB, free: 96.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001806/3.646, allocations: 449.8 kB / 1.746 GB, free: 96.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/3.647, allocations: 248 kB / 1.746 GB, free: 96.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/3.649, allocations: 1.069 MB / 1.747 GB, free: 95.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002833/3.652, allocations: 275.8 kB / 1.748 GB, free: 95.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/3.652, allocations: 56.19 kB / 1.748 GB, free: 95.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/3.652, allocations: 8.797 kB / 1.748 GB, free: 95.63 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004639/3.656, allocations: 1.326 MB / 1.749 GB, free: 95.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/3.656, allocations: 7 kB / 1.749 GB, free: 95.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001492/3.658, allocations: 453.5 kB / 1.749 GB, free: 95.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/3.659, allocations: 245.3 kB / 1.75 GB, free: 95.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/3.661, allocations: 1.069 MB / 1.751 GB, free: 95.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/3.663, allocations: 231.2 kB / 1.751 GB, free: 95.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/3.663, allocations: 55.03 kB / 1.751 GB, free: 95.04 MB / 0.7136 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.001128/3.665, allocations: 449.2 kB / 1.751 GB, free: 94.85 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003677/3.665, allocations: 146 kB / 1.752 GB, free: 94.78 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004249/3.669, allocations: 1.226 MB / 1.753 GB, free: 94.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/3.669, allocations: 11.94 kB / 1.753 GB, free: 94.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/3.669, allocations: 0 / 1.753 GB, free: 94.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003614/3.673, allocations: 1.1 MB / 1.754 GB, free: 94.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008644/3.682, allocations: 3.312 MB / 1.757 GB, free: 93.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/3.682, allocations: 6.312 kB / 1.757 GB, free: 93.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009419/3.683, allocations: 152.2 kB / 1.757 GB, free: 93.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/3.684, allocations: 452.6 kB / 1.758 GB, free: 93.58 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.319e-05/3.684, allocations: 23.61 kB / 1.758 GB, free: 93.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/3.685, allocations: 1.054 MB / 1.759 GB, free: 93.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/3.685, allocations: 3.844 kB / 1.759 GB, free: 93.05 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004132/3.69, allocations: 1.552 MB / 1.76 GB, free: 92.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009328/3.69, allocations: 391 kB / 1.761 GB, free: 92.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/3.691, allocations: 22.23 kB / 1.761 GB, free: 92.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/3.692, allocations: 141.4 kB / 1.761 GB, free: 92.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/3.693, allocations: 57.83 kB / 1.761 GB, free: 92.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.683e-05/3.693, allocations: 43.33 kB / 1.761 GB, free: 92.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001715/3.694, allocations: 0.9955 MB / 1.762 GB, free: 92.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.21e-07/3.694, allocations: 0 / 1.762 GB, free: 92.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003384/3.698, allocations: 0.9769 MB / 1.763 GB, free: 92.1 MB / 0.7136 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.006196/3.704, allocations: 3.8 MB / 1.766 GB, free: 90.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00612/3.71, allocations: 1.755 MB / 1.768 GB, free: 89.99 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/3.71, allocations: 0 / 1.768 GB, free: 89.99 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001722/3.712, allocations: 0.5166 MB / 1.769 GB, free: 89.98 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004091/3.716, allocations: 0.7825 MB / 1.769 GB, free: 89.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02145/3.737, allocations: 13.22 MB / 1.782 GB, free: 82.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/3.739, allocations: 1.235 MB / 1.784 GB, free: 82.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002364/3.741, allocations: 330.4 kB / 1.784 GB, free: 82.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009975/3.742, allocations: 0.5582 MB / 1.784 GB, free: 82.17 MB / 0.7136 GB Notification: Performance of SimCode: time 3.105e-06/3.742, allocations: 2.062 kB / 1.784 GB, free: 82.17 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09349/3.836, allocations: 54.16 MB / 1.837 GB, free: 79.88 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002764/3.836, allocations: 272.2 kB / 1.838 GB, free: 79.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.852/7.688, allocations: 0 / 1.838 GB, free: 79.52 MB / 0.7136 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)