Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_PressureDrop",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.001206/0.001206, allocations: 109.4 kB / 15.69 MB, free: 128 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.001224/0.001224, allocations: 188.4 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.74/1.74, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002529/0.002529, allocations: 70.64 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2498, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.6399/0.8897, allocations: 161.5 MB / 0.9414 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002769/0.8925, allocations: 1.701 MB / 0.943 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003874/0.893, allocations: 8.25 kB / 0.943 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005961/0.8936, allocations: 158.9 kB / 0.9432 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.895, allocations: 0.5121 MB / 0.9437 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.8962, allocations: 421.4 kB / 0.9441 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009758/0.8972, allocations: 0.5625 MB / 0.9446 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003424/0.8976, allocations: 182.9 kB / 0.9448 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006748/0.8983, allocations: 325.1 kB / 0.9451 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.8985, allocations: 148.9 kB / 0.9452 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.436e-05/0.8986, allocations: 13.59 kB / 0.9453 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.8998, allocations: 0.6967 MB / 0.9459 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.9, allocations: 79 kB / 0.946 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.9001, allocations: 119.5 kB / 0.9461 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000778/0.9009, allocations: 0.4946 MB / 0.9466 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.9009, allocations: 0 / 0.9466 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9009, allocations: 1.094 kB / 0.9466 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.9009, allocations: 1.125 kB / 0.9466 GB, free: 1.457 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009281/0.9019, allocations: 0.5891 MB / 0.9472 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.9019, allocations: 9.5 kB / 0.9472 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.363e-05/0.902, allocations: 48.7 kB / 0.9472 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003724/0.9024, allocations: 52.02 kB / 0.9473 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005034/0.9029, allocations: 307 kB / 0.9476 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.9029, allocations: 10.16 kB / 0.9476 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.903, allocations: 16.84 kB / 0.9476 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004567/0.9034, allocations: 194 kB / 0.9478 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.9034, allocations: 1.766 kB / 0.9478 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.9035, allocations: 9.219 kB / 0.9478 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.9035, allocations: 3.406 kB / 0.9478 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003852/0.9039, allocations: 129.9 kB / 0.9479 GB, free: 16.62 MB / 0.7325 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.001242/0.9051, allocations: 0.7862 MB / 0.9487 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.9055, allocations: 86.08 kB / 0.9488 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.9057, allocations: 74.86 kB / 0.9489 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003472/0.906, allocations: 190.9 kB / 0.949 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.9061, allocations: 35.48 kB / 0.9491 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.9061, allocations: 0 / 0.9491 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0007917/0.9069, allocations: 221 kB / 0.9493 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.9069, allocations: 60.8 kB / 0.9493 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.9073, allocations: 266.2 kB / 0.9496 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.9074, allocations: 31.05 kB / 0.9496 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.9075, allocations: 140.9 kB / 0.9498 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.9075, allocations: 39.28 kB / 0.9498 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-05/0.9076, allocations: 23.88 kB / 0.9498 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.9077, allocations: 336 kB / 0.9501 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.9079, allocations: 50.09 kB / 0.9502 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.9081, allocations: 91.97 kB / 0.9503 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.9084, allocations: 127.2 kB / 0.9504 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.9084, allocations: 0 / 0.9504 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003654/0.9088, allocations: 153.7 kB / 0.9505 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.9088, allocations: 8.188 kB / 0.9506 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.9088, allocations: 3.25 kB / 0.9506 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.9088, allocations: 5.375 kB / 0.9506 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.909, allocations: 23.98 kB / 0.9506 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.909, allocations: 10.41 kB / 0.9506 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.9092, allocations: 12.39 kB / 0.9506 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.9092, allocations: 11.72 kB / 0.9506 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002515/0.9095, allocations: 144.3 kB / 0.9508 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001572/0.9097, allocations: 91.48 kB / 0.9508 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002463/0.9099, allocations: 125.4 kB / 0.951 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.62e-07/0.9099, allocations: 0 / 0.951 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003365/0.9103, allocations: 156.1 kB / 0.9511 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.9103, allocations: 8.062 kB / 0.9511 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/0.9103, allocations: 5.219 kB / 0.9511 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-06/0.9103, allocations: 1.406 kB / 0.9511 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.9104, allocations: 26.67 kB / 0.9512 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.9104, allocations: 3.281 kB / 0.9512 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.9106, allocations: 22.67 kB / 0.9512 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.9106, allocations: 3.562 kB / 0.9512 GB, free: 14.73 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.9107, allocations: 183.9 kB / 0.9514 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.9108, allocations: 28.39 kB / 0.9514 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003686/0.9112, allocations: 164.3 kB / 0.9515 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.9112, allocations: 2.469 kB / 0.9515 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.9112, allocations: 0 / 0.9515 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.9112, allocations: 0 / 0.9515 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008683/0.9121, allocations: 0.5912 MB / 0.9521 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.9121, allocations: 4.688 kB / 0.9521 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.9122, allocations: 19.92 kB / 0.9521 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.9122, allocations: 3.219 kB / 0.9521 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.9122, allocations: 9.938 kB / 0.9522 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.9123, allocations: 5.391 kB / 0.9522 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.9123, allocations: 8.344 kB / 0.9522 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.9126, allocations: 301.2 kB / 0.9525 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.9128, allocations: 117 kB / 0.9526 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.9128, allocations: 3.406 kB / 0.9526 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.913, allocations: 15.86 kB / 0.9526 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.913, allocations: 16.7 kB / 0.9526 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.9131, allocations: 4.281 kB / 0.9526 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000193/0.9133, allocations: 199.5 kB / 0.9528 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9133, allocations: 0.9688 kB / 0.9528 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005094/0.9138, allocations: 96.75 kB / 0.9529 GB, free: 13.67 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008776/0.9147, allocations: 0.8899 MB / 0.9538 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004671/0.9151, allocations: 170 kB / 0.9539 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.9152, allocations: 0 / 0.9539 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.9153, allocations: 60.47 kB / 0.954 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007199/0.916, allocations: 119 kB / 0.9541 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.9189, allocations: 2.343 MB / 0.9564 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.9192, allocations: 0.7603 MB / 0.9571 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002238/0.9195, allocations: 70.95 kB / 0.9572 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.9196, allocations: 71.14 kB / 0.9573 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.9196, allocations: 0 / 0.9573 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.9438, allocations: 6.856 MB / 0.964 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.664/8.608, allocations: 3.969 kB / 0.964 GB, free: 9.895 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)