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.0009646/0.0009646, allocations: 96.78 kB / 15.36 MB, free: 0.7344 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.006185/0.006185, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.413/1.413, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.7 MB / 0.5502 GB, free: 14.5 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.0005282/0.0005282, allocations: 13.12 kB / 0.6744 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2323, allocations: 116.3 MB / 0.788 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.05882/0.2911, allocations: 43.54 MB / 0.8305 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01956/0.3107, allocations: 12.93 MB / 0.8431 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002118/0.3129, allocations: 31.81 kB / 0.8432 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002073/0.315, allocations: 493.2 kB / 0.8436 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006506/0.3215, allocations: 1.816 MB / 0.8454 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004226/0.3258, allocations: 1.184 MB / 0.8466 GB, free: 15.35 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00648/0.3323, allocations: 4.235 MB / 0.8507 GB, free: 11.1 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/0.3343, allocations: 0.8502 MB / 0.8515 GB, free: 10.23 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003159/0.3375, allocations: 1.139 MB / 0.8526 GB, free: 9.09 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/0.3396, allocations: 0.8982 MB / 0.8535 GB, free: 8.188 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000357/0.34, allocations: 55.92 kB / 0.8536 GB, free: 8.133 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003908/0.3439, allocations: 1.427 MB / 0.855 GB, free: 6.703 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005118/0.3445, allocations: 218.9 kB / 0.8552 GB, free: 6.488 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001424/0.3459, allocations: 0.6236 MB / 0.8558 GB, free: 5.855 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00526/0.3512, allocations: 2.344 MB / 0.8581 GB, free: 3.504 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.3513, allocations: 0 / 0.8581 GB, free: 3.504 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.535e-06/0.3513, allocations: 0 / 0.8581 GB, free: 3.504 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.997e-05/0.3514, allocations: 0 / 0.8581 GB, free: 3.504 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.005312/0.3567, allocations: 1.456 MB / 0.8595 GB, free: 1.992 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.477e-05/0.3568, allocations: 8.031 kB / 0.8595 GB, free: 1.984 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004154/0.3572, allocations: 118.6 kB / 0.8596 GB, free: 1.859 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006048/0.3578, allocations: 139.2 kB / 0.8597 GB, free: 1.723 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003658/0.3615, allocations: 1.194 MB / 0.8609 GB, free: 496 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.673e-05/0.3616, allocations: 50 kB / 0.861 GB, free: 448 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.3618, allocations: 75.91 kB / 0.861 GB, free: 372 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.3635, allocations: 0.7638 MB / 0.8618 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.3635, allocations: 3.938 kB / 0.8618 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-05/0.3636, allocations: 28 kB / 0.8618 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.953e-05/0.3636, allocations: 16 kB / 0.8618 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.3649, allocations: 0.5789 MB / 0.8624 GB, free: 14.95 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.006344/0.3713, allocations: 4.01 MB / 0.8663 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.3723, allocations: 477.9 kB / 0.8668 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000409/0.3727, allocations: 224.8 kB / 0.867 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001427/0.3742, allocations: 1.519 MB / 0.8685 GB, free: 8.07 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.3742, allocations: 38.92 kB / 0.8685 GB, free: 8.023 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=46): time 2.836e-06/0.3743, allocations: 0 / 0.8685 GB, free: 8.023 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46): time 0.001613/0.3759, allocations: 0.6821 MB / 0.8692 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.3759, allocations: 59.41 kB / 0.8692 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/0.3777, allocations: 1.002 MB / 0.8702 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.961e-05/0.3778, allocations: 37.7 kB / 0.8702 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004476/0.3782, allocations: 488.6 kB / 0.8707 GB, free: 5.723 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.3784, allocations: 161.6 kB / 0.8708 GB, free: 5.562 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-05/0.3785, allocations: 57.62 kB / 0.8709 GB, free: 5.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3787, allocations: 326 kB / 0.8712 GB, free: 5.176 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/0.3791, allocations: 185 kB / 0.8714 GB, free: 4.996 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005037/0.3796, allocations: 324.5 kB / 0.8717 GB, free: 4.625 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008981/0.3805, allocations: 0.523 MB / 0.8722 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.3805, allocations: 0 / 0.8722 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001391/0.3819, allocations: 0.6586 MB / 0.8729 GB, free: 3.395 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001565/0.3821, allocations: 195.4 kB / 0.873 GB, free: 3.148 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.707e-05/0.3821, allocations: 11.92 kB / 0.8731 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.3822, allocations: 8 kB / 0.8731 GB, free: 3.129 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.3827, allocations: 123.8 kB / 0.8732 GB, free: 3.008 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/0.3827, allocations: 15.97 kB / 0.8732 GB, free: 2.992 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008807/0.3836, allocations: 95.19 kB / 0.8733 GB, free: 2.898 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.4e-05/0.3837, allocations: 31.98 kB / 0.8733 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.3837, allocations: 4 kB / 0.8733 GB, free: 2.863 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00109/0.3848, allocations: 0.5374 MB / 0.8738 GB, free: 2.328 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.3849, allocations: 7.984 kB / 0.8739 GB, free: 2.32 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/0.3849, allocations: 8 kB / 0.8739 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/0.3853, allocations: 123.8 kB / 0.874 GB, free: 2.191 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.3853, allocations: 11.92 kB / 0.874 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008574/0.3862, allocations: 91.34 kB / 0.8741 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.472e-05/0.3863, allocations: 27.98 kB / 0.8741 GB, free: 2.062 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.0006129/0.3869, allocations: 344.9 kB / 0.8744 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002937/0.3872, allocations: 110.7 kB / 0.8745 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/0.3892, allocations: 0.9798 MB / 0.8755 GB, free: 0.6172 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/0.3892, allocations: 19.92 kB / 0.8755 GB, free: 0.5977 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3892, allocations: 0 / 0.8755 GB, free: 0.5977 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001328/0.3906, allocations: 0.8493 MB / 0.8763 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003856/0.3944, allocations: 2.027 MB / 0.8783 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/0.3945, allocations: 4 kB / 0.8783 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/0.3949, allocations: 99.88 kB / 0.8784 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.467e-05/0.3949, allocations: 4 kB / 0.8784 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.755e-05/0.395, allocations: 23.92 kB / 0.8784 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.395, allocations: 4 kB / 0.8785 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.395, allocations: 4 kB / 0.8785 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/0.3971, allocations: 1.218 MB / 0.8796 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005705/0.3977, allocations: 311.4 kB / 0.8799 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/0.3979, allocations: 16 kB / 0.88 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007083/0.3986, allocations: 51.81 kB / 0.88 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.3987, allocations: 60.36 kB / 0.8801 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.046e-05/0.3988, allocations: 27.98 kB / 0.8801 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001279/0.4001, allocations: 0.7187 MB / 0.8808 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4001, allocations: 4 kB / 0.8808 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00191/0.402, allocations: 0.6046 MB / 0.8814 GB, free: 10.36 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.003432/0.4055, allocations: 2.168 MB / 0.8835 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001798/0.4073, allocations: 0.9425 MB / 0.8844 GB, free: 7.18 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.4073, allocations: 7.984 kB / 0.8844 GB, free: 7.172 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006135/0.4079, allocations: 399.5 kB / 0.8848 GB, free: 6.77 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003635/0.4116, allocations: 0.5782 MB / 0.8854 GB, free: 6.199 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0164/0.428, allocations: 9.047 MB / 0.8942 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000746/0.4288, allocations: 1.062 MB / 0.8952 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001201/0.43, allocations: 300.3 kB / 0.8955 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006655/0.4307, allocations: 443.2 kB / 0.896 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of SimCode: time 9.01e-07/0.4307, allocations: 0 / 0.896 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5313/0.962, allocations: 35.59 MB / 0.9307 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.9622, allocations: 240 kB / 0.9309 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.593/4.555, allocations: 2.953 kB / 0.9309 GB, free: 131.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)