Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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.PlugFlowPipe,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",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.001656/0.001657, 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.001853/0.001853, allocations: 189.5 kB / 16.62 MB, free: 6.574 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.516/1.516, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.73/1.73, 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.001478/0.001478, allocations: 76.47 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2701, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.04396/0.3141, allocations: 44.69 MB / 0.8273 GB, free: 428 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01794/0.3321, allocations: 13.01 MB / 0.84 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.3341, allocations: 39.81 kB / 0.84 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.3358, allocations: 0.5938 MB / 0.8406 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005769/0.3416, allocations: 1.97 MB / 0.8425 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003787/0.3454, allocations: 1.331 MB / 0.8438 GB, free: 15.43 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004699/0.3501, allocations: 3.272 MB / 0.847 GB, free: 12.14 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/0.3518, allocations: 1.063 MB / 0.848 GB, free: 11.06 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00313/0.355, allocations: 1.376 MB / 0.8494 GB, free: 9.684 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.3565, allocations: 0.9413 MB / 0.8503 GB, free: 8.738 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002013/0.3567, allocations: 132 kB / 0.8504 GB, free: 8.609 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003514/0.3602, allocations: 1.575 MB / 0.852 GB, free: 7.031 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003471/0.3606, allocations: 303 kB / 0.8523 GB, free: 6.734 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009327/0.3615, allocations: 0.6921 MB / 0.8529 GB, free: 6.039 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004009/0.3656, allocations: 2.462 MB / 0.8553 GB, free: 3.57 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3656, allocations: 0 / 0.8553 GB, free: 3.57 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3656, allocations: 0 / 0.8553 GB, free: 3.57 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.691e-05/0.3656, allocations: 0 / 0.8553 GB, free: 3.57 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003249/0.3689, allocations: 1.67 MB / 0.857 GB, free: 1.848 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.3689, allocations: 8.031 kB / 0.857 GB, free: 1.84 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001446/0.3691, allocations: 118.7 kB / 0.8571 GB, free: 1.715 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003731/0.3695, allocations: 135.2 kB / 0.8572 GB, free: 1.582 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002554/0.372, allocations: 1.221 MB / 0.8584 GB, free: 324 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/0.3721, allocations: 54 kB / 0.8585 GB, free: 268 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.3722, allocations: 72 kB / 0.8585 GB, free: 196 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.3735, allocations: 0.7637 MB / 0.8593 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.3736, allocations: 0 / 0.8593 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.855e-05/0.3737, allocations: 24 kB / 0.8593 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/0.3737, allocations: 20 kB / 0.8593 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.3748, allocations: 0.5633 MB / 0.8599 GB, free: 14.8 MB / 0.6856 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.005175/0.38, allocations: 3.994 MB / 0.8638 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.381, allocations: 477.2 kB / 0.8642 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003756/0.3814, allocations: 209.1 kB / 0.8644 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001368/0.3828, allocations: 1.512 MB / 0.8659 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.3828, allocations: 34.92 kB / 0.8659 GB, free: 7.926 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=46): time 2.264e-06/0.3828, allocations: 0 / 0.8659 GB, free: 7.926 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46): time 0.001497/0.3843, allocations: 0.6743 MB / 0.8666 GB, free: 7.246 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.3844, allocations: 55.41 kB / 0.8666 GB, free: 7.18 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.3858, allocations: 1.014 MB / 0.8676 GB, free: 6.148 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/0.3858, allocations: 37.7 kB / 0.8677 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/0.3862, allocations: 480.6 kB / 0.8681 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.3863, allocations: 169.5 kB / 0.8683 GB, free: 5.461 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.3865, allocations: 118.1 kB / 0.8684 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3867, allocations: 330 kB / 0.8687 GB, free: 5.012 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/0.3871, allocations: 191 kB / 0.8689 GB, free: 4.82 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004835/0.3876, allocations: 328.4 kB / 0.8692 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008565/0.3884, allocations: 0.5074 MB / 0.8697 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.3884, allocations: 4 kB / 0.8697 GB, free: 3.891 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001222/0.3897, allocations: 0.6432 MB / 0.8703 GB, free: 3.242 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.3897, allocations: 11.94 kB / 0.8703 GB, free: 3.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/0.3897, allocations: 4 kB / 0.8704 GB, free: 3.227 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.3898, allocations: 8 kB / 0.8704 GB, free: 3.219 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/0.3902, allocations: 123.8 kB / 0.8705 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.3902, allocations: 4 kB / 0.8705 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006361/0.3909, allocations: 83.52 kB / 0.8706 GB, free: 3.012 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.105e-05/0.391, allocations: 35.98 kB / 0.8706 GB, free: 2.977 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006146/0.3916, allocations: 393.1 kB / 0.871 GB, free: 2.59 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004605/0.3921, allocations: 324.5 kB / 0.8713 GB, free: 2.223 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007935/0.3929, allocations: 0.5032 MB / 0.8718 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.294e-06/0.3929, allocations: 0 / 0.8718 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.00116/0.394, allocations: 0.6471 MB / 0.8724 GB, free: 1.016 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3941, allocations: 8 kB / 0.8724 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.3941, allocations: 4 kB / 0.8724 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.3941, allocations: 15.88 kB / 0.8724 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004359/0.3945, allocations: 123.8 kB / 0.8725 GB, free: 0.8672 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3946, allocations: 7.938 kB / 0.8726 GB, free: 0.8594 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005878/0.3951, allocations: 55.83 kB / 0.8726 GB, free: 0.8047 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.777e-05/0.3952, allocations: 27.98 kB / 0.8726 GB, free: 0.7773 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001974/0.3954, allocations: 212.1 kB / 0.8728 GB, free: 0.5625 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.3956, allocations: 110.6 kB / 0.8729 GB, free: 464 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.3974, allocations: 0.968 MB / 0.8739 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/0.3975, allocations: 11.98 kB / 0.8739 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.3975, allocations: 0 / 0.8739 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001143/0.3986, allocations: 0.8415 MB / 0.8747 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003321/0.402, allocations: 2 MB / 0.8767 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/0.402, allocations: 7.984 kB / 0.8767 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004064/0.4024, allocations: 99.83 kB / 0.8768 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/0.4024, allocations: 8.219 kB / 0.8768 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.484e-05/0.4025, allocations: 27.98 kB / 0.8768 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.4025, allocations: 4 kB / 0.8768 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4025, allocations: 0 / 0.8768 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.4043, allocations: 1.206 MB / 0.878 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004359/0.4047, allocations: 287.4 kB / 0.8783 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.4049, allocations: 12 kB / 0.8783 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005155/0.4054, allocations: 31.97 kB / 0.8783 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.4055, allocations: 52.44 kB / 0.8784 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.406e-05/0.4056, allocations: 27.98 kB / 0.8784 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009861/0.4066, allocations: 0.7303 MB / 0.8791 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4066, allocations: 0 / 0.8791 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001509/0.4081, allocations: 0.6046 MB / 0.8797 GB, free: 9.301 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U,senTemOut.T,senTemIn.T) * 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 (62): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.003256/0.4114, allocations: 2.174 MB / 0.8818 GB, free: 7.094 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00181/0.4132, allocations: 0.9307 MB / 0.8827 GB, free: 6.129 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4132, allocations: 0.5625 kB / 0.8827 GB, free: 6.129 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005791/0.4138, allocations: 410.4 kB / 0.8831 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002985/0.4168, allocations: 0.6015 MB / 0.8837 GB, free: 5.125 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.4283, allocations: 8.023 MB / 0.8915 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005852/0.429, allocations: 1.054 MB / 0.8926 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009632/0.4299, allocations: 300.7 kB / 0.8929 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005466/0.4305, allocations: 439.3 kB / 0.8933 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of SimCode: time 1.412e-06/0.4305, allocations: 0 / 0.8933 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4512/0.8817, allocations: 36.91 MB / 0.9293 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/10.96, allocations: 13.94 kB / 0.9293 GB, free: 134.1 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)