Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.FixedResistancesSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries") translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008507/0.0008507, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.00107/0.00107, allocations: 176.8 kB / 16.27 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6503/0.6503, allocations: 95.63 MB / 366.4 MB, free: 10.2 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006151/0.000615, allocations: 20 kB / 447.5 MB, free: 8.941 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4672/0.4679, allocations: 70.33 MB / 0.5057 GB, free: 16.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries): time 0.5946/1.062, allocations: 138.7 MB / 0.6411 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003491/1.066, allocations: 2.013 MB / 0.6431 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004373/1.067, allocations: 14.38 kB / 0.6431 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000666/1.067, allocations: 148.2 kB / 0.6432 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/1.068, allocations: 296.6 kB / 0.6435 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002054/1.07, allocations: 0.5572 MB / 0.644 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003643/1.074, allocations: 2.982 MB / 0.6469 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/1.075, allocations: 0.6645 MB / 0.6476 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002148/1.077, allocations: 0.6773 MB / 0.6483 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001866/1.079, allocations: 0.746 MB / 0.649 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002612/1.08, allocations: 29.09 kB / 0.649 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001829/1.081, allocations: 465.9 kB / 0.6495 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004609/1.082, allocations: 156.1 kB / 0.6496 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002043/1.084, allocations: 0.4997 MB / 0.6501 GB, free: 16.47 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00193/1.086, allocations: 1.292 MB / 0.6514 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.086, allocations: 0 / 0.6514 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.847e-06/1.086, allocations: 3.094 kB / 0.6514 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.124e-05/1.086, allocations: 0 / 0.6514 GB, free: 16.36 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001895/1.088, allocations: 1.258 MB / 0.6526 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/1.088, allocations: 12.17 kB / 0.6526 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003346/1.088, allocations: 128.5 kB / 0.6527 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/1.089, allocations: 0.7934 MB / 0.6535 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/1.089, allocations: 41.38 kB / 0.6535 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.253e-05/1.09, allocations: 43.06 kB / 0.6536 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/1.091, allocations: 0.6827 MB / 0.6542 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/1.091, allocations: 2.906 kB / 0.6542 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.648e-05/1.091, allocations: 27.72 kB / 0.6543 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/1.091, allocations: 12.31 kB / 0.6543 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/1.092, allocations: 0.5035 MB / 0.6548 GB, free: 15.04 MB / 0.4981 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.003175/1.095, allocations: 2.799 MB / 0.6575 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008874/1.096, allocations: 380.3 kB / 0.6579 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/1.097, allocations: 194.5 kB / 0.6581 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/1.097, allocations: 89.08 kB / 0.6581 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/1.097, allocations: 36.72 kB / 0.6582 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=26): time 2.755e-06/1.097, allocations: 0 / 0.6582 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26): time 0.003143/1.1, allocations: 1.07 MB / 0.6592 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/1.1, allocations: 109.7 kB / 0.6593 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/1.101, allocations: 1.054 MB / 0.6604 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/1.101, allocations: 32.08 kB / 0.6604 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/1.102, allocations: 0.4904 MB / 0.6609 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.311e-05/1.102, allocations: 95.86 kB / 0.661 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/1.102, allocations: 34.91 kB / 0.661 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.102, allocations: 319.4 kB / 0.6613 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/1.102, allocations: 134.1 kB / 0.6614 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/1.102, allocations: 235.5 kB / 0.6616 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005478/1.103, allocations: 386.8 kB / 0.662 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.103, allocations: 0 / 0.662 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001018/1.104, allocations: 0.6032 MB / 0.6626 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/1.104, allocations: 170.5 kB / 0.6628 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/1.104, allocations: 1.75 kB / 0.6628 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001726/1.106, allocations: 368.6 kB / 0.6631 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/1.106, allocations: 42.03 kB / 0.6632 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009083/1.107, allocations: 0.8884 MB / 0.664 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006182/1.108, allocations: 73.72 kB / 0.6641 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/1.108, allocations: 20.73 kB / 0.6641 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/1.108, allocations: 2.875 kB / 0.6641 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009983/1.109, allocations: 0.5921 MB / 0.6647 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/1.109, allocations: 0 / 0.6647 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003109/1.109, allocations: 170.4 kB / 0.6649 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/1.109, allocations: 39.81 kB / 0.6649 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003093/1.112, allocations: 2.776 MB / 0.6676 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006532/1.113, allocations: 62.95 kB / 0.6677 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/1.113, allocations: 14.78 kB / 0.6677 GB, free: 9.324 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0007523/1.114, allocations: 433.2 kB / 0.6681 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/1.114, allocations: 99.66 kB / 0.6682 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/1.115, allocations: 0.7009 MB / 0.6689 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/1.115, allocations: 6.234 kB / 0.6689 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/1.115, allocations: 6.875 kB / 0.6689 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.115, allocations: 0 / 0.6689 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/1.118, allocations: 1.609 MB / 0.6705 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.118, allocations: 4.031 kB / 0.6705 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/1.118, allocations: 58.38 kB / 0.6705 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002166/1.118, allocations: 89.66 kB / 0.6706 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/1.118, allocations: 7 kB / 0.6706 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/1.121, allocations: 2.658 MB / 0.6732 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.121, allocations: 0 / 0.6732 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009542/1.122, allocations: 0.6653 MB / 0.6739 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003371/1.122, allocations: 179.5 kB / 0.674 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.649e-05/1.122, allocations: 3.688 kB / 0.674 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003861/1.122, allocations: 49.78 kB / 0.6741 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.183e-05/1.123, allocations: 17.89 kB / 0.6741 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/1.123, allocations: 18.81 kB / 0.6741 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001048/1.124, allocations: 0.752 MB / 0.6749 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.124, allocations: 0 / 0.6749 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001392/1.125, allocations: 423.1 kB / 0.6753 GB, free: 5.527 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006318/1.126, allocations: 206.9 kB / 0.6755 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001623/1.127, allocations: 0.7257 MB / 0.6762 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/1.127, allocations: 2.688 kB / 0.6762 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008219/1.128, allocations: 356.8 kB / 0.6765 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/1.13, allocations: 388.9 kB / 0.6769 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/1.133, allocations: 1.98 MB / 0.6788 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007982/1.134, allocations: 1.165 MB / 0.6799 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006716/1.135, allocations: 201.8 kB / 0.6801 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.971e-05/1.135, allocations: 55.55 kB / 0.6802 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of SimCode: time 7.11e-07/1.135, allocations: 4 kB / 0.6802 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of Templates: time 0.03081/1.166, allocations: 15.08 MB / 0.6949 GB, free: 9.723 MB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe 2>&1) Environment - environmentSimulation: