Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.722/2.722, allocations: 287.5 MB / 302.4 MB, free: 8.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001353/0.001352, allocations: 183 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.287/2.287, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000918/0.0009179, allocations: 103.6 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005399/0.0005401, allocations: 20.38 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2203, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.05947/0.2798, allocations: 41.19 MB / 1.019 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02484/0.3047, allocations: 12.18 MB / 1.031 GB, free: 6.762 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.3066, allocations: 35.75 kB / 1.031 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.3087, allocations: 417.3 kB / 1.031 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006715/0.3155, allocations: 1.544 MB / 1.033 GB, free: 4.766 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004479/0.32, allocations: 0.9466 MB / 1.033 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.007065/0.3271, allocations: 3.655 MB / 1.037 GB, free: 160 kB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001979/0.3291, allocations: 0.7501 MB / 1.038 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003558/0.3327, allocations: 1.062 MB / 1.039 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002259/0.335, allocations: 0.8556 MB / 1.04 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003167/0.3353, allocations: 48 kB / 1.04 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004581/0.3399, allocations: 1.119 MB / 1.041 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0006138/0.3406, allocations: 214.9 kB / 1.041 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0006564/0.3413, allocations: 269.1 kB / 1.041 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004179/0.3455, allocations: 1.746 MB / 1.043 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.3455, allocations: 0 / 1.043 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.535e-06/0.3455, allocations: 0 / 1.043 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.54e-05/0.3456, allocations: 0 / 1.043 GB, free: 10.07 MB / 0.6667 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.006232/0.3518, allocations: 1.456 MB / 1.044 GB, free: 8.559 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 9.129e-05/0.352, allocations: 16.02 kB / 1.044 GB, free: 8.543 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006065/0.3526, allocations: 110.5 kB / 1.044 GB, free: 8.426 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008709/0.3535, allocations: 130.5 kB / 1.045 GB, free: 8.297 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007046/0.3606, allocations: 1.165 MB / 1.046 GB, free: 7.09 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.3608, allocations: 50 kB / 1.046 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003864/0.3612, allocations: 72 kB / 1.046 GB, free: 6.973 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004278/0.3655, allocations: 0.7559 MB / 1.047 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.032e-05/0.3656, allocations: 8 kB / 1.047 GB, free: 6.184 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/0.3658, allocations: 24 kB / 1.047 GB, free: 6.16 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-05/0.3659, allocations: 16 kB / 1.047 GB, free: 6.145 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003009/0.3689, allocations: 0.5712 MB / 1.047 GB, free: 5.574 MB / 0.6667 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.008866/0.3778, allocations: 4.018 MB / 1.051 GB, free: 1.234 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.3795, allocations: 486.2 kB / 1.052 GB, free: 0.7539 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006538/0.3802, allocations: 225.1 kB / 1.052 GB, free: 0.5312 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002011/0.3822, allocations: 1.523 MB / 1.053 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.3823, allocations: 38.56 kB / 1.053 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 3.877e-06/0.3823, allocations: 0 / 1.053 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.00247/0.3848, allocations: 0.6749 MB / 1.054 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.3848, allocations: 59.41 kB / 1.054 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002303/0.3872, allocations: 0.9943 MB / 1.055 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.3873, allocations: 37.7 kB / 1.055 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006036/0.3879, allocations: 484.6 kB / 1.055 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/0.3882, allocations: 161.6 kB / 1.056 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.733e-05/0.3883, allocations: 12 kB / 1.056 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3885, allocations: 326 kB / 1.056 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006638/0.3891, allocations: 185 kB / 1.056 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007688/0.3899, allocations: 320.5 kB / 1.056 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007523/0.3907, allocations: 236.8 kB / 1.057 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.3907, allocations: 0 / 1.057 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002219/0.3929, allocations: 0.6547 MB / 1.057 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001736/0.3932, allocations: 195.4 kB / 1.057 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.641e-05/0.3932, allocations: 8 kB / 1.058 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.094e-05/0.3932, allocations: 4 kB / 1.058 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009218/0.3942, allocations: 135.7 kB / 1.058 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/0.3942, allocations: 8 kB / 1.058 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.3955, allocations: 95.19 kB / 1.058 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.3957, allocations: 27.98 kB / 1.058 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3957, allocations: 4 kB / 1.058 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00177/0.3975, allocations: 0.5373 MB / 1.058 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.45e-05/0.3975, allocations: 8 kB / 1.058 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3975, allocations: 4 kB / 1.058 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008625/0.3984, allocations: 131.7 kB / 1.058 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/0.3984, allocations: 11.95 kB / 1.058 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.3997, allocations: 87.44 kB / 1.059 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-05/0.3998, allocations: 27.98 kB / 1.059 GB, free: 9.094 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000713/0.4005, allocations: 344.9 kB / 1.059 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000272/0.4008, allocations: 106.7 kB / 1.059 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002908/0.4037, allocations: 0.9797 MB / 1.06 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-05/0.4038, allocations: 15.98 kB / 1.06 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.4038, allocations: 3.953 kB / 1.06 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001868/0.4057, allocations: 0.8493 MB / 1.061 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005406/0.4111, allocations: 2.027 MB / 1.063 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.442e-05/0.4112, allocations: 4 kB / 1.063 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008086/0.412, allocations: 99.88 kB / 1.063 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.412, allocations: 8 kB / 1.063 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.005e-05/0.4121, allocations: 19.98 kB / 1.063 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/0.4121, allocations: 4 kB / 1.063 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.4121, allocations: 3.938 kB / 1.063 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003134/0.4153, allocations: 1.21 MB / 1.064 GB, free: 3.199 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000754/0.416, allocations: 315.3 kB / 1.064 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002542/0.4163, allocations: 16 kB / 1.064 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.4174, allocations: 51.89 kB / 1.064 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.4176, allocations: 52.44 kB / 1.064 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.4177, allocations: 27.98 kB / 1.065 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001707/0.4194, allocations: 0.7109 MB / 1.065 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.31e-07/0.4194, allocations: 0 / 1.065 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002409/0.4218, allocations: 0.6046 MB / 1.066 GB, free: 1.402 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.659/1.081, allocations: 2.132 MB / 1.068 GB, free: 88.69 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004101/1.085, allocations: 0.9344 MB / 1.069 GB, free: 88.56 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/1.085, allocations: 5.156 kB / 1.069 GB, free: 88.56 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001458/1.087, allocations: 405.1 kB / 1.069 GB, free: 88.48 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007378/1.094, allocations: 0.5866 MB / 1.07 GB, free: 88.43 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03072/1.125, allocations: 6.474 MB / 1.076 GB, free: 85.12 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/1.126, allocations: 1.064 MB / 1.077 GB, free: 84.39 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002969/1.129, allocations: 295.7 kB / 1.077 GB, free: 84.32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001457/1.131, allocations: 433.6 kB / 1.078 GB, free: 84.02 MB / 0.6823 GB Notification: Performance of SimCode: time 1.492e-06/1.131, allocations: 0 / 1.078 GB, free: 84.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1507/1.281, allocations: 35.44 MB / 1.112 GB, free: 71.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002666/1.282, allocations: 228.1 kB / 1.113 GB, free: 71.06 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.212/5.494, allocations: 1.062 kB / 1.113 GB, free: 71.06 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)