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.0008644/0.0008645, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008652/0.0008652, allocations: 172.7 kB / 15.95 MB, free: 208 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.828/1.828, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.722/1.722, allocations: 252 MB / 0.5102 GB, free: 4.805 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.0005543/0.0005543, allocations: 19.94 kB / 0.6243 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6262/0.6268, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.0411/0.6679, allocations: 41.2 MB / 0.7684 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01655/0.6845, allocations: 12.14 MB / 0.7802 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.6866, allocations: 39.75 kB / 0.7802 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.6882, allocations: 417.2 kB / 0.7806 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005406/0.6936, allocations: 1.543 MB / 0.7821 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003261/0.6969, allocations: 0.9257 MB / 0.7831 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005246/0.7022, allocations: 3.646 MB / 0.7866 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.7037, allocations: 0.754 MB / 0.7873 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003125/0.7069, allocations: 1.069 MB / 0.7884 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.7084, allocations: 0.8401 MB / 0.7892 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.7086, allocations: 48 kB / 0.7893 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003131/0.7117, allocations: 1.13 MB / 0.7904 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003468/0.7121, allocations: 203 kB / 0.7906 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005183/0.7126, allocations: 269.1 kB / 0.7908 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002989/0.7156, allocations: 1.738 MB / 0.7925 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.539e-05/0.7156, allocations: 0 / 0.7925 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.987e-06/0.7157, allocations: 0 / 0.7925 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.628e-05/0.7157, allocations: 0 / 0.7925 GB, free: 9.281 MB / 0.6075 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.00378/0.7195, allocations: 1.468 MB / 0.7939 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/0.7196, allocations: 8.031 kB / 0.794 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003666/0.7199, allocations: 130.5 kB / 0.7941 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002527/0.7225, allocations: 1.164 MB / 0.7952 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.137e-05/0.7225, allocations: 54 kB / 0.7953 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.7227, allocations: 67.91 kB / 0.7953 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.7241, allocations: 0.7637 MB / 0.7961 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.7241, allocations: 0 / 0.7961 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.907e-05/0.7242, allocations: 24 kB / 0.7961 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-05/0.7242, allocations: 20 kB / 0.7961 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.7253, allocations: 0.5712 MB / 0.7967 GB, free: 4.895 MB / 0.6075 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.006225/0.7316, allocations: 3.998 MB / 0.8006 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.7326, allocations: 475 kB / 0.801 GB, free: 100 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004319/0.7331, allocations: 229 kB / 0.8012 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001662/0.7347, allocations: 1.523 MB / 0.8027 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.7348, allocations: 38.52 kB / 0.8028 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=46): time 2.975e-06/0.7348, allocations: 0 / 0.8028 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46): time 0.001623/0.7364, allocations: 0.6787 MB / 0.8034 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.7365, allocations: 55.41 kB / 0.8035 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.7379, allocations: 0.9981 MB / 0.8045 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/0.738, allocations: 37.7 kB / 0.8045 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004231/0.7384, allocations: 480.6 kB / 0.805 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.7386, allocations: 165.6 kB / 0.8051 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.7387, allocations: 12 kB / 0.8051 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.7388, allocations: 326 kB / 0.8054 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003436/0.7391, allocations: 185 kB / 0.8056 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00045/0.7396, allocations: 324.5 kB / 0.8059 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/0.74, allocations: 236.8 kB / 0.8062 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.7401, allocations: 0 / 0.8062 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001141/0.7412, allocations: 0.6546 MB / 0.8068 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.7413, allocations: 193.6 kB / 0.807 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.7414, allocations: 7.984 kB / 0.807 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.7414, allocations: 8 kB / 0.807 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.7419, allocations: 127.8 kB / 0.8071 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.7419, allocations: 4 kB / 0.8071 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007079/0.7426, allocations: 99.23 kB / 0.8072 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.607e-05/0.7427, allocations: 27.98 kB / 0.8072 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/0.7427, allocations: 8 kB / 0.8072 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009465/0.7436, allocations: 0.5295 MB / 0.8078 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.7437, allocations: 4 kB / 0.8078 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.7437, allocations: 11.98 kB / 0.8078 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.7441, allocations: 127.8 kB / 0.8079 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.7441, allocations: 4 kB / 0.8079 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005573/0.7447, allocations: 103.3 kB / 0.808 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/0.7447, allocations: 27.98 kB / 0.808 GB, free: 8.434 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004138/0.7452, allocations: 337 kB / 0.8083 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.7453, allocations: 110.7 kB / 0.8085 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/0.747, allocations: 0.9758 MB / 0.8094 GB, free: 7 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/0.747, allocations: 12 kB / 0.8094 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.747, allocations: 3.938 kB / 0.8094 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001056/0.7481, allocations: 0.8531 MB / 0.8103 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/0.7513, allocations: 2.016 MB / 0.8122 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.7514, allocations: 4 kB / 0.8122 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004022/0.7518, allocations: 99.84 kB / 0.8123 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.7518, allocations: 4 kB / 0.8123 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.63e-05/0.7519, allocations: 19.98 kB / 0.8123 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.7519, allocations: 4 kB / 0.8123 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.7519, allocations: 0 / 0.8123 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.7537, allocations: 1.214 MB / 0.8135 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004259/0.7541, allocations: 303.4 kB / 0.8138 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.7543, allocations: 15.95 kB / 0.8138 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000537/0.7548, allocations: 51.86 kB / 0.8139 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.755, allocations: 56.44 kB / 0.8139 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.968e-05/0.755, allocations: 27.98 kB / 0.814 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001143/0.7562, allocations: 0.7109 MB / 0.8147 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7562, allocations: 3.938 kB / 0.8147 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001909/0.7581, allocations: 0.6007 MB / 0.8153 GB, free: 0.7852 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001191/0.7593, allocations: 0.4944 MB / 0.8157 GB, free: 296 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00178/0.7611, allocations: 0.9386 MB / 0.8167 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7611, allocations: 0 / 0.8167 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005896/0.7617, allocations: 407.4 kB / 0.817 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/0.7644, allocations: 0.5836 MB / 0.8176 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003875/0.7683, allocations: 2.47 MB / 0.82 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006373/0.7689, allocations: 1.07 MB / 0.8211 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001003/0.7699, allocations: 280.9 kB / 0.8213 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.7702, allocations: 103.4 kB / 0.8214 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of SimCode: time 1.082e-06/0.7702, allocations: 3.938 kB / 0.8214 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of Templates: time 0.05009/0.8203, allocations: 24.68 MB / 0.8455 GB, free: 1.996 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: