Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json 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/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008753/0.0008754, allocations: 89.66 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005481/0.005481, allocations: 174.1 kB / 16.27 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.162/2.162, allocations: 390.9 MB / 0.6664 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.0002847, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5236/0.5239, allocations: 142.4 MB / 0.9552 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.0581/0.5821, allocations: 68.25 MB / 1.022 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01852/0.6006, allocations: 14.41 MB / 1.036 GB, free: 12.43 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/0.6024, allocations: 63.62 kB / 1.036 GB, free: 12.36 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001619/0.604, allocations: 0.7576 MB / 1.037 GB, free: 11.6 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004795/0.6088, allocations: 2.33 MB / 1.039 GB, free: 9.266 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003685/0.6125, allocations: 1.785 MB / 1.041 GB, free: 7.496 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005097/0.6176, allocations: 5.88 MB / 1.046 GB, free: 1.602 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/0.6191, allocations: 1.285 MB / 1.048 GB, free: 292 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00195/0.621, allocations: 1.427 MB / 1.049 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.6222, allocations: 1.194 MB / 1.05 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.6223, allocations: 68 kB / 1.05 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002906/0.6252, allocations: 1.736 MB / 1.052 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002738/0.6255, allocations: 322.6 kB / 1.052 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0007267/0.6263, allocations: 0.9033 MB / 1.053 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002984/0.6293, allocations: 3.353 MB / 1.056 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6293, allocations: 0 / 1.056 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6293, allocations: 0 / 1.056 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.6293, allocations: 0 / 1.056 GB, free: 7.254 MB / 0.8106 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.002928/0.6322, allocations: 1.944 MB / 1.058 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.6323, allocations: 12.03 kB / 1.058 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001961/0.6325, allocations: 181.6 kB / 1.059 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005132/0.6376, allocations: 0.7437 MB / 1.059 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.6396, allocations: 1.557 MB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.6397, allocations: 128 kB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.6399, allocations: 116 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003465/0.6434, allocations: 1.685 MB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.6434, allocations: 3.938 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.6436, allocations: 52 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.95e-05/0.6436, allocations: 39.94 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0044/0.648, allocations: 1.531 MB / 1.064 GB, free: 15.02 MB / 0.8262 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.008222/0.6562, allocations: 7.295 MB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002195/0.6584, allocations: 0.8419 MB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001629/0.6601, allocations: 0.5256 MB / 1.073 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/0.6612, allocations: 1.27 MB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.6613, allocations: 43.12 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=70): time 2.154e-06/0.6613, allocations: 0 / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=70): time 0.02877/0.69, allocations: 4.319 MB / 1.078 GB, free: 12 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.6901, allocations: 111.4 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/0.692, allocations: 1.371 MB / 1.08 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.229e-05/0.6921, allocations: 49.7 kB / 1.08 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005141/0.6926, allocations: 0.6803 MB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.6928, allocations: 248.4 kB / 1.081 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.6929, allocations: 69.69 kB / 1.081 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.693, allocations: 341.9 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/0.6949, allocations: 0.525 MB / 1.082 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/0.6969, allocations: 0.7901 MB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0035/0.7004, allocations: 1.191 MB / 1.083 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.7004, allocations: 7.938 kB / 1.083 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004817/0.7053, allocations: 1.632 MB / 1.085 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.7054, allocations: 284.6 kB / 1.085 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.7054, allocations: 4 kB / 1.085 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001851/0.7073, allocations: 0.5652 MB / 1.086 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.7085, allocations: 259.6 kB / 1.086 GB, free: 7.551 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.7104, allocations: 1.175 MB / 1.087 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/0.7125, allocations: 274.6 kB / 1.088 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.7127, allocations: 55.95 kB / 1.088 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/0.7127, allocations: 4 kB / 1.088 GB, free: 6.023 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004554/0.7172, allocations: 1.48 MB / 1.089 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.7173, allocations: 8 kB / 1.089 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001713/0.719, allocations: 0.5712 MB / 1.09 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.7202, allocations: 251.6 kB / 1.09 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.722, allocations: 1.173 MB / 1.091 GB, free: 2.516 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.724, allocations: 254.8 kB / 1.091 GB, free: 2.266 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.7241, allocations: 52.2 kB / 1.091 GB, free: 2.215 MB / 0.8419 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 (heaPum.com.isOn,$PRE.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0006573/0.7248, allocations: 459.4 kB / 1.092 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/0.725, allocations: 146.2 kB / 1.092 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004214/0.7293, allocations: 1.396 MB / 1.093 GB, free: 192 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.7293, allocations: 15.92 kB / 1.093 GB, free: 176 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.7293, allocations: 4 kB / 1.093 GB, free: 172 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00362/0.7329, allocations: 1.222 MB / 1.094 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007384/0.7403, allocations: 3.508 MB / 1.098 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.7403, allocations: 4 kB / 1.098 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008485/0.7412, allocations: 151.9 kB / 1.098 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001789/0.743, allocations: 0.5547 MB / 1.099 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.7431, allocations: 35.91 kB / 1.099 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/0.7449, allocations: 1.166 MB / 1.1 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.745, allocations: 4 kB / 1.1 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004224/0.7492, allocations: 1.493 MB / 1.101 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006537/0.7498, allocations: 394.9 kB / 1.102 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002463/0.7501, allocations: 16 kB / 1.102 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001826/0.7519, allocations: 163.7 kB / 1.102 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.7521, allocations: 60.3 kB / 1.102 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.122e-05/0.7522, allocations: 43.95 kB / 1.102 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001577/0.7537, allocations: 0.9615 MB / 1.103 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7537, allocations: 3.938 kB / 1.103 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002317/0.7561, allocations: 0.8967 MB / 1.104 GB, free: 5.152 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005473/0.7616, allocations: 2.465 MB / 1.106 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00647/0.768, allocations: 1.913 MB / 1.108 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.7681, allocations: 7.781 kB / 1.108 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001878/0.7699, allocations: 0.5614 MB / 1.109 GB, free: 144 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0042/0.7741, allocations: 0.7996 MB / 1.109 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03014/0.8043, allocations: 13.45 MB / 1.122 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009522/0.8053, allocations: 1.211 MB / 1.124 GB, free: 40 kB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001754/0.807, allocations: 338.5 kB / 1.124 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000885/0.8079, allocations: 0.5656 MB / 1.124 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of SimCode: time 7.82e-07/0.808, allocations: 0 / 1.124 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08714/0.8951, allocations: 51.01 MB / 1.174 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003615/0.8955, allocations: 290.8 kB / 1.175 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.06/3.956, allocations: 0 / 1.175 GB, free: 12.31 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)