Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.832/1.832, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001173/0.001173, allocations: 172.8 kB / 366.7 MB, free: 1.695 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.881/1.881, allocations: 205.2 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001278/0.001278, allocations: 89.52 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.666e-05/3.739e-05, allocations: 8 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9722/0.9722, allocations: 116.3 MB / 0.9733 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.267/2.24, allocations: 422.8 MB / 1.386 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003651/2.24, allocations: 91.31 kB / 1.386 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.777/4.017, allocations: 0.5447 GB / 1.931 GB, free: 61.52 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.294e-06/4.017, allocations: 0 / 1.931 GB, free: 61.52 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001398/4.017, allocations: 36 kB / 1.931 GB, free: 61.48 MB / 0.948 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.003747/4.021, allocations: 1.856 MB / 1.933 GB, free: 59.57 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/4.021, allocations: 8.031 kB / 1.933 GB, free: 59.56 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004596/4.026, allocations: 0.6614 MB / 1.934 GB, free: 58.89 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003338/4.029, allocations: 1.766 MB / 1.935 GB, free: 57.07 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.562e-05/4.029, allocations: 83.97 kB / 1.935 GB, free: 56.98 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/4.029, allocations: 72 kB / 1.935 GB, free: 56.91 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001779/4.031, allocations: 1.035 MB / 1.936 GB, free: 55.87 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/4.033, allocations: 1.29 MB / 1.938 GB, free: 54.48 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/4.033, allocations: 3.938 kB / 1.938 GB, free: 54.48 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/4.033, allocations: 4 kB / 1.938 GB, free: 54.48 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.945e-05/4.033, allocations: 32 kB / 1.938 GB, free: 54.45 MB / 0.948 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.008829/4.042, allocations: 6.819 MB / 1.944 GB, free: 47.31 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008676/4.043, allocations: 0.5755 MB / 1.945 GB, free: 46.72 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004263/4.043, allocations: 326.5 kB / 1.945 GB, free: 46.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/4.044, allocations: 1.271 MB / 1.947 GB, free: 44.85 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/4.044, allocations: 47.12 kB / 1.947 GB, free: 44.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=66): time 3.016e-06/4.044, allocations: 0 / 1.947 GB, free: 44.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=66): time 0.00274/4.047, allocations: 0.9435 MB / 1.948 GB, free: 43.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/4.047, allocations: 111.4 kB / 1.948 GB, free: 43.71 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/4.048, allocations: 0.9549 MB / 1.949 GB, free: 42.74 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/4.048, allocations: 33.7 kB / 1.949 GB, free: 42.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004962/4.049, allocations: 0.7057 MB / 1.949 GB, free: 41.99 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/4.049, allocations: 224.7 kB / 1.949 GB, free: 41.77 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/4.049, allocations: 4 kB / 1.949 GB, free: 41.76 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.207e-05/4.049, allocations: 330 kB / 1.95 GB, free: 41.43 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000427/4.05, allocations: 306.6 kB / 1.95 GB, free: 41.13 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005596/4.05, allocations: 0.5764 MB / 1.951 GB, free: 40.44 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/4.052, allocations: 493.9 kB / 1.951 GB, free: 39.95 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/4.052, allocations: 7.953 kB / 1.951 GB, free: 39.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002963/4.055, allocations: 1.197 MB / 1.952 GB, free: 38.74 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004725/4.056, allocations: 2.462 MB / 1.955 GB, free: 36.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/4.056, allocations: 4 kB / 1.955 GB, free: 36.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009351/4.057, allocations: 445.6 kB / 1.955 GB, free: 35.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/4.058, allocations: 231.6 kB / 1.955 GB, free: 35.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/4.059, allocations: 1.15 MB / 1.956 GB, free: 34.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/4.062, allocations: 223 kB / 1.957 GB, free: 34.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/4.062, allocations: 56 kB / 1.957 GB, free: 33.98 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/4.062, allocations: 4 kB / 1.957 GB, free: 33.98 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002649/4.064, allocations: 1.036 MB / 1.958 GB, free: 32.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/4.065, allocations: 8 kB / 1.958 GB, free: 32.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008435/4.065, allocations: 449.3 kB / 1.958 GB, free: 32.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/4.067, allocations: 243.6 kB / 1.958 GB, free: 32.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/4.068, allocations: 1.139 MB / 1.96 GB, free: 31.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/4.07, allocations: 187.2 kB / 1.96 GB, free: 30.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/4.07, allocations: 56.02 kB / 1.96 GB, free: 30.85 MB / 0.948 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.0003162/4.07, allocations: 124.8 kB / 1.96 GB, free: 30.72 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002664/4.073, allocations: 0.9317 MB / 1.961 GB, free: 29.78 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/4.073, allocations: 130.4 kB / 1.961 GB, free: 29.65 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004266/4.078, allocations: 1.117 MB / 1.962 GB, free: 28.52 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/4.078, allocations: 11.98 kB / 1.962 GB, free: 28.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/4.078, allocations: 0 / 1.962 GB, free: 28.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003697/4.081, allocations: 1.022 MB / 1.963 GB, free: 27.45 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006105/4.088, allocations: 3.006 MB / 1.966 GB, free: 24.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/4.088, allocations: 4 kB / 1.966 GB, free: 24.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008393/4.088, allocations: 156.2 kB / 1.966 GB, free: 24.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008571/4.089, allocations: 436.6 kB / 1.967 GB, free: 23.68 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-05/4.089, allocations: 19.97 kB / 1.967 GB, free: 23.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001361/4.091, allocations: 1.135 MB / 1.968 GB, free: 22.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/4.091, allocations: 4 kB / 1.968 GB, free: 22.49 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002848/4.094, allocations: 1.335 MB / 1.969 GB, free: 21.03 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007188/4.094, allocations: 371.2 kB / 1.969 GB, free: 20.64 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/4.095, allocations: 11.98 kB / 1.969 GB, free: 20.63 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/4.096, allocations: 131.7 kB / 1.969 GB, free: 20.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/4.096, allocations: 56.31 kB / 1.97 GB, free: 20.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.987e-05/4.096, allocations: 43.95 kB / 1.97 GB, free: 20.41 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001037/4.097, allocations: 0.729 MB / 1.97 GB, free: 19.67 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/4.097, allocations: 0 / 1.97 GB, free: 19.67 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003241/4.101, allocations: 0.9857 MB / 1.971 GB, free: 18.68 MB / 0.948 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.004721/4.105, allocations: 3.595 MB / 1.975 GB, free: 14.96 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002508/4.108, allocations: 1.299 MB / 1.976 GB, free: 13.66 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/4.108, allocations: 7.781 kB / 1.976 GB, free: 13.65 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006074/4.108, allocations: 379.8 kB / 1.976 GB, free: 13.28 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002977/4.111, allocations: 0.5901 MB / 1.977 GB, free: 12.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005737/4.117, allocations: 2.172 MB / 1.979 GB, free: 10.44 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/4.118, allocations: 1.24 MB / 1.98 GB, free: 9.16 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001875/4.12, allocations: 357.7 kB / 1.981 GB, free: 8.809 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005901/4.12, allocations: 0.5226 MB / 1.981 GB, free: 8.285 MB / 0.948 GB Notification: Performance of SimCode: time 1.282e-06/4.12, allocations: 0 / 1.981 GB, free: 8.285 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6844/4.805, allocations: 46.54 MB / 2.027 GB, free: 169.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/4.805, allocations: 183 kB / 2.027 GB, free: 169 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.688/8.493, allocations: 0 / 2.027 GB, free: 169 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)