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: translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9402/0.9402, allocations: 141.8 MB / 149.3 MB, free: 9.234 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.001263/0.001263, allocations: 180.9 kB / 182.2 MB, free: 9.469 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.641/1.641, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.001002/0.001002, allocations: 84.17 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002034, allocations: 282.9 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.03e-05/2.031e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5338/0.5339, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9169/1.451, allocations: 393.7 MB / 1.142 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/1.451, allocations: 95.45 kB / 1.142 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.131/3.582, allocations: 0.5553 GB / 1.697 GB, free: 23.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.126e-06/3.582, allocations: 4 kB / 1.697 GB, free: 23.53 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000273/3.582, allocations: 43.98 kB / 1.697 GB, free: 23.49 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.006229/3.589, allocations: 1.843 MB / 1.699 GB, free: 21.58 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/3.589, allocations: 12.03 kB / 1.699 GB, free: 21.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005612/3.594, allocations: 0.6691 MB / 1.7 GB, free: 20.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004496/3.599, allocations: 1.77 MB / 1.702 GB, free: 19.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/3.599, allocations: 83.98 kB / 1.702 GB, free: 18.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003916/3.599, allocations: 75.94 kB / 1.702 GB, free: 18.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002308/3.602, allocations: 1.032 MB / 1.703 GB, free: 17.87 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/3.604, allocations: 1.288 MB / 1.704 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/3.604, allocations: 4 kB / 1.704 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/3.605, allocations: 4 kB / 1.704 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.789e-05/3.605, allocations: 54.09 kB / 1.704 GB, free: 16.42 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.01091/3.615, allocations: 6.818 MB / 1.711 GB, free: 9.285 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009772/3.616, allocations: 0.5833 MB / 1.711 GB, free: 8.688 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004457/3.617, allocations: 327.5 kB / 1.712 GB, free: 8.367 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/3.618, allocations: 1.274 MB / 1.713 GB, free: 6.816 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/3.618, allocations: 43.12 kB / 1.713 GB, free: 6.766 MB / 0.698 GB Notification: Performance of pre-optimization done (n=66): time 3.417e-06/3.618, allocations: 3.938 kB / 1.713 GB, free: 6.762 MB / 0.698 GB Notification: Performance of matching and sorting (n=66): time 0.002964/3.621, allocations: 0.9356 MB / 1.714 GB, free: 5.812 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/3.621, allocations: 115.4 kB / 1.714 GB, free: 5.676 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/3.623, allocations: 0.9588 MB / 1.715 GB, free: 4.707 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001448/3.623, allocations: 29.7 kB / 1.715 GB, free: 4.672 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005888/3.624, allocations: 0.7058 MB / 1.716 GB, free: 3.957 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/3.624, allocations: 220.7 kB / 1.716 GB, free: 3.738 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.536e-05/3.624, allocations: 0 / 1.716 GB, free: 3.738 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.026e-05/3.624, allocations: 334 kB / 1.716 GB, free: 3.406 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004482/3.624, allocations: 314.5 kB / 1.716 GB, free: 3.102 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/3.625, allocations: 0.5725 MB / 1.717 GB, free: 2.406 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001838/3.627, allocations: 488.1 kB / 1.717 GB, free: 1.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/3.627, allocations: 4 kB / 1.717 GB, free: 1.926 MB / 0.698 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00324/3.63, allocations: 1.201 MB / 1.719 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.4825/4.113, allocations: 2.451 MB / 1.721 GB, free: 102.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.029e-05/4.113, allocations: 7.688 kB / 1.721 GB, free: 102.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/4.114, allocations: 454.5 kB / 1.721 GB, free: 102.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/4.116, allocations: 238.4 kB / 1.722 GB, free: 102.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/4.118, allocations: 1.13 MB / 1.723 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002695/4.121, allocations: 231.9 kB / 1.723 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/4.121, allocations: 56.39 kB / 1.723 GB, free: 102.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/4.121, allocations: 2.844 kB / 1.723 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003487/4.124, allocations: 1.05 MB / 1.724 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/4.124, allocations: 6.25 kB / 1.724 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/4.126, allocations: 446.2 kB / 1.724 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/4.127, allocations: 236.9 kB / 1.725 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/4.129, allocations: 1.138 MB / 1.726 GB, free: 101.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002328/4.131, allocations: 186.6 kB / 1.726 GB, free: 101.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/4.131, allocations: 59.52 kB / 1.726 GB, free: 101.6 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.0003825/4.132, allocations: 126.8 kB / 1.726 GB, free: 101.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003295/4.132, allocations: 129.6 kB / 1.726 GB, free: 101.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004805/4.137, allocations: 1.113 MB / 1.727 GB, free: 101.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/4.137, allocations: 12 kB / 1.727 GB, free: 101.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/4.137, allocations: 0 / 1.727 GB, free: 101.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00381/4.141, allocations: 1.018 MB / 1.728 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007397/4.148, allocations: 3.014 MB / 1.731 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/4.148, allocations: 3.594 kB / 1.731 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009/4.149, allocations: 155.7 kB / 1.731 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001062/4.15, allocations: 429.8 kB / 1.732 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.766e-05/4.15, allocations: 18.69 kB / 1.732 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/4.152, allocations: 1.129 MB / 1.733 GB, free: 99.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.757e-06/4.152, allocations: 5.344 kB / 1.733 GB, free: 99.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003325/4.155, allocations: 1.341 MB / 1.734 GB, free: 99.21 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/4.156, allocations: 371.4 kB / 1.735 GB, free: 99.06 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004496/4.156, allocations: 3.844 kB / 1.735 GB, free: 99.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001966/4.158, allocations: 135.1 kB / 1.735 GB, free: 99.06 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/4.159, allocations: 54.31 kB / 1.735 GB, free: 99.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/4.159, allocations: 50.91 kB / 1.735 GB, free: 99.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001543/4.16, allocations: 0.7294 MB / 1.736 GB, free: 98.95 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.01e-07/4.16, allocations: 0 / 1.736 GB, free: 98.95 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004653/4.165, allocations: 0.9872 MB / 1.737 GB, free: 98.89 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.002424/4.167, allocations: 0.8789 MB / 1.737 GB, free: 98.76 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003353/4.171, allocations: 1.298 MB / 1.739 GB, free: 98.73 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/4.171, allocations: 5.312 kB / 1.739 GB, free: 98.73 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007823/4.172, allocations: 383.5 kB / 1.739 GB, free: 98.72 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003439/4.175, allocations: 0.5979 MB / 1.74 GB, free: 98.71 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005233/4.18, allocations: 1.811 MB / 1.741 GB, free: 98.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000889/4.181, allocations: 1.238 MB / 1.743 GB, free: 97.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002362/4.184, allocations: 373.4 kB / 1.743 GB, free: 97.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/4.184, allocations: 86.52 kB / 1.743 GB, free: 97.38 MB / 0.698 GB Notification: Performance of SimCode: time 8.12e-07/4.184, allocations: 0 / 1.743 GB, free: 97.38 MB / 0.698 GB Notification: Performance of Templates: time 0.05539/4.239, allocations: 34.94 MB / 1.777 GB, free: 96.02 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)