Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.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: translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009289/0.0009288, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001156/0.001157, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.633/1.633, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005851/0.0005853, allocations: 23.88 kB / 0.6735 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2698, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.03599/0.3059, allocations: 38.49 MB / 0.8247 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01592/0.3218, allocations: 9.83 MB / 0.8343 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.3241, allocations: 47.69 kB / 0.8343 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002396/0.3265, allocations: 0.6218 MB / 0.8349 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006633/0.3331, allocations: 1.948 MB / 0.8368 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004727/0.3379, allocations: 1.532 MB / 0.8383 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01438/0.3523, allocations: 12.03 MB / 0.8501 GB, free: 11.37 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009142/0.3615, allocations: 6.415 MB / 0.8564 GB, free: 4.883 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009212/0.3707, allocations: 4.578 MB / 0.8608 GB, free: 296 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007301/0.378, allocations: 3.687 MB / 0.8644 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001643/0.3797, allocations: 288 kB / 0.8647 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005022/0.3847, allocations: 0.9832 MB / 0.8657 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002261/0.387, allocations: 1.292 MB / 0.8669 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00311/0.3901, allocations: 1.576 MB / 0.8685 GB, free: 8.438 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01118/0.4013, allocations: 10.08 MB / 0.8783 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4014, allocations: 4 kB / 0.8783 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4014, allocations: 0 / 0.8783 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003969/0.4018, allocations: 4 kB / 0.8783 GB, free: 14.32 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01527/0.4171, allocations: 6.614 MB / 0.8848 GB, free: 7.621 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.4171, allocations: 11.97 kB / 0.8848 GB, free: 7.609 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00492/0.422, allocations: 0.8503 MB / 0.8856 GB, free: 6.75 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01481/0.4369, allocations: 6.823 MB / 0.8923 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005996/0.4375, allocations: 415.9 kB / 0.8927 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002041/0.4396, allocations: 0.5076 MB / 0.8932 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01497/0.4545, allocations: 7.593 MB / 0.9006 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001408/0.4547, allocations: 15.88 kB / 0.9006 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005889/0.4553, allocations: 227.9 kB / 0.9008 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001682/0.4555, allocations: 171.8 kB / 0.901 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.4666, allocations: 6.036 MB / 0.9069 GB, free: 0.582 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.5245/0.9911, allocations: 29.6 MB / 0.9358 GB, free: 89.37 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007464/0.9986, allocations: 3.615 MB / 0.9393 GB, free: 87.72 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/0.9997, allocations: 0.9971 MB / 0.9403 GB, free: 86.64 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.126e-05/0.9998, allocations: 77.69 kB / 0.9404 GB, free: 86.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=253): time 4.168e-06/0.9998, allocations: 0 / 0.9404 GB, free: 86.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=253): time 0.009163/1.009, allocations: 4.66 MB / 0.9449 GB, free: 84.26 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/1.009, allocations: 77.25 kB / 0.945 GB, free: 84.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01125/1.02, allocations: 6.568 MB / 0.9514 GB, free: 80.87 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0009205/1.021, allocations: 83.52 kB / 0.9515 GB, free: 80.8 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002519/1.024, allocations: 2.945 MB / 0.9544 GB, free: 78.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001415/1.025, allocations: 0.8965 MB / 0.9552 GB, free: 77.55 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/1.025, allocations: 72.59 kB / 0.9553 GB, free: 77.49 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001792/1.026, allocations: 453.5 kB / 0.9557 GB, free: 77.09 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002283/1.028, allocations: 1.615 MB / 0.9573 GB, free: 76.25 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/1.03, allocations: 2.642 MB / 0.9599 GB, free: 74.11 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002553/1.033, allocations: 2.207 MB / 0.962 GB, free: 72.92 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.96e-05/1.033, allocations: 12.89 kB / 0.9621 GB, free: 72.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007741/1.041, allocations: 4.92 MB / 0.9669 GB, free: 70.39 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.003016/1.044, allocations: 15.03 MB / 0.9815 GB, free: 54.35 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.66e-05/1.044, allocations: 34.3 kB / 0.9816 GB, free: 54.35 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.803e-05/1.044, allocations: 56.75 kB / 0.9816 GB, free: 54.35 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003202/1.047, allocations: 0.8884 MB / 0.9825 GB, free: 54.13 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005553/1.048, allocations: 1.252 MB / 0.9837 GB, free: 52.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005987/1.054, allocations: 0.6609 MB / 0.9844 GB, free: 52.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004916/1.054, allocations: 157.2 kB / 0.9845 GB, free: 52.45 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/1.054, allocations: 3.625 kB / 0.9845 GB, free: 52.45 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005958/1.06, allocations: 4.417 MB / 0.9888 GB, free: 48.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/1.06, allocations: 28 kB / 0.9889 GB, free: 48.49 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.697e-05/1.06, allocations: 56 kB / 0.9889 GB, free: 48.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002567/1.063, allocations: 0.8585 MB / 0.9897 GB, free: 47.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.544e-05/1.063, allocations: 67.78 kB / 0.9898 GB, free: 47.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005341/1.068, allocations: 0.5853 MB / 0.9904 GB, free: 46.92 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003198/1.068, allocations: 160 kB / 0.9905 GB, free: 46.76 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004155/1.073, allocations: 2.498 MB / 0.993 GB, free: 44.25 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001883/1.075, allocations: 0.5482 MB / 0.9935 GB, free: 43.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005389/1.08, allocations: 3.885 MB / 0.9973 GB, free: 39.77 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/1.08, allocations: 28 kB / 0.9973 GB, free: 39.74 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/1.08, allocations: 3.938 kB / 0.9973 GB, free: 39.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003258/1.083, allocations: 2.974 MB / 1 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01684/1.1, allocations: 9.889 MB / 1.01 GB, free: 26.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/1.1, allocations: 3.828 kB / 1.01 GB, free: 26.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002015/1.102, allocations: 0.5602 MB / 1.01 GB, free: 26.21 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.762e-05/1.102, allocations: 12 kB / 1.01 GB, free: 26.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001545/1.102, allocations: 75.95 kB / 1.011 GB, free: 26.12 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000365/1.103, allocations: 1.192 MB / 1.012 GB, free: 24.89 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.103, allocations: 0 / 1.012 GB, free: 24.89 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006833/1.11, allocations: 5.737 MB / 1.017 GB, free: 19.03 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00392/1.114, allocations: 1.427 MB / 1.019 GB, free: 17.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001708/1.115, allocations: 65.11 kB / 1.019 GB, free: 17.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00476/1.12, allocations: 389.4 kB / 1.019 GB, free: 17.14 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002812/1.12, allocations: 157.7 kB / 1.019 GB, free: 16.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003559/1.121, allocations: 139.9 kB / 1.019 GB, free: 16.85 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.006514/1.127, allocations: 4.683 MB / 1.024 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.91e-07/1.127, allocations: 0 / 1.024 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00908/1.136, allocations: 3.28 MB / 1.027 GB, free: 8.93 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.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 (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001198/1.138, allocations: 494.1 kB / 1.028 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007619/1.145, allocations: 5.985 MB / 1.034 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.145, allocations: 4.562 kB / 1.034 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001788/1.147, allocations: 1.582 MB / 1.035 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01756/1.165, allocations: 3.89 MB / 1.039 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0243/1.189, allocations: 15.66 MB / 1.054 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004885/1.194, allocations: 4.628 MB / 1.059 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.01092/1.205, allocations: 2.892 MB / 1.061 GB, free: 5.809 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00196/1.207, allocations: 475.2 kB / 1.062 GB, free: 5.344 MB / 0.7481 GB Notification: Performance of SimCode: time 8.21e-07/1.207, allocations: 0 / 1.062 GB, free: 5.344 MB / 0.7481 GB Notification: Performance of Templates: time 0.192/1.399, allocations: 127.8 MB / 1.187 GB, free: 6.691 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) Environment - environmentSimulation: