Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.624/4.624, allocations: 0.5623 GB / 0.5769 GB, free: 3.348 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002352/0.002352, allocations: 361.6 kB / 0.6441 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.866/3.866, allocations: 410.7 MB / 1.112 GB, free: 5.922 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001796/0.001795, allocations: 191.4 kB / 1.225 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.0004822, allocations: 16 kB / 1.348 GB, free: 8.203 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5681/0.5686, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.143/0.7117, allocations: 145.8 MB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.7136, allocations: 0.9646 MB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.7139, allocations: 7.938 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005183/0.7144, allocations: 159 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.7155, allocations: 457.6 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007881/0.7164, allocations: 267 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005439/0.7169, allocations: 0.6083 MB / 1.605 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000276/0.7172, allocations: 135.2 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005176/0.7177, allocations: 254.9 kB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.718, allocations: 160 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.445e-05/0.718, allocations: 12 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005132/0.7185, allocations: 227.3 kB / 1.606 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.84e-05/0.7186, allocations: 75.77 kB / 1.606 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.284e-05/0.7187, allocations: 65.64 kB / 1.606 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003572/0.7191, allocations: 263.4 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.459e-06/0.7191, allocations: 0 / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.987e-06/0.7191, allocations: 3.938 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.895e-06/0.7191, allocations: 4 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001372/0.7205, allocations: 0.5533 MB / 1.607 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.7206, allocations: 9.109 kB / 1.607 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002892/0.7209, allocations: 51.69 kB / 1.607 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.7212, allocations: 264.4 kB / 1.607 GB, free: 134 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.7212, allocations: 12.33 kB / 1.607 GB, free: 134 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.7213, allocations: 20 kB / 1.607 GB, free: 134 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005533/0.7218, allocations: 242.8 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.7219, allocations: 4 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.7219, allocations: 11.98 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.7219, allocations: 15.77 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006935/0.7226, allocations: 255.8 kB / 1.608 GB, free: 133.4 MB / 0.8542 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.001318/0.724, allocations: 0.8395 MB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.7244, allocations: 142.5 kB / 1.609 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.7246, allocations: 120.9 kB / 1.609 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.7249, allocations: 194.1 kB / 1.609 GB, free: 132 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.7249, allocations: 34.56 kB / 1.609 GB, free: 132 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 2.931e-06/0.7249, allocations: 0 / 1.609 GB, free: 132 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0009918/0.7259, allocations: 322.8 kB / 1.61 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.726, allocations: 55.36 kB / 1.61 GB, free: 131.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.7262, allocations: 245 kB / 1.61 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.7263, allocations: 29.7 kB / 1.61 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.694e-05/0.7264, allocations: 132.2 kB / 1.61 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.7264, allocations: 51.3 kB / 1.61 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/0.7264, allocations: 0 / 1.61 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.455e-05/0.7265, allocations: 330.8 kB / 1.61 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.7267, allocations: 71.94 kB / 1.61 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.727, allocations: 114.5 kB / 1.611 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.7272, allocations: 83.88 kB / 1.611 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.863e-06/0.7273, allocations: 4 kB / 1.611 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005417/0.7278, allocations: 217 kB / 1.611 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.7278, allocations: 4 kB / 1.611 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.944e-06/0.7279, allocations: 4 kB / 1.611 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.7279, allocations: 3.984 kB / 1.611 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.7281, allocations: 36.05 kB / 1.611 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.109e-06/0.7281, allocations: 8 kB / 1.611 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.7284, allocations: 31.69 kB / 1.611 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.7284, allocations: 11.98 kB / 1.611 GB, free: 130.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.7286, allocations: 144.2 kB / 1.611 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-05/0.7286, allocations: 20.89 kB / 1.611 GB, free: 130 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.239e-05/0.7287, allocations: 33.83 kB / 1.611 GB, free: 130 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.72e-06/0.7287, allocations: 0 / 1.611 GB, free: 130 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.838e-06/0.7287, allocations: 0 / 1.611 GB, free: 130 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.091e-06/0.7287, allocations: 0 / 1.611 GB, free: 130 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.73, allocations: 0.6873 MB / 1.612 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.006e-06/0.73, allocations: 4 kB / 1.612 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.7302, allocations: 36.14 kB / 1.612 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.364e-06/0.7302, allocations: 11.94 kB / 1.612 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.7303, allocations: 4 kB / 1.612 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.149e-06/0.7303, allocations: 3.938 kB / 1.612 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.136e-06/0.7303, allocations: 4 kB / 1.612 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006025/0.7309, allocations: 361.2 kB / 1.612 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.731, allocations: 118.4 kB / 1.612 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.7311, allocations: 15.94 kB / 1.612 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.7314, allocations: 8 kB / 1.612 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.7314, allocations: 15.98 kB / 1.612 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.7315, allocations: 11.92 kB / 1.612 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001628/0.7317, allocations: 176.5 kB / 1.613 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.46e-07/0.7317, allocations: 0 / 1.613 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004441/0.7321, allocations: 63.89 kB / 1.613 GB, free: 128.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003379/0.7325, allocations: 153.8 kB / 1.613 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005194/0.733, allocations: 183.8 kB / 1.613 GB, free: 128 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.043e-06/0.733, allocations: 0 / 1.613 GB, free: 128 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002627/0.7333, allocations: 95.88 kB / 1.613 GB, free: 128 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008929/0.7342, allocations: 127.1 kB / 1.613 GB, free: 127.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000736/0.735, allocations: 0.4982 MB / 1.614 GB, free: 127.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.7352, allocations: 0.7521 MB / 1.614 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000299/0.7355, allocations: 68.02 kB / 1.614 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.703e-05/0.7356, allocations: 23.42 kB / 1.614 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of SimCode: time 2.299e-06/0.7356, allocations: 0 / 1.614 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.00971/0.7453, allocations: 4.066 MB / 1.618 GB, free: 122.5 MB / 0.8542 GB