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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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: translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007453/0.007453, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001788/0.001788, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.893/1.893, allocations: 205.1 MB / 222.5 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.696/1.696, allocations: 251.7 MB / 0.5094 GB, free: 3.055 MB / 414.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.001496/0.001496, allocations: 67.91 kB / 0.7258 GB, free: 9.027 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2753, allocations: 104.7 MB / 0.828 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.04695/0.3223, allocations: 44.69 MB / 0.8717 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02007/0.3424, allocations: 12.99 MB / 0.8844 GB, free: 6.34 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002329/0.3448, allocations: 39.81 kB / 0.8844 GB, free: 6.301 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.3472, allocations: 0.6132 MB / 0.885 GB, free: 5.684 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.006934/0.3541, allocations: 2.068 MB / 0.887 GB, free: 3.609 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004981/0.3591, allocations: 1.321 MB / 0.8883 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.007123/0.3663, allocations: 3.268 MB / 0.8915 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002609/0.3689, allocations: 1.055 MB / 0.8925 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004862/0.3738, allocations: 1.4 MB / 0.8939 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002329/0.3762, allocations: 0.9413 MB / 0.8948 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006093/0.3768, allocations: 132 kB / 0.8949 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005043/0.3819, allocations: 1.571 MB / 0.8965 GB, free: 9.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006444/0.3826, allocations: 299 kB / 0.8968 GB, free: 9.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001737/0.3843, allocations: 0.6844 MB / 0.8974 GB, free: 8.906 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006387/0.3907, allocations: 2.458 MB / 0.8998 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3908, allocations: 0 / 0.8998 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.973e-06/0.3908, allocations: 0 / 0.8998 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.607e-05/0.3908, allocations: 0 / 0.8998 GB, free: 6.441 MB / 0.7169 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.004931/0.3958, allocations: 1.663 MB / 0.9014 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.3959, allocations: 8.031 kB / 0.9015 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006389/0.3965, allocations: 139.3 kB / 0.9016 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003209/0.3997, allocations: 1.217 MB / 0.9028 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.904e-05/0.3998, allocations: 54 kB / 0.9028 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.4, allocations: 68 kB / 0.9029 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.4015, allocations: 0.7598 MB / 0.9036 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.4016, allocations: 0 / 0.9036 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.904e-05/0.4017, allocations: 28 kB / 0.9037 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.067e-05/0.4017, allocations: 16 kB / 0.9037 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.4029, allocations: 0.5672 MB / 0.9042 GB, free: 1.809 MB / 0.7169 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.6092/1.012, allocations: 3.971 MB / 0.9081 GB, free: 74.76 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/1.013, allocations: 472.1 kB / 0.9086 GB, free: 74.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004479/1.014, allocations: 220.6 kB / 0.9088 GB, free: 74.72 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/1.015, allocations: 1.508 MB / 0.9102 GB, free: 73.04 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/1.015, allocations: 37.56 kB / 0.9103 GB, free: 73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=46): time 3.667e-06/1.015, allocations: 4.797 kB / 0.9103 GB, free: 73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=46): time 0.001891/1.017, allocations: 0.6651 MB / 0.9109 GB, free: 72.95 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/1.017, allocations: 58.31 kB / 0.911 GB, free: 72.89 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/1.019, allocations: 1.018 MB / 0.912 GB, free: 72.51 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.414e-05/1.019, allocations: 31.77 kB / 0.912 GB, free: 72.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005256/1.02, allocations: 481.3 kB / 0.9125 GB, free: 72.14 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/1.02, allocations: 173 kB / 0.9126 GB, free: 72.03 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003211/1.02, allocations: 118.1 kB / 0.9127 GB, free: 71.96 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.02, allocations: 329.8 kB / 0.9131 GB, free: 71.65 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005108/1.021, allocations: 189.5 kB / 0.9132 GB, free: 71.58 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006177/1.022, allocations: 325.9 kB / 0.9136 GB, free: 71.36 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/1.023, allocations: 0.5078 MB / 0.9141 GB, free: 71.08 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/1.023, allocations: 1.625 kB / 0.9141 GB, free: 71.08 MB / 0.7169 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001718/1.024, allocations: 0.6488 MB / 0.9147 GB, free: 70.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/1.024, allocations: 11.55 kB / 0.9147 GB, free: 70.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/1.024, allocations: 5.859 kB / 0.9147 GB, free: 70.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.957e-05/1.025, allocations: 10.25 kB / 0.9147 GB, free: 70.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000513/1.025, allocations: 119.2 kB / 0.9148 GB, free: 70.81 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.05e-05/1.025, allocations: 10.86 kB / 0.9148 GB, free: 70.81 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008541/1.026, allocations: 73.73 kB / 0.9149 GB, free: 70.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.39e-05/1.026, allocations: 32.91 kB / 0.9149 GB, free: 70.76 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009703/1.027, allocations: 398.7 kB / 0.9153 GB, free: 70.54 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005708/1.028, allocations: 315.2 kB / 0.9156 GB, free: 70.33 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001008/1.029, allocations: 0.5113 MB / 0.9161 GB, free: 70.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.209e-06/1.029, allocations: 4 kB / 0.9161 GB, free: 70.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001732/1.03, allocations: 0.646 MB / 0.9168 GB, free: 69.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/1.03, allocations: 7.828 kB / 0.9168 GB, free: 69.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.662e-05/1.03, allocations: 5.188 kB / 0.9168 GB, free: 69.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.03, allocations: 7.078 kB / 0.9168 GB, free: 69.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005521/1.031, allocations: 124.3 kB / 0.9169 GB, free: 69.74 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.086e-05/1.031, allocations: 7.797 kB / 0.9169 GB, free: 69.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008236/1.032, allocations: 59.19 kB / 0.917 GB, free: 69.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.815e-05/1.032, allocations: 28.05 kB / 0.917 GB, free: 69.7 MB / 0.7169 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.0002772/1.032, allocations: 216.7 kB / 0.9172 GB, free: 69.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003522/1.033, allocations: 105.8 kB / 0.9173 GB, free: 69.44 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002983/1.036, allocations: 0.9633 MB / 0.9182 GB, free: 69.08 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.714e-05/1.036, allocations: 8.688 kB / 0.9182 GB, free: 69.08 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/1.036, allocations: 0.5625 kB / 0.9182 GB, free: 69.08 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001753/1.037, allocations: 0.8412 MB / 0.9191 GB, free: 68.54 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005143/1.043, allocations: 2.003 MB / 0.921 GB, free: 67.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.07e-05/1.043, allocations: 9.422 kB / 0.921 GB, free: 67.47 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004912/1.043, allocations: 94.84 kB / 0.9211 GB, free: 67.46 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.083e-05/1.043, allocations: 5.688 kB / 0.9211 GB, free: 67.46 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.611e-05/1.043, allocations: 21.75 kB / 0.9211 GB, free: 67.45 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.526e-05/1.043, allocations: 4.734 kB / 0.9211 GB, free: 67.45 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/1.043, allocations: 6.25 kB / 0.9212 GB, free: 67.45 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002648/1.046, allocations: 1.201 MB / 0.9223 GB, free: 66.85 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007866/1.047, allocations: 284.6 kB / 0.9226 GB, free: 66.63 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004232/1.047, allocations: 13.23 kB / 0.9226 GB, free: 66.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007614/1.048, allocations: 31.64 kB / 0.9226 GB, free: 66.61 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/1.048, allocations: 50.77 kB / 0.9227 GB, free: 66.61 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.848e-05/1.048, allocations: 27.67 kB / 0.9227 GB, free: 66.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001596/1.05, allocations: 0.7295 MB / 0.9234 GB, free: 66.29 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.182e-06/1.05, allocations: 1.312 kB / 0.9234 GB, free: 66.29 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002234/1.052, allocations: 0.6087 MB / 0.924 GB, free: 66.2 MB / 0.7169 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.001297/1.053, allocations: 0.5268 MB / 0.9245 GB, free: 66.06 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002118/1.056, allocations: 0.928 MB / 0.9254 GB, free: 65.67 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.056, allocations: 1.312 kB / 0.9254 GB, free: 65.67 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000719/1.056, allocations: 409.4 kB / 0.9258 GB, free: 65.48 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003384/1.06, allocations: 0.5985 MB / 0.9264 GB, free: 65.34 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005247/1.065, allocations: 2.024 MB / 0.9284 GB, free: 64.21 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009717/1.066, allocations: 1.053 MB / 0.9294 GB, free: 63.49 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001581/1.068, allocations: 290.5 kB / 0.9297 GB, free: 63.42 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002871/1.068, allocations: 104.6 kB / 0.9298 GB, free: 63.4 MB / 0.7169 GB Notification: Performance of SimCode: time 4.278e-06/1.068, allocations: 4 kB / 0.9298 GB, free: 63.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.05276/1.121, allocations: 26.81 MB / 0.956 GB, free: 50.27 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)