Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.673/1.673, allocations: 285.6 MB / 293.1 MB, free: 10.16 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.001146/0.001145, allocations: 184.9 kB / 361.4 MB, free: 6.844 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.845/1.845, allocations: 205.3 MB / 0.62 GB, free: 11.66 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.0008844/0.0008844, allocations: 86.52 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.726e-05/2.758e-05, allocations: 4 kB / 0.8518 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7186/0.7186, allocations: 115.3 MB / 0.9644 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.135/1.853, allocations: 425.9 MB / 1.38 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/1.854, allocations: 94.17 kB / 1.38 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.739/3.592, allocations: 0.5506 GB / 1.931 GB, free: 35.82 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.773e-06/3.592, allocations: 0 / 1.931 GB, free: 35.82 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000303/3.593, allocations: 47.92 kB / 1.931 GB, free: 35.77 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.006779/3.6, allocations: 1.953 MB / 1.933 GB, free: 33.76 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/3.6, allocations: 8.031 kB / 1.933 GB, free: 33.75 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005305/3.605, allocations: 0.6845 MB / 1.934 GB, free: 33.06 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004459/3.609, allocations: 1.861 MB / 1.936 GB, free: 31.14 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/3.61, allocations: 88.14 kB / 1.936 GB, free: 31.05 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/3.61, allocations: 83.89 kB / 1.936 GB, free: 30.97 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001989/3.612, allocations: 1.11 MB / 1.937 GB, free: 29.86 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/3.614, allocations: 1.37 MB / 1.938 GB, free: 28.38 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/3.614, allocations: 3.938 kB / 1.938 GB, free: 28.38 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/3.614, allocations: 4 kB / 1.938 GB, free: 28.38 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.811e-05/3.614, allocations: 39.94 kB / 1.938 GB, free: 28.34 MB / 0.9323 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.009406/3.623, allocations: 7.303 MB / 1.945 GB, free: 20.69 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/3.625, allocations: 0.8888 MB / 1.946 GB, free: 19.78 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005304/3.625, allocations: 455.6 kB / 1.947 GB, free: 19.33 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/3.626, allocations: 1.271 MB / 1.948 GB, free: 17.78 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007777/3.627, allocations: 0.5394 MB / 1.948 GB, free: 17.23 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=79): time 3.055e-06/3.627, allocations: 0 / 1.948 GB, free: 17.23 MB / 0.9323 GB Notification: Performance of matching and sorting (n=79): time 0.004759/3.632, allocations: 1.288 MB / 1.95 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/3.632, allocations: 163 kB / 1.95 GB, free: 15.73 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/3.633, allocations: 1 MB / 1.951 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/3.634, allocations: 33.7 kB / 1.951 GB, free: 14.69 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005436/3.634, allocations: 0.7458 MB / 1.952 GB, free: 13.94 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/3.634, allocations: 260.1 kB / 1.952 GB, free: 13.68 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/3.634, allocations: 4 kB / 1.952 GB, free: 13.68 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.271e-05/3.634, allocations: 341.9 kB / 1.952 GB, free: 13.34 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004784/3.635, allocations: 374.5 kB / 1.952 GB, free: 12.97 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006007/3.636, allocations: 0.6624 MB / 1.953 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/3.637, allocations: 0.5413 MB / 1.954 GB, free: 11.64 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/3.637, allocations: 3.953 kB / 1.954 GB, free: 11.63 MB / 0.9323 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00308/3.64, allocations: 1.366 MB / 1.955 GB, free: 10.26 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004028/3.641, allocations: 2.394 MB / 1.957 GB, free: 7.707 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/3.641, allocations: 4 kB / 1.957 GB, free: 7.703 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009175/3.642, allocations: 437.1 kB / 1.958 GB, free: 7.273 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/3.643, allocations: 239.6 kB / 1.958 GB, free: 7.039 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/3.644, allocations: 1.15 MB / 1.959 GB, free: 5.863 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/3.647, allocations: 211.1 kB / 1.959 GB, free: 5.656 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/3.647, allocations: 59.94 kB / 1.959 GB, free: 5.598 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/3.647, allocations: 7.938 kB / 1.959 GB, free: 5.59 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002781/3.649, allocations: 1.182 MB / 1.961 GB, free: 4.406 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/3.65, allocations: 8.812 kB / 1.961 GB, free: 4.398 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008576/3.65, allocations: 436.7 kB / 1.961 GB, free: 3.969 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/3.652, allocations: 243.5 kB / 1.961 GB, free: 3.73 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/3.653, allocations: 1.154 MB / 1.962 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/3.655, allocations: 183.2 kB / 1.962 GB, free: 2.371 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/3.655, allocations: 59.94 kB / 1.963 GB, free: 2.312 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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.0003781/3.656, allocations: 132.7 kB / 1.963 GB, free: 2.176 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004558/3.66, allocations: 1.272 MB / 1.964 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000341/3.661, allocations: 142.3 kB / 1.964 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7114/4.372, allocations: 1.283 MB / 1.965 GB, free: 158.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.029e-05/4.372, allocations: 13.2 kB / 1.965 GB, free: 158.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/4.372, allocations: 1.312 kB / 1.965 GB, free: 158.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002588/4.375, allocations: 1.097 MB / 1.966 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00611/4.381, allocations: 2.811 MB / 1.969 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/4.381, allocations: 1.438 kB / 1.969 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/4.382, allocations: 183.5 kB / 1.969 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001079/4.383, allocations: 428.3 kB / 1.97 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.312e-05/4.383, allocations: 27.25 kB / 1.97 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/4.385, allocations: 1.144 MB / 1.971 GB, free: 157.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/4.385, allocations: 3.562 kB / 1.971 GB, free: 157.2 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002828/4.388, allocations: 1.342 MB / 1.972 GB, free: 157 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008383/4.389, allocations: 402.3 kB / 1.973 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/4.389, allocations: 10.7 kB / 1.973 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001761/4.39, allocations: 155 kB / 1.973 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/4.391, allocations: 58.91 kB / 1.973 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/4.391, allocations: 54.89 kB / 1.973 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001406/4.392, allocations: 0.7559 MB / 1.974 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.6e-07/4.392, allocations: 0 / 1.974 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003555/4.396, allocations: 1.042 MB / 1.975 GB, free: 156.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.005527/4.401, allocations: 3.208 MB / 1.978 GB, free: 155.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003177/4.405, allocations: 1.561 MB / 1.979 GB, free: 155.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/4.405, allocations: 1.438 kB / 1.979 GB, free: 155.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009835/4.406, allocations: 496.2 kB / 1.98 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004126/4.41, allocations: 0.6768 MB / 1.98 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007301/4.417, allocations: 2.27 MB / 1.983 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009932/4.418, allocations: 1.302 MB / 1.984 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002594/4.421, allocations: 460.8 kB / 1.984 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008679/4.422, allocations: 0.5963 MB / 1.985 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of SimCode: time 6.81e-07/4.422, allocations: 0 / 1.985 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1325/4.554, allocations: 51.37 MB / 2.035 GB, free: 152.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/4.554, allocations: 187.9 kB / 2.035 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.661/9.216, allocations: 0 / 2.035 GB, free: 152.4 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)