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.001056/0.001056, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.00113/0.00113, allocations: 168.7 kB / 15.95 MB, free: 204 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.561/1.561, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.732/1.732, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005522/0.0005522, allocations: 24.36 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2384, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.04763/0.2861, allocations: 42.37 MB / 0.8287 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01513/0.3013, allocations: 10.65 MB / 0.8391 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/0.3035, allocations: 51.69 kB / 0.8391 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001709/0.3052, allocations: 488.8 kB / 0.8396 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005411/0.3107, allocations: 1.737 MB / 0.8413 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003717/0.3144, allocations: 1.103 MB / 0.8423 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.02387/0.3383, allocations: 24.71 MB / 0.8665 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01059/0.3489, allocations: 6.398 MB / 0.8727 GB, free: 4.18 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01185/0.3608, allocations: 5.451 MB / 0.8781 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01073/0.3716, allocations: 5.32 MB / 0.8832 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002106/0.3737, allocations: 288 kB / 0.8835 GB, free: 9.082 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006346/0.3801, allocations: 1.088 MB / 0.8846 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.003227/0.3833, allocations: 1.338 MB / 0.8859 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.005522/0.3889, allocations: 1.572 MB / 0.8874 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01352/0.4024, allocations: 10.19 MB / 0.8974 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4025, allocations: 4 kB / 0.8974 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.275e-06/0.4025, allocations: 0 / 0.8974 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004739/0.403, allocations: 0 / 0.8974 GB, free: 10.85 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: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01755/0.4205, allocations: 6.642 MB / 0.9039 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.4206, allocations: 8.031 kB / 0.9039 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004488/0.4251, allocations: 0.8464 MB / 0.9047 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.486/0.9111, allocations: 7.44 MB / 0.912 GB, free: 109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000471/0.9116, allocations: 412.3 kB / 0.9124 GB, free: 108.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001512/0.9132, allocations: 0.5084 MB / 0.9129 GB, free: 108.6 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01557/0.9287, allocations: 7.635 MB / 0.9203 GB, free: 105.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001439/0.9289, allocations: 20.2 kB / 0.9203 GB, free: 105.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006823/0.9296, allocations: 225.3 kB / 0.9205 GB, free: 105.3 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001708/0.9298, allocations: 173.3 kB / 0.9207 GB, free: 105.3 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01405/0.9438, allocations: 6.036 MB / 0.9266 GB, free: 103.3 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.04011/0.984, allocations: 29.24 MB / 0.9552 GB, free: 81.54 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004336/0.9884, allocations: 3.397 MB / 0.9585 GB, free: 79.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002285/0.9907, allocations: 1.955 MB / 0.9604 GB, free: 78.82 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008747/0.9916, allocations: 0.9964 MB / 0.9614 GB, free: 77.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.331e-05/0.9917, allocations: 74.25 kB / 0.9614 GB, free: 77.67 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=253): time 4.359e-06/0.9917, allocations: 0 / 0.9614 GB, free: 77.67 MB / 0.7169 GB Notification: Performance of matching and sorting (n=253): time 0.007638/0.9993, allocations: 4.679 MB / 0.966 GB, free: 74.45 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.9994, allocations: 77.41 kB / 0.9661 GB, free: 74.36 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008788/1.008, allocations: 5.975 MB / 0.9719 GB, free: 68.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0008818/1.009, allocations: 81.7 kB / 0.972 GB, free: 68.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002257/1.011, allocations: 2.938 MB / 0.9749 GB, free: 65.38 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001143/1.013, allocations: 0.9012 MB / 0.9757 GB, free: 64.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/1.013, allocations: 68 kB / 0.9758 GB, free: 64.41 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.013, allocations: 449.2 kB / 0.9762 GB, free: 63.97 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002081/1.015, allocations: 1.623 MB / 0.9778 GB, free: 62.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/1.017, allocations: 2.666 MB / 0.9804 GB, free: 59.23 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002406/1.02, allocations: 2.215 MB / 0.9826 GB, free: 56.99 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.579e-05/1.02, allocations: 11.95 kB / 0.9826 GB, free: 56.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007783/1.028, allocations: 4.931 MB / 0.9874 GB, free: 52 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006762/1.028, allocations: 1.028 MB / 0.9884 GB, free: 50.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.983e-05/1.028, allocations: 39.84 kB / 0.9884 GB, free: 50.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.042e-05/1.028, allocations: 52 kB / 0.9885 GB, free: 50.45 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003339/1.032, allocations: 0.8112 MB / 0.9893 GB, free: 49.63 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007503/1.033, allocations: 1.254 MB / 0.9905 GB, free: 48.33 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005621/1.038, allocations: 0.6163 MB / 0.9911 GB, free: 47.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004402/1.039, allocations: 163.2 kB / 0.9913 GB, free: 47.55 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/1.039, allocations: 4 kB / 0.9913 GB, free: 47.55 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005807/1.045, allocations: 4.424 MB / 0.9956 GB, free: 43.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.854e-05/1.045, allocations: 32 kB / 0.9956 GB, free: 43.06 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.524e-05/1.045, allocations: 54.78 kB / 0.9957 GB, free: 43.01 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002373/1.047, allocations: 0.7839 MB / 0.9964 GB, free: 42.22 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.861e-05/1.047, allocations: 75.73 kB / 0.9965 GB, free: 42.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004724/1.052, allocations: 0.5507 MB / 0.9971 GB, free: 41.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003833/1.052, allocations: 160 kB / 0.9972 GB, free: 41.44 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.004147/1.056, allocations: 2.491 MB / 0.9996 GB, free: 38.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001916/1.058, allocations: 0.552 MB / 1 GB, free: 38.38 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005931/1.064, allocations: 3.889 MB / 1.004 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.536e-05/1.064, allocations: 28 kB / 1.004 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/1.064, allocations: 3.953 kB / 1.004 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003303/1.068, allocations: 2.993 MB / 1.007 GB, free: 31.36 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01794/1.086, allocations: 9.706 MB / 1.016 GB, free: 21.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/1.086, allocations: 8.078 kB / 1.016 GB, free: 21.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002129/1.088, allocations: 0.5907 MB / 1.017 GB, free: 21 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.62e-05/1.088, allocations: 12 kB / 1.017 GB, free: 20.99 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001527/1.088, allocations: 75.95 kB / 1.017 GB, free: 20.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003946/1.088, allocations: 1.195 MB / 1.018 GB, free: 19.67 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/1.088, allocations: 7.516 kB / 1.018 GB, free: 19.67 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007329/1.096, allocations: 5.625 MB / 1.024 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00358/1.099, allocations: 1.306 MB / 1.025 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001666/1.101, allocations: 61.08 kB / 1.025 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004694/1.106, allocations: 392.2 kB / 1.025 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003409/1.106, allocations: 153.8 kB / 1.026 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004566/1.107, allocations: 147.9 kB / 1.026 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.007564/1.114, allocations: 4.207 MB / 1.03 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.21e-07/1.114, allocations: 3.938 kB / 1.03 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01143/1.126, allocations: 3.223 MB / 1.033 GB, free: 4.488 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.00153/1.127, allocations: 476.5 kB / 1.033 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01033/1.138, allocations: 5.997 MB / 1.039 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/1.138, allocations: 4.562 kB / 1.039 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003018/1.141, allocations: 1.594 MB / 1.041 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02393/1.165, allocations: 3.93 MB / 1.045 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03093/1.196, allocations: 15.75 MB / 1.06 GB, free: 8.785 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005711/1.201, allocations: 4.511 MB / 1.064 GB, free: 4.25 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.01009/1.212, allocations: 2.861 MB / 1.067 GB, free: 1.383 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001816/1.213, allocations: 467.2 kB / 1.068 GB, free: 0.9258 MB / 0.7481 GB Notification: Performance of SimCode: time 2.235e-06/1.213, allocations: 0 / 1.068 GB, free: 0.9258 MB / 0.7481 GB Notification: Performance of Templates: time 0.1909/1.404, allocations: 124.7 MB / 1.189 GB, free: 5.348 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: