Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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_VariableSpeed,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",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.6973/0.6973, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001034/0.001034, allocations: 184.4 kB / 187.3 MB, free: 11.89 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.227/1.227, allocations: 221.3 MB / 441.4 MB, free: 4.574 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.0007715/0.0007715, allocations: 99.73 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001655/0.001654, allocations: 277 kB / 0.5939 GB, free: 7.934 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.465e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3483, allocations: 82.77 MB / 0.7644 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6512/0.9995, allocations: 394.7 MB / 1.15 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.9998, allocations: 93.89 kB / 1.15 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.683/2.683, allocations: 0.5583 GB / 1.708 GB, free: 18.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.542e-06/2.683, allocations: 0 / 1.708 GB, free: 18.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000272/2.684, allocations: 47.92 kB / 1.708 GB, free: 18.36 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005386/2.689, allocations: 1.91 MB / 1.71 GB, free: 16.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/2.689, allocations: 8.031 kB / 1.71 GB, free: 16.38 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00046/2.69, allocations: 181.4 kB / 1.71 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004042/2.694, allocations: 0.6145 MB / 1.711 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003482/2.697, allocations: 1.778 MB / 1.713 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/2.697, allocations: 124 kB / 1.713 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003043/2.698, allocations: 124 kB / 1.713 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/2.7, allocations: 1.444 MB / 1.714 GB, free: 11.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/2.7, allocations: 0 / 1.714 GB, free: 11.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/2.7, allocations: 56 kB / 1.714 GB, free: 11.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.61e-05/2.7, allocations: 54.09 kB / 1.714 GB, free: 11.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/2.702, allocations: 1.09 MB / 1.715 GB, free: 10.74 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.007596/2.709, allocations: 6.785 MB / 1.722 GB, free: 3.656 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007534/2.71, allocations: 0.5306 MB / 1.723 GB, free: 3.117 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004237/2.711, allocations: 334.5 kB / 1.723 GB, free: 2.789 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009652/2.712, allocations: 1.267 MB / 1.724 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006431/2.712, allocations: 0.528 MB / 1.725 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of pre-optimization done (n=65): time 2.274e-06/2.712, allocations: 0 / 1.725 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of matching and sorting (n=65): time 0.3708/3.083, allocations: 0.8409 MB / 1.725 GB, free: 101 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/3.083, allocations: 482 kB / 1.726 GB, free: 100.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/3.085, allocations: 1.236 MB / 1.727 GB, free: 100.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002053/3.086, allocations: 47.52 kB / 1.727 GB, free: 100.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006208/3.086, allocations: 0.7102 MB / 1.728 GB, free: 100.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/3.087, allocations: 226.8 kB / 1.728 GB, free: 100 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.785e-05/3.087, allocations: 18.94 kB / 1.728 GB, free: 100 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.56e-05/3.087, allocations: 341.5 kB / 1.728 GB, free: 99.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006317/3.087, allocations: 326.8 kB / 1.729 GB, free: 99.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008133/3.088, allocations: 0.6427 MB / 1.729 GB, free: 99.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007232/3.089, allocations: 410.8 kB / 1.73 GB, free: 99.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/3.089, allocations: 2.016 kB / 1.73 GB, free: 99.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003666/3.093, allocations: 1.259 MB / 1.731 GB, free: 99.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004147/3.093, allocations: 2.525 MB / 1.733 GB, free: 96.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/3.093, allocations: 6.812 kB / 1.733 GB, free: 96.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/3.094, allocations: 327.3 kB / 1.734 GB, free: 96.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/3.096, allocations: 261.5 kB / 1.734 GB, free: 96.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007862/3.097, allocations: 0.8495 MB / 1.735 GB, free: 96.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/3.099, allocations: 293.6 kB / 1.735 GB, free: 96.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/3.099, allocations: 60.53 kB / 1.735 GB, free: 96.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/3.099, allocations: 4.531 kB / 1.735 GB, free: 96.02 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002873/3.102, allocations: 1.11 MB / 1.736 GB, free: 95.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/3.102, allocations: 6.5 kB / 1.736 GB, free: 95.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009274/3.103, allocations: 329 kB / 1.737 GB, free: 95.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/3.104, allocations: 267.4 kB / 1.737 GB, free: 95.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007271/3.105, allocations: 0.8487 MB / 1.738 GB, free: 95.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/3.107, allocations: 256.1 kB / 1.738 GB, free: 95.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.887e-05/3.107, allocations: 52.52 kB / 1.738 GB, free: 95.4 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: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 1 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002938/3.108, allocations: 166 kB / 1.738 GB, free: 95.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/3.108, allocations: 160.1 kB / 1.738 GB, free: 95.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/3.11, allocations: 0.9359 MB / 1.739 GB, free: 95.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/3.11, allocations: 7.438 kB / 1.739 GB, free: 95.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/3.11, allocations: 3.25 kB / 1.739 GB, free: 95.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00179/3.112, allocations: 0.8144 MB / 1.74 GB, free: 94.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004459/3.116, allocations: 3.278 MB / 1.743 GB, free: 93.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/3.116, allocations: 3.875 kB / 1.743 GB, free: 93.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008726/3.117, allocations: 162.1 kB / 1.743 GB, free: 93.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009011/3.118, allocations: 329.4 kB / 1.744 GB, free: 93.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.703e-05/3.118, allocations: 26.05 kB / 1.744 GB, free: 93.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000623/3.119, allocations: 0.8409 MB / 1.744 GB, free: 93.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/3.119, allocations: 7.125 kB / 1.744 GB, free: 93.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00261/3.122, allocations: 1.807 MB / 1.746 GB, free: 92.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005781/3.122, allocations: 400 kB / 1.747 GB, free: 92.42 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/3.122, allocations: 22.34 kB / 1.747 GB, free: 92.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/3.124, allocations: 156 kB / 1.747 GB, free: 92.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/3.124, allocations: 66.47 kB / 1.747 GB, free: 92.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.108e-05/3.124, allocations: 41.58 kB / 1.747 GB, free: 92.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001116/3.125, allocations: 0.9813 MB / 1.748 GB, free: 92.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/3.125, allocations: 0 / 1.748 GB, free: 92.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002446/3.128, allocations: 0.9979 MB / 1.749 GB, free: 92.26 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.003982/3.132, allocations: 4.128 MB / 1.753 GB, free: 89.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002265/3.134, allocations: 1.477 MB / 1.754 GB, free: 89.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/3.134, allocations: 3.625 kB / 1.754 GB, free: 89.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00064/3.135, allocations: 417.9 kB / 1.755 GB, free: 89.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003042/3.138, allocations: 0.7891 MB / 1.755 GB, free: 89.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004981/3.143, allocations: 2.485 MB / 1.758 GB, free: 89.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/3.143, allocations: 1.245 MB / 1.759 GB, free: 88.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001811/3.145, allocations: 472.9 kB / 1.76 GB, free: 88.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006072/3.146, allocations: 0.5547 MB / 1.76 GB, free: 88.4 MB / 0.698 GB Notification: Performance of SimCode: time 4.81e-07/3.146, allocations: 2.906 kB / 1.76 GB, free: 88.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07549/3.221, allocations: 57.33 MB / 1.816 GB, free: 86.11 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/3.221, allocations: 256.5 kB / 1.816 GB, free: 85.78 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.45/6.672, allocations: 0 / 1.816 GB, free: 85.78 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)