Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.PowerSimplified.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Movers.Validation.PowerSimplified,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_Validation_PowerSimplified",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PowerSimplified,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_Validation_PowerSimplified",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.001142/0.001142, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.771/2.771, allocations: 469.4 MB / 0.742 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001306, allocations: 71.89 kB / 0.9083 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3137, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PowerSimplified): time 0.07682/0.3906, allocations: 75.97 MB / 1.138 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03855/0.4292, allocations: 26.14 MB / 1.163 GB, free: 8.094 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007031/0.4363, allocations: 127.3 kB / 1.164 GB, free: 7.969 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.02281/0.4591, allocations: 14.21 MB / 1.177 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01199/0.4712, allocations: 4.287 MB / 1.182 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.009089/0.4803, allocations: 3.314 MB / 1.185 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.03591/0.5162, allocations: 25.51 MB / 1.21 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006026/0.5223, allocations: 3.017 MB / 1.213 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008393/0.5307, allocations: 3.304 MB / 1.216 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00481/0.5355, allocations: 2.649 MB / 1.218 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001462/0.537, allocations: 352 kB / 1.219 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008071/0.5451, allocations: 3.1 MB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002376/0.5475, allocations: 1.694 MB / 1.223 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004952/0.5524, allocations: 2.62 MB / 1.226 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.5651, allocations: 8.21 MB / 1.234 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5652, allocations: 0 / 1.234 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5652, allocations: 0 / 1.234 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002562/0.5654, allocations: 0 / 1.234 GB, free: 15.55 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.01287/0.5783, allocations: 5.761 MB / 1.24 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5784, allocations: 12.02 kB / 1.24 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005811/0.579, allocations: 257.4 kB / 1.24 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007397/0.5864, allocations: 1.297 MB / 1.241 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01203/0.5984, allocations: 5.924 MB / 1.247 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002811/0.5987, allocations: 164.1 kB / 1.247 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000834/0.5996, allocations: 203.9 kB / 1.247 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5727/1.172, allocations: 2.494 MB / 1.25 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-05/1.172, allocations: 4.781 kB / 1.25 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002329/1.173, allocations: 73.91 kB / 1.25 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.008e-05/1.173, allocations: 53.34 kB / 1.25 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005471/1.178, allocations: 1.987 MB / 1.252 GB, free: 175.3 MB / 0.9981 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.01787/1.196, allocations: 11.35 MB / 1.263 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005854/1.202, allocations: 1.732 MB / 1.265 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001919/1.204, allocations: 0.8078 MB / 1.265 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008391/1.212, allocations: 4.123 MB / 1.269 GB, free: 168 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/1.212, allocations: 46.31 kB / 1.27 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 3.987e-06/1.212, allocations: 0 / 1.27 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97): time 0.01588/1.228, allocations: 5.277 MB / 1.275 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/1.228, allocations: 66.83 kB / 1.275 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01193/1.24, allocations: 5.821 MB / 1.28 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006143/1.241, allocations: 57.09 kB / 1.28 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001846/1.243, allocations: 2.036 MB / 1.282 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005322/1.243, allocations: 360.1 kB / 1.283 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001261/1.245, allocations: 0.7025 MB / 1.283 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.441e-05/1.245, allocations: 304.7 kB / 1.284 GB, free: 161 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003177/1.248, allocations: 1.727 MB / 1.285 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003569/1.251, allocations: 2.565 MB / 1.288 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006006/1.258, allocations: 3.934 MB / 1.292 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-05/1.258, allocations: 7.188 kB / 1.292 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.009419/1.267, allocations: 5.015 MB / 1.297 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/1.267, allocations: 12.81 kB / 1.297 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.166e-05/1.267, allocations: 18.91 kB / 1.297 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009464/1.268, allocations: 486.7 kB / 1.297 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002465/1.271, allocations: 0.5782 MB / 1.298 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003977/1.275, allocations: 6.26 MB / 1.304 GB, free: 148.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004113/1.279, allocations: 211 kB / 1.304 GB, free: 148 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000453/1.279, allocations: 149.8 kB / 1.304 GB, free: 148 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004136/1.283, allocations: 2.65 MB / 1.307 GB, free: 146.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002691/1.286, allocations: 2.437 MB / 1.309 GB, free: 144.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00471/1.291, allocations: 3.643 MB / 1.313 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.356e-05/1.291, allocations: 3.969 kB / 1.313 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=409) (initialization_lambda0): time 0.007919/1.299, allocations: 4.749 MB / 1.317 GB, free: 140.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/1.299, allocations: 14.97 kB / 1.317 GB, free: 140.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/1.299, allocations: 17.91 kB / 1.317 GB, free: 140.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/1.3, allocations: 0.5172 MB / 1.318 GB, free: 139.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/1.302, allocations: 0.5383 MB / 1.318 GB, free: 139.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008744/1.31, allocations: 10.62 MB / 1.329 GB, free: 128.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004159/1.315, allocations: 213.1 kB / 1.329 GB, free: 128 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000424/1.315, allocations: 132 kB / 1.329 GB, free: 127.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (288): * Single equations (assignments): 275 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 4 systems {(1,2), (1,2), (1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0006228/1.316, allocations: 312.8 kB / 1.329 GB, free: 127.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/1.317, allocations: 442.2 kB / 1.33 GB, free: 127.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005509/1.322, allocations: 2.447 MB / 1.332 GB, free: 124.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/1.322, allocations: 12 kB / 1.332 GB, free: 124.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/1.322, allocations: 0 / 1.332 GB, free: 124.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003749/1.326, allocations: 2.054 MB / 1.334 GB, free: 122.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/1.336, allocations: 5.311 MB / 1.339 GB, free: 117.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/1.336, allocations: 3.938 kB / 1.339 GB, free: 117.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/1.338, allocations: 303.2 kB / 1.34 GB, free: 116.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003084/1.338, allocations: 156.7 kB / 1.34 GB, free: 116.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-05/1.338, allocations: 43.89 kB / 1.34 GB, free: 116.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006392/1.339, allocations: 1.388 MB / 1.341 GB, free: 115.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.339, allocations: 4.156 kB / 1.341 GB, free: 115.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00702/1.346, allocations: 3.333 MB / 1.345 GB, free: 111.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001936/1.348, allocations: 0.7177 MB / 1.345 GB, free: 111.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008981/1.349, allocations: 23.98 kB / 1.345 GB, free: 111 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002165/1.351, allocations: 123.9 kB / 1.345 GB, free: 110.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/1.351, allocations: 76.84 kB / 1.345 GB, free: 110.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/1.351, allocations: 59.94 kB / 1.346 GB, free: 110.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005115/1.356, allocations: 3.986 MB / 1.349 GB, free: 106.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.71e-07/1.356, allocations: 0 / 1.349 GB, free: 106.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005993/1.362, allocations: 1.99 MB / 1.351 GB, free: 104.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (pump_y.vol.dynBal.U,pump_dp.vol.dynBal.U,pump_m_flow.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008581/1.371, allocations: 4.747 MB / 1.356 GB, free: 100.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01062/1.382, allocations: 6.291 MB / 1.362 GB, free: 93.83 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.382, allocations: 3.938 kB / 1.362 GB, free: 93.83 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002083/1.384, allocations: 0.8765 MB / 1.363 GB, free: 92.96 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01149/1.395, allocations: 2.458 MB / 1.365 GB, free: 90.62 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06443/1.46, allocations: 45.68 MB / 1.41 GB, free: 41.83 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001982/1.462, allocations: 2.746 MB / 1.413 GB, free: 39.06 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004945/1.467, allocations: 1.184 MB / 1.414 GB, free: 37.88 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002299/1.469, allocations: 1.913 MB / 1.416 GB, free: 35.96 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/1.469, allocations: 4 kB / 1.416 GB, free: 35.96 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2495/1.718, allocations: 138.8 MB / 1.551 GB, free: 10.43 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.58/17.3, allocations: 12.05 kB / 1.551 GB, free: 10.42 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.PowerSimplified.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Movers.Validation.PowerSimplified_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.08 Buildings_latest_Buildings_Fluid_Movers_Validation_PowerSimplified.fmu > Buildings_latest_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe 2>&1)