Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.176/0.1768, allocations: 82.22 MB / 0.5934 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.03788/0.2147, allocations: 38.05 MB / 0.6305 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01388/0.2286, allocations: 8.644 MB / 0.639 GB, free: 7.172 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002335/0.231, allocations: 51.69 kB / 0.639 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002358/0.2334, allocations: 0.6102 MB / 0.6396 GB, free: 6.508 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005999/0.2394, allocations: 1.753 MB / 0.6413 GB, free: 4.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003731/0.2432, allocations: 1.203 MB / 0.6425 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01326/0.2564, allocations: 11.38 MB / 0.6536 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00819/0.2646, allocations: 5.935 MB / 0.6594 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00879/0.2735, allocations: 4.231 MB / 0.6635 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006854/0.2803, allocations: 3.5 MB / 0.6669 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001146/0.2815, allocations: 260 kB / 0.6672 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004177/0.2857, allocations: 0.8858 MB / 0.6681 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001694/0.2874, allocations: 1.202 MB / 0.6692 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003284/0.2907, allocations: 1.502 MB / 0.6707 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01189/0.3026, allocations: 9.22 MB / 0.6797 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3026, allocations: 0 / 0.6797 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.435e-06/0.3027, allocations: 0 / 0.6797 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000462/0.3031, allocations: 0 / 0.6797 GB, free: 13.32 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.01439/0.3175, allocations: 6.296 MB / 0.6859 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3176, allocations: 8.031 kB / 0.6859 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004299/0.3219, allocations: 0.8192 MB / 0.6867 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3332/0.6551, allocations: 6.133 MB / 0.6927 GB, free: 40.74 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006309/0.6558, allocations: 396.9 kB / 0.693 GB, free: 40.7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001841/0.6577, allocations: 498.8 kB / 0.6935 GB, free: 40.7 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01556/0.6732, allocations: 7.399 MB / 0.7007 GB, free: 39.6 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001856/0.6735, allocations: 30.23 kB / 0.7008 GB, free: 39.6 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009169/0.6744, allocations: 210.5 kB / 0.701 GB, free: 39.6 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002035/0.6746, allocations: 168.5 kB / 0.7011 GB, free: 39.6 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01384/0.6885, allocations: 5.974 MB / 0.707 GB, free: 39.55 MB / 0.5294 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.03745/0.7259, allocations: 29.49 MB / 0.7358 GB, free: 24.93 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00441/0.7304, allocations: 3.343 MB / 0.739 GB, free: 24.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007377/0.7312, allocations: 0.681 MB / 0.7397 GB, free: 23.65 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.471e-05/0.7312, allocations: 69.48 kB / 0.7397 GB, free: 23.61 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=291): time 4.949e-06/0.7312, allocations: 0 / 0.7397 GB, free: 23.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=331): time 0.02475/0.756, allocations: 14.28 MB / 0.7537 GB, free: 19.49 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.7561, allocations: 139.7 kB / 0.7538 GB, free: 19.36 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007994/0.7641, allocations: 6.098 MB / 0.7598 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008501/0.765, allocations: 85.7 kB / 0.7599 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001978/0.767, allocations: 2.732 MB / 0.7625 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001323/0.7683, allocations: 1.154 MB / 0.7637 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.7685, allocations: 76 kB / 0.7637 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.7686, allocations: 470 kB / 0.7642 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002414/0.7711, allocations: 1.955 MB / 0.7661 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002636/0.7737, allocations: 2.984 MB / 0.769 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002833/0.7766, allocations: 2.593 MB / 0.7715 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/0.7766, allocations: 8 kB / 0.7715 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=485) (initialization): time 0.00845/0.785, allocations: 5.647 MB / 0.7771 GB, free: 13.61 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.006782/0.7919, allocations: 13.84 MB / 0.7906 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.429e-05/0.792, allocations: 28 kB / 0.7906 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001255/0.7921, allocations: 52 kB / 0.7906 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006919/0.7991, allocations: 1.412 MB / 0.792 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005272/0.8044, allocations: 3.395 MB / 0.7953 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00577/0.8102, allocations: 355 kB / 0.7957 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006701/0.8109, allocations: 172 kB / 0.7958 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.8109, allocations: 15.94 kB / 0.7959 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007908/0.8188, allocations: 5.072 MB / 0.8008 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.836e-05/0.8189, allocations: 34.16 kB / 0.8008 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.797e-05/0.8189, allocations: 52 kB / 0.8009 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003379/0.8223, allocations: 0.968 MB / 0.8018 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.785e-05/0.8224, allocations: 68.81 kB / 0.8019 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00514/0.8275, allocations: 343.6 kB / 0.8022 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005416/0.8281, allocations: 172 kB / 0.8024 GB, free: 2.723 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * 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 (485): * Single equations (assignments): 483 * 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.004913/0.833, allocations: 2.481 MB / 0.8048 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002009/0.8351, allocations: 0.5635 MB / 0.8054 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/0.8455, allocations: 6.072 MB / 0.8113 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-05/0.8456, allocations: 43.98 kB / 0.8113 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.8456, allocations: 3.953 kB / 0.8113 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007224/0.8529, allocations: 4.899 MB / 0.8161 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02422/0.8771, allocations: 12.37 MB / 0.8282 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.468e-05/0.8772, allocations: 10.06 kB / 0.8282 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004612/0.8818, allocations: 1.058 MB / 0.8292 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/0.8836, allocations: 0.9038 MB / 0.8301 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003513/0.884, allocations: 137.7 kB / 0.8303 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/0.8958, allocations: 15.16 MB / 0.8451 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-05/0.8958, allocations: 18 kB / 0.8451 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/0.9101, allocations: 9.77 MB / 0.8546 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004463/0.9146, allocations: 1.431 MB / 0.856 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001374/0.916, allocations: 108 kB / 0.8561 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003856/0.9199, allocations: 354.9 kB / 0.8565 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003789/0.9203, allocations: 248.1 kB / 0.8567 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002777/0.9206, allocations: 156.8 kB / 0.8568 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.006354/0.9269, allocations: 4.341 MB / 0.8611 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9269, allocations: 1.969 kB / 0.8611 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.009749/0.9367, allocations: 2.734 MB / 0.8638 GB, free: 2.414 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (315): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 20 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 20 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001239/0.938, allocations: 490.1 kB / 0.8642 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01376/0.9517, allocations: 7.702 MB / 0.8717 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.807e-05/0.9518, allocations: 4.562 kB / 0.8718 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.008697/0.9605, allocations: 3.179 MB / 0.8749 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01867/0.9792, allocations: 4.001 MB / 0.8788 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02676/1.006, allocations: 16.95 MB / 0.8953 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004661/1.011, allocations: 4.662 MB / 0.8999 GB, free: 13.78 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.008977/1.02, allocations: 2.99 MB / 0.9028 GB, free: 10.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001688/1.021, allocations: 498.8 kB / 0.9033 GB, free: 10.32 MB / 0.67 GB Notification: Performance of SimCode: time 2.444e-06/1.021, allocations: 3.75 kB / 0.9033 GB, free: 10.32 MB / 0.67 GB Notification: Performance of Templates: time 0.4951/1.517, allocations: 134.6 MB / 1.035 GB, free: 210 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) Environment - environmentSimulation: