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.001112/0.001112, allocations: 108 kB / 15.61 MB, free: 152 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.001361/0.001361, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.579/1.579, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.761/1.761, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001406/0.001406, allocations: 69 kB / 0.6716 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.227, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.66/0.8871, allocations: 161.5 MB / 0.9412 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00287/0.89, allocations: 1.692 MB / 0.9429 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005114/0.8905, allocations: 14.12 kB / 0.9429 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006525/0.8913, allocations: 154.8 kB / 0.943 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.893, allocations: 0.5089 MB / 0.9435 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.8943, allocations: 424.4 kB / 0.9439 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009306/0.8952, allocations: 0.5593 MB / 0.9445 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003485/0.8956, allocations: 175.9 kB / 0.9446 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006337/0.8962, allocations: 325.4 kB / 0.9449 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.8964, allocations: 150 kB / 0.9451 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/0.8965, allocations: 16.66 kB / 0.9451 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.8978, allocations: 0.6918 MB / 0.9458 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.8979, allocations: 79.34 kB / 0.9458 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.898, allocations: 112.2 kB / 0.946 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008604/0.8989, allocations: 0.4976 MB / 0.9464 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8989, allocations: 0.6562 kB / 0.9464 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.474e-06/0.8989, allocations: 0 / 0.9464 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.8989, allocations: 5.891 kB / 0.9464 GB, free: 1.426 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.0008902/0.8998, allocations: 0.5791 MB / 0.947 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.8999, allocations: 9.531 kB / 0.947 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.491e-05/0.9, allocations: 45.92 kB / 0.9471 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003402/0.9003, allocations: 55.12 kB / 0.9471 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.9007, allocations: 294.1 kB / 0.9474 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.9007, allocations: 9.688 kB / 0.9474 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.9007, allocations: 13.75 kB / 0.9474 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/0.9011, allocations: 202.4 kB / 0.9476 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.9011, allocations: 3.984 kB / 0.9476 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.9012, allocations: 9.156 kB / 0.9476 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.9012, allocations: 4.375 kB / 0.9476 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000349/0.9015, allocations: 129.7 kB / 0.9478 GB, free: 16.6 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.001073/0.9026, allocations: 0.7833 MB / 0.9485 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.9029, allocations: 88.34 kB / 0.9486 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.9031, allocations: 77.92 kB / 0.9487 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003595/0.9035, allocations: 187.8 kB / 0.9489 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.9035, allocations: 35.34 kB / 0.9489 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.9035, allocations: 0 / 0.9489 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0007493/0.9043, allocations: 219.3 kB / 0.9491 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.9043, allocations: 56.66 kB / 0.9492 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.9047, allocations: 268 kB / 0.9494 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.9047, allocations: 27.42 kB / 0.9494 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.9048, allocations: 144.4 kB / 0.9496 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.9048, allocations: 35.89 kB / 0.9496 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.9049, allocations: 29.78 kB / 0.9496 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.905, allocations: 333.1 kB / 0.95 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.9052, allocations: 54.14 kB / 0.95 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.9054, allocations: 93.62 kB / 0.9501 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.9057, allocations: 124.1 kB / 0.9502 GB, free: 15 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9057, allocations: 0 / 0.9502 GB, free: 15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003327/0.906, allocations: 156.2 kB / 0.9504 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.906, allocations: 7.328 kB / 0.9504 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.906, allocations: 2.062 kB / 0.9504 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.9061, allocations: 6.531 kB / 0.9504 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.9062, allocations: 27.59 kB / 0.9504 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.9062, allocations: 3.109 kB / 0.9504 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.9064, allocations: 17.42 kB / 0.9504 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.9064, allocations: 4.469 kB / 0.9504 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001891/0.9066, allocations: 150.4 kB / 0.9506 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001412/0.9068, allocations: 94.72 kB / 0.9507 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002235/0.907, allocations: 118.4 kB / 0.9508 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.907, allocations: 1.062 kB / 0.9508 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003146/0.9073, allocations: 156.1 kB / 0.9509 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.714e-06/0.9074, allocations: 5.094 kB / 0.9509 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-06/0.9074, allocations: 5.531 kB / 0.9509 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.466e-06/0.9074, allocations: 1.875 kB / 0.9509 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.9075, allocations: 31.45 kB / 0.951 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.9075, allocations: 1.625 kB / 0.951 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.9077, allocations: 16.36 kB / 0.951 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.9077, allocations: 7.344 kB / 0.951 GB, free: 14.7 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.0001088/0.9078, allocations: 186.9 kB / 0.9512 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.9079, allocations: 26.89 kB / 0.9512 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003561/0.9082, allocations: 166.1 kB / 0.9514 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.9082, allocations: 2.25 kB / 0.9514 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.9082, allocations: 0 / 0.9514 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.9082, allocations: 0 / 0.9514 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008487/0.9091, allocations: 0.5948 MB / 0.9519 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.9091, allocations: 1.062 kB / 0.9519 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.9092, allocations: 22.88 kB / 0.952 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.9092, allocations: 2.188 kB / 0.952 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.9093, allocations: 10.25 kB / 0.952 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.9093, allocations: 5.312 kB / 0.952 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.9093, allocations: 6.359 kB / 0.952 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.9096, allocations: 297 kB / 0.9523 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.918e-05/0.9098, allocations: 119.7 kB / 0.9524 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.9098, allocations: 2.938 kB / 0.9524 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.91, allocations: 11.97 kB / 0.9524 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.91, allocations: 18.12 kB / 0.9524 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.9101, allocations: 9.094 kB / 0.9524 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001741/0.9102, allocations: 196.1 kB / 0.9526 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9102, allocations: 0 / 0.9526 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005147/0.9108, allocations: 98.06 kB / 0.9527 GB, free: 13.64 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.0009038/0.9117, allocations: 0.8823 MB / 0.9536 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004725/0.9122, allocations: 174.4 kB / 0.9537 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.9122, allocations: 0 / 0.9537 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.9123, allocations: 58.47 kB / 0.9538 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007299/0.9131, allocations: 134.9 kB / 0.9539 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003031/0.9161, allocations: 2.345 MB / 0.9562 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.9165, allocations: 0.7623 MB / 0.9569 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002717/0.9168, allocations: 74.89 kB / 0.957 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.9169, allocations: 64.34 kB / 0.9571 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of SimCode: time 2.385e-06/0.917, allocations: 1.125 kB / 0.9571 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.9428, allocations: 6.836 MB / 0.9638 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.727/8.67, allocations: 10.94 kB / 0.9638 GB, free: 9.871 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)