Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.232/1.232, allocations: 251.5 MB / 266.7 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008306/0.0008306, allocations: 171.1 kB / 325.8 MB, free: 2.652 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.256/1.256, allocations: 205 MB / 0.576 GB, free: 20.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006496/0.0006497, allocations: 90.78 kB / 0.6797 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002775/0.0002775, allocations: 16.41 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1396, allocations: 105.4 MB / 0.8962 GB, free: 68.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.02528/0.1649, allocations: 44.13 MB / 0.9393 GB, free: 23.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01063/0.1756, allocations: 13.06 MB / 0.952 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009997/0.1766, allocations: 39.75 kB / 0.9521 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009879/0.1776, allocations: 489.3 kB / 0.9526 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00295/0.1805, allocations: 1.807 MB / 0.9543 GB, free: 8.305 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.1826, allocations: 1.163 MB / 0.9555 GB, free: 7.145 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002462/0.1851, allocations: 4.228 MB / 0.9596 GB, free: 2.906 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007473/0.1858, allocations: 0.8435 MB / 0.9604 GB, free: 2.043 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001306/0.1872, allocations: 1.163 MB / 0.9615 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006716/0.1878, allocations: 0.8906 MB / 0.9624 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.188, allocations: 52 kB / 0.9625 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002171/0.1901, allocations: 1.419 MB / 0.9638 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.1903, allocations: 226.9 kB / 0.9641 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004652/0.1908, allocations: 0.5907 MB / 0.9646 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00211/0.1929, allocations: 2.348 MB / 0.9669 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.1929, allocations: 0 / 0.9669 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1929, allocations: 0 / 0.9669 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.1929, allocations: 0 / 0.9669 GB, free: 11.34 MB / 0.6198 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.002269/0.1952, allocations: 1.453 MB / 0.9684 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.1953, allocations: 8.031 kB / 0.9684 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.1954, allocations: 114.7 kB / 0.9685 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/0.1956, allocations: 135.2 kB / 0.9686 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/0.1975, allocations: 1.19 MB / 0.9698 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/0.1976, allocations: 54 kB / 0.9698 GB, free: 8.281 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-05/0.1977, allocations: 75.94 kB / 0.9699 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.1988, allocations: 0.7598 MB / 0.9706 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.1988, allocations: 8 kB / 0.9706 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.495e-05/0.1989, allocations: 28 kB / 0.9707 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.1989, allocations: 16 kB / 0.9707 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000946/0.1999, allocations: 0.5711 MB / 0.9712 GB, free: 6.797 MB / 0.6198 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.003983/0.2038, allocations: 4.006 MB / 0.9751 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008524/0.2047, allocations: 475 kB / 0.9756 GB, free: 1.996 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.2051, allocations: 225.1 kB / 0.9758 GB, free: 1.773 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/0.2061, allocations: 1.519 MB / 0.9773 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.2062, allocations: 34.56 kB / 0.9773 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=46): time 1.693e-06/0.2062, allocations: 0 / 0.9773 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=46): time 0.001173/0.2073, allocations: 0.6902 MB / 0.978 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.2074, allocations: 55.41 kB / 0.9781 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.2085, allocations: 1.01 MB / 0.979 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.2086, allocations: 33.7 kB / 0.9791 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/0.2089, allocations: 488.6 kB / 0.9795 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.209, allocations: 165.6 kB / 0.9797 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.2091, allocations: 49.7 kB / 0.9797 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.042e-05/0.2092, allocations: 329.9 kB / 0.9801 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.2095, allocations: 185 kB / 0.9802 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004324/0.2099, allocations: 336.5 kB / 0.9806 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000765/0.2107, allocations: 0.5152 MB / 0.9811 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2107, allocations: 3.938 kB / 0.9811 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001046/0.2118, allocations: 0.6587 MB / 0.9817 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.208e-05/0.2119, allocations: 195.3 kB / 0.9819 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.2119, allocations: 4 kB / 0.9819 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.2119, allocations: 8 kB / 0.9819 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003919/0.2123, allocations: 123.8 kB / 0.982 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.2123, allocations: 11.94 kB / 0.982 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005842/0.2129, allocations: 95.23 kB / 0.9821 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.213, allocations: 24 kB / 0.9821 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.488e-06/0.213, allocations: 4 kB / 0.9822 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008916/0.2139, allocations: 0.5375 MB / 0.9827 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.2139, allocations: 16.08 kB / 0.9827 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.164e-06/0.2139, allocations: 4 kB / 0.9827 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/0.2143, allocations: 127.8 kB / 0.9828 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.2143, allocations: 15.88 kB / 0.9828 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005143/0.2149, allocations: 91.34 kB / 0.9829 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.2149, allocations: 27.98 kB / 0.9829 GB, free: 9.914 MB / 0.6355 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.0003455/0.2153, allocations: 344.9 kB / 0.9833 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.2154, allocations: 106.7 kB / 0.9834 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.2169, allocations: 0.9603 MB / 0.9843 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.217, allocations: 27.8 kB / 0.9843 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.217, allocations: 0 / 0.9843 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009757/0.218, allocations: 0.8493 MB / 0.9852 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.2206, allocations: 2.016 MB / 0.9871 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.2206, allocations: 4.219 kB / 0.9871 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.221, allocations: 107.8 kB / 0.9872 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.221, allocations: 4 kB / 0.9872 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.221, allocations: 19.98 kB / 0.9873 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.221, allocations: 8 kB / 0.9873 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.221, allocations: 0 / 0.9873 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.2227, allocations: 1.218 MB / 0.9885 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003147/0.223, allocations: 287.4 kB / 0.9887 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.2231, allocations: 12 kB / 0.9888 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000515/0.2236, allocations: 55.8 kB / 0.9888 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.2238, allocations: 52.42 kB / 0.9889 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.2238, allocations: 31.92 kB / 0.9889 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008659/0.2247, allocations: 0.7226 MB / 0.9896 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2247, allocations: 4 kB / 0.9896 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001277/0.226, allocations: 0.6007 MB / 0.9902 GB, free: 2.25 MB / 0.6355 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.002544/0.2285, allocations: 2.182 MB / 0.9923 GB, free: 32 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001383/0.2299, allocations: 0.939 MB / 0.9932 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2299, allocations: 0 / 0.9932 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000514/0.2304, allocations: 410.4 kB / 0.9936 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/0.2329, allocations: 0.5752 MB / 0.9942 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.246, allocations: 8.924 MB / 1.003 GB, free: 4.762 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006307/0.2467, allocations: 1.062 MB / 1.004 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001201/0.2479, allocations: 287 kB / 1.004 GB, free: 3.391 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005974/0.2485, allocations: 443.2 kB / 1.005 GB, free: 2.957 MB / 0.6511 GB Notification: Performance of SimCode: time 1.182e-06/0.2485, allocations: 0 / 1.005 GB, free: 2.957 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4073/0.6558, allocations: 35.52 MB / 1.039 GB, free: 15.83 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.656, allocations: 257.3 kB / 1.04 GB, free: 15.57 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.126/3.782, allocations: 0 / 1.04 GB, free: 15.57 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)