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.845/0.845, allocations: 143.3 MB / 158.3 MB, free: 5.781 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.001521/0.001521, allocations: 179.3 kB / 191.5 MB, free: 5.773 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.596/1.596, allocations: 223.2 MB / 447.7 MB, free: 4.836 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.0009836/0.0009836, allocations: 92.27 kB / 0.5187 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001789/0.001789, allocations: 271.2 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004296, allocations: 16.53 kB / 0.6929 GB, free: 59.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1914, allocations: 82.79 MB / 0.7738 GB, free: 13.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.307/1.498, allocations: 394.5 MB / 1.159 GB, free: 193.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/1.498, allocations: 92.73 kB / 1.159 GB, free: 193.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.982/3.48, allocations: 0.5598 GB / 1.719 GB, free: 106.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.565e-06/3.48, allocations: 2.906 kB / 1.719 GB, free: 106.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.00018/3.48, allocations: 40.86 kB / 1.719 GB, free: 106.4 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.006136/3.486, allocations: 2.123 MB / 1.721 GB, free: 105.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/3.487, allocations: 9.062 kB / 1.721 GB, free: 105.8 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005011/3.487, allocations: 181.1 kB / 1.721 GB, free: 105.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005589/3.493, allocations: 0.6641 MB / 1.722 GB, free: 105.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00472/3.497, allocations: 1.779 MB / 1.724 GB, free: 105.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/3.498, allocations: 127.5 kB / 1.724 GB, free: 105.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/3.498, allocations: 122.7 kB / 1.724 GB, free: 105.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004152/3.502, allocations: 1.662 MB / 1.725 GB, free: 105 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/3.502, allocations: 0 / 1.725 GB, free: 105 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/3.502, allocations: 55.66 kB / 1.725 GB, free: 105 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.685e-05/3.502, allocations: 51.09 kB / 1.725 GB, free: 105 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005223/3.507, allocations: 1.489 MB / 1.727 GB, free: 105 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.01126/3.519, allocations: 7.09 MB / 1.734 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002292/3.521, allocations: 0.7755 MB / 1.735 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/3.522, allocations: 1.274 MB / 1.736 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/3.522, allocations: 43.22 kB / 1.736 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=66): time 3.577e-06/3.522, allocations: 0 / 1.736 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=66): time 0.02383/3.546, allocations: 3.735 MB / 1.74 GB, free: 100.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/3.546, allocations: 115.3 kB / 1.74 GB, free: 100 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002871/3.549, allocations: 1.259 MB / 1.741 GB, free: 99.86 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002108/3.549, allocations: 44.67 kB / 1.741 GB, free: 99.83 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006361/3.55, allocations: 0.7023 MB / 1.742 GB, free: 99.62 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/3.55, allocations: 232.9 kB / 1.742 GB, free: 99.51 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/3.55, allocations: 21.34 kB / 1.742 GB, free: 99.51 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.274e-05/3.55, allocations: 338.6 kB / 1.742 GB, free: 99.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/3.552, allocations: 0.4969 MB / 1.743 GB, free: 99.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/3.554, allocations: 0.7853 MB / 1.743 GB, free: 98.88 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001908/3.556, allocations: 0.5369 MB / 1.744 GB, free: 98.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/3.556, allocations: 2.781 kB / 1.744 GB, free: 98.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.005148/3.561, allocations: 1.57 MB / 1.745 GB, free: 98.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000504/3.562, allocations: 2.493 MB / 1.748 GB, free: 96.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/3.562, allocations: 6.219 kB / 1.748 GB, free: 96.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001882/3.564, allocations: 0.577 MB / 1.748 GB, free: 96.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/3.565, allocations: 241.3 kB / 1.749 GB, free: 96.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/3.567, allocations: 1.167 MB / 1.75 GB, free: 95.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002898/3.57, allocations: 281.9 kB / 1.75 GB, free: 95.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/3.57, allocations: 57.55 kB / 1.75 GB, free: 95.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/3.57, allocations: 3.688 kB / 1.75 GB, free: 95.63 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004438/3.574, allocations: 1.413 MB / 1.752 GB, free: 95.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/3.574, allocations: 3.75 kB / 1.752 GB, free: 95.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001698/3.576, allocations: 0.5634 MB / 1.752 GB, free: 95.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/3.577, allocations: 241 kB / 1.752 GB, free: 95.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/3.579, allocations: 1.176 MB / 1.754 GB, free: 95.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/3.582, allocations: 243.4 kB / 1.754 GB, free: 95.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/3.582, allocations: 55.53 kB / 1.754 GB, free: 95.02 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 25} Notification: Performance of prepare postOptimizeDAE: time 0.0009664/3.583, allocations: 455.5 kB / 1.754 GB, free: 94.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004167/3.583, allocations: 147.8 kB / 1.754 GB, free: 94.74 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004267/3.587, allocations: 1.316 MB / 1.756 GB, free: 94.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/3.587, allocations: 7.688 kB / 1.756 GB, free: 94.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/3.587, allocations: 3.031 kB / 1.756 GB, free: 94.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003557/3.591, allocations: 1.185 MB / 1.757 GB, free: 94.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00844/3.599, allocations: 3.446 MB / 1.76 GB, free: 93.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.976e-06/3.6, allocations: 3.75 kB / 1.76 GB, free: 93.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000918/3.6, allocations: 150.1 kB / 1.76 GB, free: 93.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001683/3.602, allocations: 0.5487 MB / 1.761 GB, free: 93.53 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.06e-05/3.602, allocations: 24.52 kB / 1.761 GB, free: 93.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/3.604, allocations: 1.164 MB / 1.762 GB, free: 93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/3.604, allocations: 11.03 kB / 1.762 GB, free: 93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004848/3.609, allocations: 1.647 MB / 1.764 GB, free: 92.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/3.61, allocations: 394 kB / 1.764 GB, free: 92.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/3.61, allocations: 22.58 kB / 1.764 GB, free: 92.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/3.612, allocations: 146.3 kB / 1.764 GB, free: 92.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/3.612, allocations: 57.66 kB / 1.764 GB, free: 92.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.079e-05/3.612, allocations: 48.02 kB / 1.764 GB, free: 92.18 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001584/3.614, allocations: 0.9953 MB / 1.765 GB, free: 92.06 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.3e-07/3.614, allocations: 0 / 1.765 GB, free: 92.06 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002938/3.617, allocations: 0.9877 MB / 1.766 GB, free: 91.91 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 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.006249/3.623, allocations: 3.899 MB / 1.77 GB, free: 89.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006369/3.629, allocations: 1.824 MB / 1.772 GB, free: 89.72 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/3.63, allocations: 2.375 kB / 1.772 GB, free: 89.72 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001831/3.631, allocations: 0.5406 MB / 1.772 GB, free: 89.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003824/3.635, allocations: 0.7841 MB / 1.773 GB, free: 89.71 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02249/3.658, allocations: 13.48 MB / 1.786 GB, free: 82.55 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006622/3.658, allocations: 1.233 MB / 1.787 GB, free: 81.84 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002044/3.66, allocations: 340.1 kB / 1.788 GB, free: 81.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007304/3.661, allocations: 0.5571 MB / 1.788 GB, free: 81.81 MB / 0.7136 GB Notification: Performance of SimCode: time 1.723e-06/3.661, allocations: 0 / 1.788 GB, free: 81.81 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09256/3.754, allocations: 55.54 MB / 1.843 GB, free: 79.12 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/3.754, allocations: 279.2 kB / 1.843 GB, free: 78.76 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.768/7.522, allocations: 0 / 1.843 GB, free: 78.76 MB / 0.7136 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)