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: 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.334/1.334, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001076/0.001076, allocations: 175.4 kB / 326.5 MB, free: 2.691 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.873/1.873, allocations: 205 MB / 0.5766 GB, free: 21 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.0007257/0.0007256, allocations: 86.31 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.0003481, allocations: 8.75 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2294, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.03056/0.26, allocations: 44.12 MB / 0.9398 GB, free: 23.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01389/0.274, allocations: 13.07 MB / 0.9526 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002034/0.276, allocations: 39.75 kB / 0.9526 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.2777, allocations: 489.3 kB / 0.9531 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006239/0.2839, allocations: 1.823 MB / 0.9549 GB, free: 8.441 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003352/0.2873, allocations: 1.152 MB / 0.956 GB, free: 7.293 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00453/0.2919, allocations: 4.224 MB / 0.9601 GB, free: 3.059 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.2931, allocations: 0.8396 MB / 0.9609 GB, free: 2.199 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002392/0.2955, allocations: 1.163 MB / 0.9621 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.2965, allocations: 0.9022 MB / 0.963 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.2966, allocations: 48 kB / 0.963 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003309/0.2999, allocations: 1.419 MB / 0.9644 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002536/0.3002, allocations: 222.9 kB / 0.9646 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0007309/0.301, allocations: 0.5868 MB / 0.9652 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003517/0.3045, allocations: 2.36 MB / 0.9675 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3045, allocations: 0 / 0.9675 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3045, allocations: 0 / 0.9675 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.485e-05/0.3045, allocations: 0 / 0.9675 GB, free: 11.48 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.002832/0.3074, allocations: 1.442 MB / 0.9689 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.3074, allocations: 15.95 kB / 0.9689 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003726/0.3078, allocations: 135.4 kB / 0.969 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002209/0.31, allocations: 1.19 MB / 0.9702 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/0.3101, allocations: 58 kB / 0.9703 GB, free: 8.547 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.3102, allocations: 64 kB / 0.9703 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.3115, allocations: 0.7715 MB / 0.9711 GB, free: 7.684 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.3115, allocations: 0 / 0.9711 GB, free: 7.684 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.416e-05/0.3116, allocations: 27.94 kB / 0.9711 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/0.3116, allocations: 20 kB / 0.9711 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.3127, allocations: 0.5789 MB / 0.9717 GB, free: 7.059 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.004867/0.3175, allocations: 4.006 MB / 0.9756 GB, free: 2.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009158/0.3185, allocations: 478.5 kB / 0.976 GB, free: 2.258 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003527/0.3188, allocations: 229.1 kB / 0.9763 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/0.3201, allocations: 1.515 MB / 0.9777 GB, free: 188 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.3201, allocations: 42.56 kB / 0.9778 GB, free: 136 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=46): time 3.337e-06/0.3201, allocations: 0 / 0.9778 GB, free: 136 kB / 0.6198 GB Notification: Performance of matching and sorting (n=46): time 0.001452/0.3216, allocations: 0.6903 MB / 0.9785 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.3216, allocations: 55.41 kB / 0.9785 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.3229, allocations: 1.002 MB / 0.9795 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/0.3229, allocations: 37.69 kB / 0.9795 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003511/0.3233, allocations: 480.5 kB / 0.98 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.3234, allocations: 165.5 kB / 0.9801 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-05/0.3235, allocations: 49.69 kB / 0.9802 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3236, allocations: 334 kB / 0.9805 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/0.324, allocations: 189 kB / 0.9807 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004657/0.3245, allocations: 324.5 kB / 0.981 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008279/0.3253, allocations: 0.5191 MB / 0.9815 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3253, allocations: 0 / 0.9815 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001177/0.3265, allocations: 0.655 MB / 0.9821 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.3266, allocations: 191.1 kB / 0.9823 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/0.3267, allocations: 7.938 kB / 0.9823 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.3267, allocations: 12 kB / 0.9823 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/0.3271, allocations: 127.8 kB / 0.9825 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.3272, allocations: 7.938 kB / 0.9825 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006964/0.3279, allocations: 95.25 kB / 0.9826 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.775e-05/0.3279, allocations: 31.98 kB / 0.9826 GB, free: 11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.3279, allocations: 4 kB / 0.9826 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009667/0.3289, allocations: 0.5332 MB / 0.9831 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.3289, allocations: 7.938 kB / 0.9831 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/0.329, allocations: 8 kB / 0.9831 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.3294, allocations: 128.2 kB / 0.9833 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.3294, allocations: 7.984 kB / 0.9833 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006082/0.33, allocations: 91.28 kB / 0.9834 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.021e-05/0.3301, allocations: 27.98 kB / 0.9834 GB, free: 10.19 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.0005069/0.3306, allocations: 344.9 kB / 0.9837 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.3308, allocations: 106.7 kB / 0.9838 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001762/0.3325, allocations: 0.9759 MB / 0.9848 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001056/0.3336, allocations: 0.8531 MB / 0.9856 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.3336, allocations: 7.922 kB / 0.9856 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004194/0.334, allocations: 279.4 kB / 0.9859 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.3342, allocations: 12 kB / 0.9859 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005022/0.3347, allocations: 49.53 kB / 0.9859 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.3348, allocations: 44.48 kB / 0.986 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001403/0.3362, allocations: 0.8088 MB / 0.9868 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001764/0.338, allocations: 1.285 MB / 0.988 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004785/0.3385, allocations: 328.5 kB / 0.9883 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001042/0.3396, allocations: 0.7103 MB / 0.989 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of Backend: time 6.82e-07/0.3396, allocations: 0 / 0.989 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002966/0.3425, allocations: 1.254 MB / 0.9902 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of SimCode: time 0.004731/0.3473, allocations: 3.088 MB / 0.9933 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of Templates: time 0.04331/0.3906, allocations: 26.81 MB / 1.019 GB, free: 5.281 MB / 0.6667 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)