Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_Static,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_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.697/0.697, 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.001198/0.001198, allocations: 177.4 kB / 187.3 MB, free: 11.87 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.258/1.258, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0008326/0.0008327, allocations: 100.3 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001663/0.001663, allocations: 272.8 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.754e-05/3.773e-05, allocations: 8 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3574, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6538/1.011, allocations: 394.4 MB / 1.15 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/1.011, allocations: 87.33 kB / 1.15 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.578/2.59, allocations: 0.5581 GB / 1.708 GB, free: 19.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.022e-06/2.59, allocations: 0 / 1.708 GB, free: 19.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001144/2.59, allocations: 43.94 kB / 1.708 GB, free: 19.05 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.002902/2.593, allocations: 1.847 MB / 1.709 GB, free: 17.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/2.593, allocations: 12.03 kB / 1.71 GB, free: 17.13 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000162/2.593, allocations: 177.4 kB / 1.71 GB, free: 16.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004144/2.597, allocations: 0.6652 MB / 1.71 GB, free: 16.28 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002758/2.6, allocations: 1.774 MB / 1.712 GB, free: 14.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.032e-05/2.6, allocations: 128 kB / 1.712 GB, free: 14.31 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/2.6, allocations: 116 kB / 1.712 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/2.602, allocations: 1.46 MB / 1.714 GB, free: 12.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/2.602, allocations: 0 / 1.714 GB, free: 12.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/2.603, allocations: 55.98 kB / 1.714 GB, free: 12.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-05/2.603, allocations: 54.09 kB / 1.714 GB, free: 12.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/2.604, allocations: 1.11 MB / 1.715 GB, free: 11.41 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.007244/2.611, allocations: 7.085 MB / 1.722 GB, free: 3.992 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00085/2.612, allocations: 0.619 MB / 1.722 GB, free: 3.359 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004225/2.613, allocations: 340.2 kB / 1.723 GB, free: 3.027 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008914/2.614, allocations: 1.271 MB / 1.724 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/2.614, allocations: 47.78 kB / 1.724 GB, free: 1.426 MB / 0.698 GB Notification: Performance of pre-optimization done (n=66): time 3.136e-06/2.614, allocations: 0 / 1.724 GB, free: 1.426 MB / 0.698 GB Notification: Performance of matching and sorting (n=66): time 0.001382/2.615, allocations: 0.8691 MB / 1.725 GB, free: 0.543 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/2.615, allocations: 119.4 kB / 1.725 GB, free: 412 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3432/2.958, allocations: 1.215 MB / 1.726 GB, free: 101 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002314/2.959, allocations: 43.08 kB / 1.726 GB, free: 101 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005386/2.959, allocations: 0.6989 MB / 1.727 GB, free: 100.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/2.959, allocations: 229.6 kB / 1.727 GB, free: 100.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-05/2.959, allocations: 15.03 kB / 1.727 GB, free: 100.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.378e-05/2.959, allocations: 337.8 kB / 1.727 GB, free: 100.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005962/2.96, allocations: 314.9 kB / 1.728 GB, free: 100.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007174/2.961, allocations: 0.601 MB / 1.728 GB, free: 100.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006483/2.961, allocations: 375 kB / 1.729 GB, free: 100.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/2.961, allocations: 1.625 kB / 1.729 GB, free: 100.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002265/2.964, allocations: 1.168 MB / 1.73 GB, free: 100 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004058/2.964, allocations: 2.498 MB / 1.732 GB, free: 97.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/2.964, allocations: 10.06 kB / 1.732 GB, free: 97.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001701/2.966, allocations: 0.5213 MB / 1.733 GB, free: 97.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/2.967, allocations: 242.9 kB / 1.733 GB, free: 97.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/2.968, allocations: 1.075 MB / 1.734 GB, free: 96.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00245/2.971, allocations: 287.1 kB / 1.734 GB, free: 96.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/2.971, allocations: 55.06 kB / 1.734 GB, free: 96.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/2.971, allocations: 4.906 kB / 1.734 GB, free: 96.92 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001637/2.973, allocations: 1.013 MB / 1.735 GB, free: 96.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/2.973, allocations: 4.016 kB / 1.735 GB, free: 96.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001364/2.974, allocations: 0.5067 MB / 1.736 GB, free: 96.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/2.975, allocations: 238.3 kB / 1.736 GB, free: 96.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/2.976, allocations: 1.093 MB / 1.737 GB, free: 96.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/2.978, allocations: 242.1 kB / 1.737 GB, free: 96.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-05/2.979, allocations: 57.11 kB / 1.737 GB, free: 96.32 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 24} Notification: Performance of prepare postOptimizeDAE: time 0.0002892/2.979, allocations: 161.1 kB / 1.738 GB, free: 96.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/2.979, allocations: 145.1 kB / 1.738 GB, free: 96.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003146/2.982, allocations: 1.076 MB / 1.739 GB, free: 96.06 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/2.982, allocations: 9.938 kB / 1.739 GB, free: 96.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/2.982, allocations: 0 / 1.739 GB, free: 96.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002567/2.985, allocations: 0.9384 MB / 1.74 GB, free: 95.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00465/2.99, allocations: 3.116 MB / 1.743 GB, free: 94.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/2.99, allocations: 9.719 kB / 1.743 GB, free: 94.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008044/2.99, allocations: 145.8 kB / 1.743 GB, free: 94.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/2.992, allocations: 0.4904 MB / 1.743 GB, free: 94.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.702e-05/2.992, allocations: 29.52 kB / 1.743 GB, free: 94.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009665/2.993, allocations: 1.07 MB / 1.744 GB, free: 94.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/2.993, allocations: 3.719 kB / 1.745 GB, free: 94.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/2.994, allocations: 1.329 MB / 1.746 GB, free: 93.76 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005936/2.995, allocations: 392.5 kB / 1.746 GB, free: 93.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/2.995, allocations: 17.75 kB / 1.746 GB, free: 93.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/2.997, allocations: 145.2 kB / 1.746 GB, free: 93.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.179e-05/2.997, allocations: 49.53 kB / 1.746 GB, free: 93.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.587e-05/2.997, allocations: 47.06 kB / 1.746 GB, free: 93.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001094/2.998, allocations: 0.9497 MB / 1.747 GB, free: 93.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.52e-07/2.998, allocations: 0 / 1.747 GB, free: 93.47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002342/3, allocations: 0.9877 MB / 1.748 GB, free: 93.43 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002877/3.003, allocations: 3.567 MB / 1.752 GB, free: 91.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002254/3.005, allocations: 1.379 MB / 1.753 GB, free: 91.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/3.005, allocations: 6.594 kB / 1.753 GB, free: 91.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006045/3.006, allocations: 395.4 kB / 1.754 GB, free: 91.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002972/3.009, allocations: 0.7866 MB / 1.754 GB, free: 91.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004636/3.014, allocations: 2.288 MB / 1.757 GB, free: 90.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/3.014, allocations: 1.24 MB / 1.758 GB, free: 89.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001766/3.016, allocations: 436.7 kB / 1.758 GB, free: 89.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000538/3.016, allocations: 0.5307 MB / 1.759 GB, free: 89.93 MB / 0.698 GB Notification: Performance of SimCode: time 7.21e-07/3.016, allocations: 0 / 1.759 GB, free: 89.93 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06915/3.086, allocations: 57.89 MB / 1.815 GB, free: 87.62 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/3.086, allocations: 243 kB / 1.815 GB, free: 87.31 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.42/6.506, allocations: 0 / 1.815 GB, free: 87.31 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)