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.001241/0.001241, allocations: 105.4 kB / 15.7 MB, free: 24 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.001149/0.001149, allocations: 187.1 kB / 16.64 MB, free: 6.594 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.447/1.447, allocations: 205.1 MB / 222.5 MB, free: 4.605 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.747/1.747, allocations: 292.3 MB / 0.549 GB, free: 12.79 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: 71.06 kB / 0.6718 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2221, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.6904/0.9126, allocations: 161.5 MB / 0.9414 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002602/0.9152, allocations: 1.693 MB / 0.943 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002991/0.9155, allocations: 15.41 kB / 0.943 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005869/0.9161, allocations: 161.4 kB / 0.9432 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.9175, allocations: 0.5116 MB / 0.9437 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.9186, allocations: 421.1 kB / 0.9441 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007934/0.9194, allocations: 0.5646 MB / 0.9446 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003177/0.9197, allocations: 174.7 kB / 0.9448 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006145/0.9203, allocations: 325.3 kB / 0.9451 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.9206, allocations: 156.2 kB / 0.9453 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.9206, allocations: 13.28 kB / 0.9453 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.9217, allocations: 0.6905 MB / 0.9459 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.9218, allocations: 77.44 kB / 0.946 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.922, allocations: 120.7 kB / 0.9461 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007634/0.9228, allocations: 0.4964 MB / 0.9466 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.9228, allocations: 5.062 kB / 0.9466 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9228, allocations: 0 / 0.9466 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.9228, allocations: 0 / 0.9466 GB, free: 1.488 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.0008857/0.9237, allocations: 0.585 MB / 0.9472 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.9237, allocations: 9.156 kB / 0.9472 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.033e-05/0.9238, allocations: 50.77 kB / 0.9473 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003408/0.9242, allocations: 48.77 kB / 0.9473 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.9247, allocations: 310.1 kB / 0.9476 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.9247, allocations: 12.97 kB / 0.9476 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.9247, allocations: 18.3 kB / 0.9476 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.9252, allocations: 193.6 kB / 0.9478 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.9252, allocations: 4.656 kB / 0.9478 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.9252, allocations: 4.219 kB / 0.9478 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.9252, allocations: 4.094 kB / 0.9478 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.9256, allocations: 129.1 kB / 0.9479 GB, free: 16.65 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.001146/0.9268, allocations: 0.787 MB / 0.9487 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.927, allocations: 80.23 kB / 0.9488 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.9272, allocations: 77.88 kB / 0.9489 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003031/0.9276, allocations: 189.2 kB / 0.949 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.9276, allocations: 36.12 kB / 0.9491 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.9276, allocations: 0 / 0.9491 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0007722/0.9284, allocations: 223 kB / 0.9493 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.9284, allocations: 52.59 kB / 0.9493 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.9288, allocations: 267.2 kB / 0.9496 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.9288, allocations: 30.48 kB / 0.9496 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.9289, allocations: 143.8 kB / 0.9498 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.929, allocations: 39.59 kB / 0.9498 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.929, allocations: 30.27 kB / 0.9498 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.9292, allocations: 335.7 kB / 0.9502 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.9293, allocations: 45.38 kB / 0.9502 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.9295, allocations: 90.92 kB / 0.9503 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.9298, allocations: 125 kB / 0.9504 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.9298, allocations: 0 / 0.9504 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003282/0.9301, allocations: 163.7 kB / 0.9506 GB, free: 15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.9302, allocations: 7.766 kB / 0.9506 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.9302, allocations: 1.688 kB / 0.9506 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.9302, allocations: 10 kB / 0.9506 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.9303, allocations: 19.19 kB / 0.9506 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.9303, allocations: 3.594 kB / 0.9506 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.9305, allocations: 15.14 kB / 0.9506 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.9305, allocations: 8.781 kB / 0.9506 GB, free: 15 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002009/0.9308, allocations: 147.7 kB / 0.9508 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001483/0.9309, allocations: 99.61 kB / 0.9509 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002292/0.9312, allocations: 118 kB / 0.951 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.9312, allocations: 0 / 0.951 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003258/0.9315, allocations: 158.5 kB / 0.9511 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/0.9315, allocations: 5.25 kB / 0.9511 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-06/0.9315, allocations: 1.25 kB / 0.9511 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.998e-06/0.9315, allocations: 1.469 kB / 0.9511 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.9316, allocations: 29.06 kB / 0.9512 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.636e-06/0.9316, allocations: 1.156 kB / 0.9512 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.9318, allocations: 24.11 kB / 0.9512 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.9318, allocations: 4.656 kB / 0.9512 GB, free: 14.76 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.0001138/0.9319, allocations: 189.7 kB / 0.9514 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.932, allocations: 24 kB / 0.9514 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000373/0.9324, allocations: 165.6 kB / 0.9515 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.9324, allocations: 1.156 kB / 0.9515 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.9324, allocations: 3.984 kB / 0.9515 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.9324, allocations: 1.281 kB / 0.9516 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008916/0.9333, allocations: 0.5862 MB / 0.9521 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.9333, allocations: 5.844 kB / 0.9521 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.9334, allocations: 28.91 kB / 0.9522 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.9334, allocations: 2.594 kB / 0.9522 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.9335, allocations: 3.75 kB / 0.9522 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.9335, allocations: 1.406 kB / 0.9522 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.9335, allocations: 4.062 kB / 0.9522 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.9339, allocations: 298 kB / 0.9525 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.914e-05/0.934, allocations: 119.3 kB / 0.9526 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.934, allocations: 3.188 kB / 0.9526 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.9342, allocations: 19.27 kB / 0.9526 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.9342, allocations: 19.77 kB / 0.9526 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.9343, allocations: 8.969 kB / 0.9526 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001868/0.9345, allocations: 195.8 kB / 0.9528 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9345, allocations: 0 / 0.9528 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005053/0.935, allocations: 91.59 kB / 0.9529 GB, free: 13.7 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.0009267/0.9359, allocations: 0.896 MB / 0.9538 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004597/0.9364, allocations: 166.6 kB / 0.9539 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9364, allocations: 1.203 kB / 0.9539 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.9365, allocations: 67.95 kB / 0.954 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007262/0.9373, allocations: 118.4 kB / 0.9541 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.9402, allocations: 2.344 MB / 0.9564 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.9406, allocations: 0.7534 MB / 0.9571 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000235/0.9408, allocations: 74.11 kB / 0.9572 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.9409, allocations: 66.2 kB / 0.9573 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of SimCode: time 1.643e-06/0.941, allocations: 0 / 0.9573 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.966, allocations: 6.853 MB / 0.964 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.639/8.605, allocations: 4.609 kB / 0.964 GB, free: 9.926 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)