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.00101/0.00101, allocations: 90.52 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.006891/0.006892, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.416/1.416, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.757/1.757, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005246/0.0005247, allocations: 10.94 kB / 0.6744 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2327, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.7734/1.006, allocations: 157.2 MB / 0.9415 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002915/1.009, allocations: 1.693 MB / 0.9432 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000302/1.009, allocations: 10.25 kB / 0.9432 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005799/1.01, allocations: 134 kB / 0.9433 GB, free: 476 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001363/1.011, allocations: 491.8 kB / 0.9438 GB, free: 376 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001426/1.013, allocations: 377.2 kB / 0.9441 GB, free: 344 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001618/1.014, allocations: 0.7553 MB / 0.9449 GB, free: 252 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004742/1.015, allocations: 149.4 kB / 0.945 GB, free: 228 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/1.016, allocations: 293.9 kB / 0.9453 GB, free: 180 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003932/1.016, allocations: 157.2 kB / 0.9454 GB, free: 172 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.4e-05/1.016, allocations: 7.844 kB / 0.9454 GB, free: 172 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/1.019, allocations: 0.77 MB / 0.9462 GB, free: 108 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002246/1.019, allocations: 84.34 kB / 0.9463 GB, free: 100 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003378/1.02, allocations: 134.2 kB / 0.9464 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001347/1.021, allocations: 0.5089 MB / 0.9469 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.021, allocations: 0 / 0.9469 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.729e-06/1.021, allocations: 4.5 kB / 0.9469 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.317e-06/1.021, allocations: 0 / 0.9469 GB, free: 16.02 MB / 0.7325 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.001196/1.022, allocations: 0.5422 MB / 0.9474 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.279e-05/1.022, allocations: 10.16 kB / 0.9474 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.046e-05/1.022, allocations: 47.33 kB / 0.9475 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00061/1.023, allocations: 56.61 kB / 0.9475 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005313/1.024, allocations: 286 kB / 0.9478 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/1.024, allocations: 13.06 kB / 0.9478 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/1.024, allocations: 13.53 kB / 0.9478 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/1.024, allocations: 200.5 kB / 0.948 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/1.024, allocations: 0 / 0.948 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/1.024, allocations: 4.938 kB / 0.948 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/1.024, allocations: 9.922 kB / 0.948 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/1.025, allocations: 139.7 kB / 0.9482 GB, free: 15.2 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.001596/1.026, allocations: 0.7893 MB / 0.949 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/1.027, allocations: 92.16 kB / 0.949 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/1.027, allocations: 78.05 kB / 0.9491 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004744/1.027, allocations: 195.7 kB / 0.9493 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/1.028, allocations: 38.09 kB / 0.9493 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 3.316e-06/1.028, allocations: 5.359 kB / 0.9493 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.001024/1.029, allocations: 234.2 kB / 0.9496 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/1.029, allocations: 52.94 kB / 0.9496 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004606/1.029, allocations: 267.1 kB / 0.9499 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/1.029, allocations: 30.58 kB / 0.9499 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/1.029, allocations: 150 kB / 0.95 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.276e-05/1.029, allocations: 30.25 kB / 0.9501 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/1.029, allocations: 16.16 kB / 0.9501 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001943/1.03, allocations: 330.2 kB / 0.9504 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/1.03, allocations: 51.3 kB / 0.9505 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/1.03, allocations: 100.9 kB / 0.9505 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/1.031, allocations: 137.3 kB / 0.9507 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.031, allocations: 0 / 0.9507 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004625/1.031, allocations: 163 kB / 0.9508 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.663e-05/1.031, allocations: 123 kB / 0.951 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.031, allocations: 1.031 kB / 0.951 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.031, allocations: 1.625 kB / 0.951 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/1.031, allocations: 28.12 kB / 0.951 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/1.031, allocations: 1.938 kB / 0.951 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/1.032, allocations: 28.59 kB / 0.951 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/1.032, allocations: 6.688 kB / 0.951 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/1.032, allocations: 3.562 kB / 0.951 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003625/1.032, allocations: 121.7 kB / 0.9511 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/1.032, allocations: 1.062 kB / 0.9511 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-06/1.032, allocations: 1.875 kB / 0.9511 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/1.032, allocations: 29.08 kB / 0.9512 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/1.032, allocations: 1.219 kB / 0.9512 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/1.032, allocations: 28.28 kB / 0.9512 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/1.032, allocations: 11.05 kB / 0.9512 GB, free: 13.39 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.0001811/1.033, allocations: 216.4 kB / 0.9514 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/1.033, allocations: 26.98 kB / 0.9514 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004783/1.033, allocations: 176.1 kB / 0.9516 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.033, allocations: 1 kB / 0.9516 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/1.033, allocations: 5.125 kB / 0.9516 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/1.033, allocations: 2.203 kB / 0.9516 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009893/1.034, allocations: 0.605 MB / 0.9522 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.034, allocations: 1.594 kB / 0.9522 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/1.034, allocations: 24.44 kB / 0.9522 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/1.034, allocations: 7.906 kB / 0.9522 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/1.034, allocations: 1.25 kB / 0.9522 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/1.034, allocations: 4.156 kB / 0.9522 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.034, allocations: 9.281 kB / 0.9522 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/1.035, allocations: 307 kB / 0.9525 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/1.035, allocations: 114.3 kB / 0.9527 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/1.035, allocations: 2.906 kB / 0.9527 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/1.035, allocations: 19.14 kB / 0.9527 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/1.035, allocations: 14.47 kB / 0.9527 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/1.035, allocations: 3.938 kB / 0.9527 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002048/1.036, allocations: 201 kB / 0.9529 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.036, allocations: 0 / 0.9529 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005308/1.036, allocations: 99.31 kB / 0.953 GB, free: 12.32 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.001187/1.037, allocations: 0.9047 MB / 0.9539 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005083/1.038, allocations: 180.8 kB / 0.954 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.038, allocations: 5.156 kB / 0.954 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001649/1.038, allocations: 66.67 kB / 0.9541 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009558/1.039, allocations: 127.7 kB / 0.9542 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/1.042, allocations: 2.439 MB / 0.9566 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/1.043, allocations: 0.7573 MB / 0.9573 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002489/1.043, allocations: 71.64 kB / 0.9574 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/1.043, allocations: 70.78 kB / 0.9575 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/1.043, allocations: 0 / 0.9575 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/1.063, allocations: 6.508 MB / 0.9638 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/1.063, allocations: 246.8 kB / 0.9641 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.228/3.291, allocations: 1.969 kB / 0.9641 GB, free: 7.637 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)