Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 2.127/2.127, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.001132/0.001133, allocations: 181.7 kB / 371.6 MB, free: 3.406 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.847/1.847, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0009311/0.0009311, allocations: 89.94 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.553e-05/4.557e-05, allocations: 0 / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3036, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.756/2.059, allocations: 427.6 MB / 1.397 GB, free: 259.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/2.059, allocations: 89.94 kB / 1.398 GB, free: 259.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.867/3.926, allocations: 0.5534 GB / 1.951 GB, free: 148.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.845e-06/3.926, allocations: 0 / 1.951 GB, free: 148.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004117/3.927, allocations: 45.39 kB / 1.951 GB, free: 148.4 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.007362/3.934, allocations: 1.95 MB / 1.953 GB, free: 147 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/3.934, allocations: 15.22 kB / 1.953 GB, free: 147 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006593/3.935, allocations: 184.9 kB / 1.953 GB, free: 146.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005364/3.94, allocations: 0.6786 MB / 1.954 GB, free: 146.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005082/3.945, allocations: 1.86 MB / 1.956 GB, free: 145.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/3.945, allocations: 136.3 kB / 1.956 GB, free: 145.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/3.946, allocations: 129.6 kB / 1.956 GB, free: 145.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/3.948, allocations: 1.543 MB / 1.957 GB, free: 144.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/3.948, allocations: 6.875 kB / 1.957 GB, free: 144.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/3.948, allocations: 57.41 kB / 1.957 GB, free: 144 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.285e-05/3.948, allocations: 38.92 kB / 1.957 GB, free: 144 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/3.95, allocations: 1.195 MB / 1.959 GB, free: 143.5 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.01023/3.961, allocations: 7.527 MB / 1.966 GB, free: 137.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/3.962, allocations: 0.9282 MB / 1.967 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007051/3.963, allocations: 476.3 kB / 1.967 GB, free: 136.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/3.964, allocations: 1.271 MB / 1.969 GB, free: 134.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009325/3.965, allocations: 0.5793 MB / 1.969 GB, free: 134.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 4.138e-06/3.965, allocations: 0 / 1.969 GB, free: 134.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.003765/3.969, allocations: 1.209 MB / 1.97 GB, free: 133.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/3.969, allocations: 163 kB / 1.97 GB, free: 132.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/3.971, allocations: 1.156 MB / 1.972 GB, free: 131.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001229/3.971, allocations: 49.7 kB / 1.972 GB, free: 131.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005369/3.971, allocations: 0.7345 MB / 1.972 GB, free: 131 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/3.972, allocations: 275.2 kB / 1.973 GB, free: 130.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.238e-05/3.972, allocations: 27.69 kB / 1.973 GB, free: 130.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.941e-05/3.972, allocations: 337.9 kB / 1.973 GB, free: 130.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005883/3.972, allocations: 389.9 kB / 1.973 GB, free: 129.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007475/3.973, allocations: 0.6763 MB / 1.974 GB, free: 129.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006439/3.974, allocations: 444.5 kB / 1.974 GB, free: 128.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/3.974, allocations: 4 kB / 1.974 GB, free: 128.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00217/3.976, allocations: 1.32 MB / 1.976 GB, free: 127.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005731/3.977, allocations: 2.405 MB / 1.978 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/3.977, allocations: 4 kB / 1.978 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001601/3.978, allocations: 0.5117 MB / 1.979 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/3.98, allocations: 239.6 kB / 1.979 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/3.981, allocations: 1.1 MB / 1.98 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/3.983, allocations: 242.8 kB / 1.98 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/3.983, allocations: 63.94 kB / 1.98 GB, free: 122.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/3.983, allocations: 5.562 kB / 1.98 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001804/3.985, allocations: 1.159 MB / 1.981 GB, free: 121.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/3.985, allocations: 4 kB / 1.981 GB, free: 121.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/3.986, allocations: 0.5084 MB / 1.982 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/3.988, allocations: 239.5 kB / 1.982 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/3.989, allocations: 1.092 MB / 1.983 GB, free: 119.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/3.991, allocations: 230.8 kB / 1.983 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/3.991, allocations: 55.94 kB / 1.983 GB, free: 119.4 MB / 0.948 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.0003859/3.992, allocations: 169.2 kB / 1.984 GB, free: 119.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002935/3.992, allocations: 146.2 kB / 1.984 GB, free: 119.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002691/3.995, allocations: 1.344 MB / 1.985 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/3.995, allocations: 8 kB / 1.985 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/3.995, allocations: 4 kB / 1.985 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001769/3.996, allocations: 1.125 MB / 1.986 GB, free: 116.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005401/4.002, allocations: 3.004 MB / 1.989 GB, free: 113.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/4.002, allocations: 7.188 kB / 1.989 GB, free: 113.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/4.003, allocations: 175.7 kB / 1.989 GB, free: 113.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/4.005, allocations: 0.504 MB / 1.99 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.647e-05/4.005, allocations: 35.94 kB / 1.99 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/4.006, allocations: 1.08 MB / 1.991 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/4.006, allocations: 0 / 1.991 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/4.008, allocations: 1.37 MB / 1.992 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/4.009, allocations: 426.8 kB / 1.993 GB, free: 109.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004132/4.01, allocations: 20 kB / 1.993 GB, free: 109.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/4.012, allocations: 167.7 kB / 1.993 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/4.012, allocations: 56.7 kB / 1.993 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/4.012, allocations: 51.94 kB / 1.993 GB, free: 109.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001657/4.014, allocations: 0.9048 MB / 1.994 GB, free: 108.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.113e-06/4.014, allocations: 0 / 1.994 GB, free: 108.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004139/4.018, allocations: 1.072 MB / 1.995 GB, free: 107.5 MB / 0.948 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.006058/4.024, allocations: 3.278 MB / 1.998 GB, free: 104.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003381/4.027, allocations: 1.647 MB / 2 GB, free: 102.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/4.027, allocations: 0 / 2 GB, free: 102.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008576/4.028, allocations: 0.5125 MB / 2 GB, free: 102.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004452/4.033, allocations: 0.7604 MB / 2.001 GB, free: 101.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006916/4.039, allocations: 2.368 MB / 2.003 GB, free: 99.09 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009889/4.04, allocations: 1.304 MB / 2.004 GB, free: 97.76 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002775/4.043, allocations: 494.1 kB / 2.005 GB, free: 97.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008309/4.044, allocations: 0.5929 MB / 2.005 GB, free: 96.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.443e-06/4.044, allocations: 0 / 2.005 GB, free: 96.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09845/4.143, allocations: 59.76 MB / 2.064 GB, free: 37.37 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/4.143, allocations: 232 kB / 2.064 GB, free: 37.14 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.083/9.226, allocations: 0 / 2.064 GB, free: 37.14 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)