Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.144/3.144, allocations: 287.3 MB / 302.3 MB, free: 8.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001688/0.001688, allocations: 190.2 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.225/2.225, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001528/0.001528, allocations: 93.14 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006718/0.0006719, allocations: 12.41 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2489, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.09953/0.3485, allocations: 58.54 MB / 1.035 GB, free: 1.625 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02947/0.378, allocations: 12.07 MB / 1.047 GB, free: 5.535 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003269/0.3813, allocations: 59.62 kB / 1.047 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.00451/0.3859, allocations: 0.7889 MB / 1.048 GB, free: 4.684 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01133/0.3973, allocations: 2.171 MB / 1.05 GB, free: 2.508 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01004/0.4074, allocations: 1.915 MB / 1.052 GB, free: 0.6211 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.009099/0.4165, allocations: 2.616 MB / 1.055 GB, free: 14 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005055/0.4216, allocations: 1.156 MB / 1.056 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007409/0.4291, allocations: 1.265 MB / 1.057 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003774/0.433, allocations: 0.8127 MB / 1.058 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.4341, allocations: 68 kB / 1.058 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005973/0.4401, allocations: 1.17 MB / 1.059 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001015/0.4412, allocations: 306.8 kB / 1.059 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001173/0.4424, allocations: 396.8 kB / 1.06 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006313/0.4488, allocations: 2.431 MB / 1.062 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.4488, allocations: 0 / 1.062 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.246e-06/0.4489, allocations: 0 / 1.062 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.782e-05/0.449, allocations: 0 / 1.062 GB, free: 6.367 MB / 0.6823 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.006712/0.4557, allocations: 1.921 MB / 1.064 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.397e-05/0.4558, allocations: 8.031 kB / 1.064 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006975/0.4565, allocations: 181.4 kB / 1.064 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/0.4674, allocations: 0.7315 MB / 1.065 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004705/0.4722, allocations: 1.433 MB / 1.066 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002687/0.4725, allocations: 132 kB / 1.066 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000478/0.473, allocations: 120 kB / 1.066 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6899/1.163, allocations: 1.657 MB / 1.068 GB, free: 89.89 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/1.163, allocations: 8.344 kB / 1.068 GB, free: 89.89 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004918/1.164, allocations: 50.44 kB / 1.068 GB, free: 89.89 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/1.164, allocations: 33.22 kB / 1.068 GB, free: 89.89 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01075/1.174, allocations: 1.52 MB / 1.07 GB, free: 89.83 MB / 0.6823 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.01969/1.194, allocations: 7.337 MB / 1.077 GB, free: 84.85 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004902/1.199, allocations: 0.8409 MB / 1.078 GB, free: 84.55 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001828/1.201, allocations: 1.266 MB / 1.079 GB, free: 83.14 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.705e-05/1.201, allocations: 44.41 kB / 1.079 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 3.617e-06/1.201, allocations: 0 / 1.079 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.0589/1.26, allocations: 4.279 MB / 1.083 GB, free: 82.39 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/1.26, allocations: 115 kB / 1.083 GB, free: 82.26 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00439/1.265, allocations: 1.406 MB / 1.085 GB, free: 81.69 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003661/1.265, allocations: 45.14 kB / 1.085 GB, free: 81.65 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009597/1.266, allocations: 0.6768 MB / 1.085 GB, free: 81.13 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005163/1.266, allocations: 235.3 kB / 1.085 GB, free: 80.95 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/1.267, allocations: 20.16 kB / 1.085 GB, free: 80.94 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.267, allocations: 345.3 kB / 1.086 GB, free: 80.61 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004203/1.271, allocations: 0.514 MB / 1.086 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00461/1.276, allocations: 0.802 MB / 1.087 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004274/1.28, allocations: 0.5677 MB / 1.088 GB, free: 79.78 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/1.28, allocations: 2.75 kB / 1.088 GB, free: 79.78 MB / 0.6823 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01099/1.291, allocations: 1.63 MB / 1.089 GB, free: 79.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005998/1.292, allocations: 2.488 MB / 1.092 GB, free: 76.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.816e-05/1.292, allocations: 5.75 kB / 1.092 GB, free: 76.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00379/1.296, allocations: 0.5708 MB / 1.092 GB, free: 76.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002857/1.298, allocations: 248.6 kB / 1.092 GB, free: 76.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003546/1.302, allocations: 1.174 MB / 1.094 GB, free: 75.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004911/1.307, allocations: 288.7 kB / 1.094 GB, free: 75.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004203/1.308, allocations: 54.09 kB / 1.094 GB, free: 75.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.308, allocations: 4.344 kB / 1.094 GB, free: 75.55 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01029/1.318, allocations: 1.471 MB / 1.095 GB, free: 75.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-05/1.318, allocations: 6.812 kB / 1.095 GB, free: 75.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003464/1.321, allocations: 0.5645 MB / 1.096 GB, free: 74.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002833/1.324, allocations: 252.8 kB / 1.096 GB, free: 74.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003565/1.328, allocations: 1.177 MB / 1.097 GB, free: 74.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004464/1.332, allocations: 260.3 kB / 1.098 GB, free: 74.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004007/1.333, allocations: 55.23 kB / 1.098 GB, free: 74.02 MB / 0.6823 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 (82): * Single equations (assignments): 81 * 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.001492/1.334, allocations: 444.2 kB / 1.098 GB, free: 73.68 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006632/1.335, allocations: 146.1 kB / 1.098 GB, free: 73.61 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00912/1.344, allocations: 1.41 MB / 1.1 GB, free: 73.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.698e-05/1.344, allocations: 11.88 kB / 1.1 GB, free: 73.08 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/1.344, allocations: 3.797 kB / 1.1 GB, free: 73.08 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007795/1.352, allocations: 1.218 MB / 1.101 GB, free: 72.57 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/1.367, allocations: 3.535 MB / 1.104 GB, free: 70.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.902e-05/1.367, allocations: 4.438 kB / 1.104 GB, free: 70.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001868/1.369, allocations: 154.2 kB / 1.104 GB, free: 70.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003395/1.372, allocations: 0.5499 MB / 1.105 GB, free: 70.24 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002249/1.373, allocations: 25.03 kB / 1.105 GB, free: 70.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003226/1.376, allocations: 1.168 MB / 1.106 GB, free: 69.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/1.376, allocations: 7.594 kB / 1.106 GB, free: 69.36 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008679/1.385, allocations: 1.706 MB / 1.108 GB, free: 68.11 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/1.386, allocations: 401.2 kB / 1.108 GB, free: 67.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005681/1.387, allocations: 19.62 kB / 1.108 GB, free: 67.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003934/1.391, allocations: 161 kB / 1.108 GB, free: 67.69 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/1.391, allocations: 59.73 kB / 1.108 GB, free: 67.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002301/1.391, allocations: 49.22 kB / 1.108 GB, free: 67.63 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003111/1.394, allocations: 0.9863 MB / 1.109 GB, free: 67.08 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/1.394, allocations: 0 / 1.109 GB, free: 67.08 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005237/1.4, allocations: 0.9005 MB / 1.11 GB, free: 66.92 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (42): * Single equations (assignments): 39 * 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.01129/1.411, allocations: 3.757 MB / 1.114 GB, free: 64.01 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01321/1.424, allocations: 1.901 MB / 1.116 GB, free: 63.14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.565e-05/1.424, allocations: 1.312 kB / 1.116 GB, free: 63.14 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003833/1.428, allocations: 0.5631 MB / 1.116 GB, free: 62.88 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00697/1.435, allocations: 0.7759 MB / 1.117 GB, free: 62.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01578/1.451, allocations: 8.18 MB / 1.125 GB, free: 55.45 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009913/1.452, allocations: 1.241 MB / 1.126 GB, free: 54.48 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003135/1.455, allocations: 336.7 kB / 1.127 GB, free: 54.31 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/1.457, allocations: 0.5566 MB / 1.127 GB, free: 53.84 MB / 0.6823 GB Notification: Performance of SimCode: time 1.663e-06/1.457, allocations: 0 / 1.127 GB, free: 53.84 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1301/1.587, allocations: 50.36 MB / 1.176 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002957/1.587, allocations: 259.2 kB / 1.177 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.938/6.525, allocations: 2.812 kB / 1.177 GB, free: 6.73 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)