Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003244/0.003244, allocations: 359.5 kB / 16.59 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.625/1.625, allocations: 165.8 MB / 183.1 MB, free: 5.492 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.342/4.342, allocations: 410.8 MB / 0.6001 GB, free: 15.22 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001752/0.001752, allocations: 194.8 kB / 0.6668 GB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005062/0.0005064, allocations: 12 kB / 0.7429 GB, free: 8.988 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.4555, allocations: 67.44 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.08499/0.5405, allocations: 41.16 MB / 0.8489 GB, free: 3.523 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03177/0.5724, allocations: 12.06 MB / 0.8607 GB, free: 7.445 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/0.5744, allocations: 35.75 kB / 0.8607 GB, free: 7.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002568/0.577, allocations: 481 kB / 0.8612 GB, free: 6.938 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008551/0.5856, allocations: 1.896 MB / 0.863 GB, free: 5.031 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005769/0.5914, allocations: 1.213 MB / 0.8642 GB, free: 3.832 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.007168/0.5986, allocations: 3.665 MB / 0.8678 GB, free: 156 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002105/0.6007, allocations: 0.7462 MB / 0.8685 GB, free: 15.39 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003486/0.6043, allocations: 1.05 MB / 0.8696 GB, free: 14.33 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002526/0.6068, allocations: 0.8401 MB / 0.8704 GB, free: 13.49 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000387/0.6073, allocations: 48 kB / 0.8704 GB, free: 13.44 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004039/0.6113, allocations: 0.9586 MB / 0.8714 GB, free: 12.48 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005871/0.612, allocations: 203 kB / 0.8716 GB, free: 12.28 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007233/0.6127, allocations: 273.1 kB / 0.8718 GB, free: 12.01 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004809/0.6175, allocations: 1.695 MB / 0.8735 GB, free: 10.31 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.6176, allocations: 3.938 kB / 0.8735 GB, free: 10.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.6176, allocations: 3.938 kB / 0.8735 GB, free: 10.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.057e-05/0.6177, allocations: 0 / 0.8735 GB, free: 10.3 MB / 426.7 MB 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.005019/0.6227, allocations: 1.449 MB / 0.8749 GB, free: 8.797 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.6228, allocations: 8.031 kB / 0.8749 GB, free: 8.789 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005887/0.6234, allocations: 130.5 kB / 0.875 GB, free: 8.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004463/0.6279, allocations: 1.164 MB / 0.8762 GB, free: 7.453 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-05/0.628, allocations: 54 kB / 0.8762 GB, free: 7.402 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/0.6282, allocations: 71.98 kB / 0.8763 GB, free: 7.332 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/0.6306, allocations: 0.7676 MB / 0.877 GB, free: 6.543 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.071e-05/0.6307, allocations: 3.984 kB / 0.877 GB, free: 6.539 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.6308, allocations: 28 kB / 0.8771 GB, free: 6.512 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.633e-05/0.6309, allocations: 16 kB / 0.8771 GB, free: 6.496 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0021/0.633, allocations: 0.5712 MB / 0.8776 GB, free: 5.926 MB / 426.7 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.009104/0.6421, allocations: 4.01 MB / 0.8816 GB, free: 1.594 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.644, allocations: 470.2 kB / 0.882 GB, free: 1.129 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007091/0.6447, allocations: 217.1 kB / 0.8822 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001972/0.6467, allocations: 1.523 MB / 0.8837 GB, free: 15.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.6468, allocations: 38.55 kB / 0.8837 GB, free: 15.01 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 3.707e-06/0.6468, allocations: 0 / 0.8837 GB, free: 15.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.002598/0.6494, allocations: 0.6825 MB / 0.8844 GB, free: 14.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.6495, allocations: 59.36 kB / 0.8845 GB, free: 14.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002427/0.652, allocations: 1.002 MB / 0.8854 GB, free: 13.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001464/0.6521, allocations: 29.7 kB / 0.8855 GB, free: 13.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006487/0.6528, allocations: 484.6 kB / 0.8859 GB, free: 12.72 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002513/0.6531, allocations: 165.6 kB / 0.8861 GB, free: 12.56 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.65e-05/0.6531, allocations: 8 kB / 0.8861 GB, free: 12.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.6533, allocations: 329.9 kB / 0.8864 GB, free: 12.22 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006876/0.654, allocations: 193 kB / 0.8866 GB, free: 12.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007982/0.6548, allocations: 328.4 kB / 0.8869 GB, free: 11.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000767/0.6556, allocations: 228.8 kB / 0.8871 GB, free: 11.44 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.6556, allocations: 7.938 kB / 0.8871 GB, free: 11.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002174/0.6578, allocations: 0.6468 MB / 0.8878 GB, free: 10.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001678/0.658, allocations: 191.5 kB / 0.8879 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.049e-05/0.658, allocations: 4 kB / 0.8879 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.6581, allocations: 8 kB / 0.888 GB, free: 10.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009086/0.659, allocations: 127.9 kB / 0.8881 GB, free: 10.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.563e-05/0.659, allocations: 15.95 kB / 0.8881 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.6604, allocations: 95.23 kB / 0.8882 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.6605, allocations: 35.98 kB / 0.8882 GB, free: 10.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.6606, allocations: 7.938 kB / 0.8882 GB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001795/0.6624, allocations: 0.5295 MB / 0.8887 GB, free: 9.719 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-05/0.6624, allocations: 4 kB / 0.8887 GB, free: 9.715 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.6624, allocations: 8 kB / 0.8888 GB, free: 9.707 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008864/0.6633, allocations: 127.8 kB / 0.8889 GB, free: 9.582 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.6634, allocations: 4 kB / 0.8889 GB, free: 9.578 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.6647, allocations: 95.42 kB / 0.889 GB, free: 9.484 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/0.6648, allocations: 27.98 kB / 0.889 GB, free: 9.457 MB / 442.7 MB 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.0007258/0.6656, allocations: 348.2 kB / 0.8893 GB, free: 9.109 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003054/0.6659, allocations: 106.7 kB / 0.8894 GB, free: 9.004 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003052/0.6689, allocations: 0.9718 MB / 0.8904 GB, free: 8.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00194/0.6709, allocations: 0.8493 MB / 0.8912 GB, free: 7.105 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.964e-05/0.671, allocations: 7.984 kB / 0.8912 GB, free: 7.098 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008743/0.6719, allocations: 307.3 kB / 0.8915 GB, free: 6.777 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/0.6722, allocations: 16 kB / 0.8915 GB, free: 6.762 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.6733, allocations: 51.8 kB / 0.8916 GB, free: 6.711 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/0.6736, allocations: 44.5 kB / 0.8916 GB, free: 6.664 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002642/0.6762, allocations: 0.8049 MB / 0.8924 GB, free: 5.855 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003367/0.6796, allocations: 1.277 MB / 0.8937 GB, free: 4.562 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009905/0.6807, allocations: 332.4 kB / 0.894 GB, free: 4.238 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001911/0.6827, allocations: 0.6947 MB / 0.8946 GB, free: 3.535 MB / 442.7 MB Notification: Performance of Backend: time 9.92e-07/0.6827, allocations: 0 / 0.8946 GB, free: 3.535 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004448/0.6872, allocations: 1.21 MB / 0.8958 GB, free: 2.305 MB / 442.7 MB Notification: Performance of SimCode: time 0.008635/0.6958, allocations: 3.174 MB / 0.8989 GB, free: 15.07 MB / 458.7 MB Notification: Performance of Templates: time 0.07906/0.775, allocations: 25.9 MB / 0.9242 GB, free: 5.422 MB / 474.7 MB