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.001228/0.001227, allocations: 100.1 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.001499/0.0015, 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.407/1.407, 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 1.6.0+build.1/package.mo): time 0.5871/0.5871, allocations: 95.57 MB / 366 MB, free: 10.39 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.000545/0.0005451, allocations: 16 kB / 446.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2723, allocations: 70.34 MB / 0.505 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries): time 0.1262/0.3985, allocations: 120.9 MB / 0.623 GB, free: 7.293 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002815/0.4014, allocations: 1.754 MB / 0.6248 GB, free: 5.535 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003091/0.4017, allocations: 11.94 kB / 0.6248 GB, free: 5.523 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005499/0.4023, allocations: 143.2 kB / 0.6249 GB, free: 5.383 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007227/0.403, allocations: 307.1 kB / 0.6252 GB, free: 5.082 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.4045, allocations: 0.5019 MB / 0.6257 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001646/0.4062, allocations: 1.345 MB / 0.627 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.4072, allocations: 0.6129 MB / 0.6276 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.4083, allocations: 0.6149 MB / 0.6282 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006736/0.409, allocations: 0.5172 MB / 0.6287 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.306e-05/0.409, allocations: 32 kB / 0.6287 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006953/0.4097, allocations: 263.6 kB / 0.629 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.4099, allocations: 147.2 kB / 0.6291 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002292/0.4102, allocations: 221.1 kB / 0.6293 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2768/0.6869, allocations: 0.8766 MB / 0.6302 GB, free: 3.082 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.687, allocations: 0 / 0.6302 GB, free: 3.082 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.687, allocations: 1 kB / 0.6302 GB, free: 3.082 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.729e-05/0.6871, allocations: 0 / 0.6302 GB, free: 3.082 MB / 494.1 MB 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.002188/0.6893, allocations: 1.252 MB / 0.6314 GB, free: 2.312 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.6893, allocations: 12.02 kB / 0.6314 GB, free: 2.309 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003463/0.6897, allocations: 129.4 kB / 0.6316 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.691, allocations: 0.7599 MB / 0.6323 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.691, allocations: 35.56 kB / 0.6323 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.631e-05/0.6911, allocations: 43.41 kB / 0.6324 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.6926, allocations: 0.6649 MB / 0.633 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.6926, allocations: 2.906 kB / 0.633 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.489e-05/0.6926, allocations: 25.47 kB / 0.633 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.6927, allocations: 13.62 kB / 0.6331 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.6939, allocations: 0.4976 MB / 0.6335 GB, free: 1.852 MB / 494.1 MB 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.003585/0.6975, allocations: 2.794 MB / 0.6363 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009978/0.6985, allocations: 384.8 kB / 0.6366 GB, free: 16.08 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.6986, allocations: 89.66 kB / 0.6367 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.6987, allocations: 37.42 kB / 0.6368 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=26): time 2.985e-06/0.6987, allocations: 0 / 0.6368 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26): time 0.003161/0.7018, allocations: 1.032 MB / 0.6378 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.7019, allocations: 110.6 kB / 0.6379 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/0.7033, allocations: 1.054 MB / 0.6389 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.861e-05/0.7034, allocations: 31.77 kB / 0.6389 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/0.7037, allocations: 0.4961 MB / 0.6394 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.335e-05/0.7038, allocations: 89.94 kB / 0.6395 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-05/0.7038, allocations: 2.5 kB / 0.6395 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.547e-05/0.7039, allocations: 319.8 kB / 0.6398 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.7042, allocations: 124.7 kB / 0.6399 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.7045, allocations: 217.4 kB / 0.6401 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.7048, allocations: 155.8 kB / 0.6403 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.7048, allocations: 1.375 kB / 0.6403 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009313/0.7057, allocations: 0.559 MB / 0.6408 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003027/0.706, allocations: 1.058 MB / 0.6419 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.706, allocations: 3.406 kB / 0.6419 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001777/0.7078, allocations: 353.5 kB / 0.6422 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.708, allocations: 42.67 kB / 0.6423 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.7091, allocations: 0.8865 MB / 0.6431 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006887/0.7098, allocations: 80.83 kB / 0.6432 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/0.7098, allocations: 18.47 kB / 0.6432 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.7098, allocations: 4.125 kB / 0.6432 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001229/0.7111, allocations: 0.5963 MB / 0.6438 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.7111, allocations: 0.75 kB / 0.6438 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000412/0.7115, allocations: 166.6 kB / 0.644 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.7117, allocations: 37.67 kB / 0.644 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/0.7148, allocations: 2.833 MB / 0.6468 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006473/0.7155, allocations: 73.61 kB / 0.6468 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.7155, allocations: 13.06 kB / 0.6468 GB, free: 11.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005066/0.7161, allocations: 424.3 kB / 0.6472 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.7163, allocations: 105 kB / 0.6473 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.7177, allocations: 0.6982 MB / 0.648 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.7177, allocations: 2.719 kB / 0.648 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.7178, allocations: 2.75 kB / 0.648 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.7178, allocations: 3.656 kB / 0.648 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/0.72, allocations: 1.604 MB / 0.6496 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.72, allocations: 9.172 kB / 0.6496 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.7203, allocations: 56.38 kB / 0.6497 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001739/0.7205, allocations: 92.42 kB / 0.6498 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.7205, allocations: 5.375 kB / 0.6498 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.7226, allocations: 2.677 MB / 0.6524 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7226, allocations: 2.906 kB / 0.6524 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007955/0.7234, allocations: 0.676 MB / 0.653 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002758/0.7237, allocations: 175.8 kB / 0.6532 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.7238, allocations: 16.39 kB / 0.6532 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000405/0.7242, allocations: 44.16 kB / 0.6533 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/0.7243, allocations: 21.67 kB / 0.6533 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.7243, allocations: 14.56 kB / 0.6533 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007963/0.7251, allocations: 0.7431 MB / 0.654 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7252, allocations: 0 / 0.654 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001153/0.7263, allocations: 424.3 kB / 0.6544 GB, free: 7.574 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004354/0.7268, allocations: 200.4 kB / 0.6546 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001286/0.7281, allocations: 0.7126 MB / 0.6553 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7281, allocations: 0 / 0.6553 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007271/0.7288, allocations: 359.8 kB / 0.6557 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.7304, allocations: 384.6 kB / 0.656 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.7328, allocations: 1.876 MB / 0.6579 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006438/0.7334, allocations: 1.187 MB / 0.659 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005957/0.734, allocations: 196.7 kB / 0.6592 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.649e-05/0.7341, allocations: 57.78 kB / 0.6593 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of SimCode: time 6.91e-07/0.7341, allocations: 0 / 0.6593 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of Templates: time 0.02366/0.7578, allocations: 14.64 MB / 0.6736 GB, free: 0.668 MB / 0.4981 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: