Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.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.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003773/0.003773, allocations: 358.4 kB / 16.59 MB, free: 5.562 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.543/1.543, allocations: 165.8 MB / 183.1 MB, free: 5.41 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.171/4.171, allocations: 410.8 MB / 0.6001 GB, free: 15.07 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.002585/0.002585, allocations: 186.5 kB / 0.6668 GB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008512/0.0008515, allocations: 16 kB / 0.7429 GB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4367, allocations: 67.44 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.8239/1.261, allocations: 214.1 MB / 1.018 GB, free: 8.84 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.05039/1.311, allocations: 7.512 MB / 1.025 GB, free: 5.91 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002411/1.314, allocations: 45.38 kB / 1.025 GB, free: 5.887 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00378/1.317, allocations: 0.5882 MB / 1.026 GB, free: 5.469 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009006/1.326, allocations: 2.084 MB / 1.028 GB, free: 4.102 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007105/1.334, allocations: 1.581 MB / 1.029 GB, free: 3.371 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.006519/1.34, allocations: 3.759 MB / 1.033 GB, free: 2.02 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002131/1.342, allocations: 0.7996 MB / 1.034 GB, free: 1.391 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005204/1.348, allocations: 1.44 MB / 1.035 GB, free: 120 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002587/1.35, allocations: 0.908 MB / 1.036 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003672/1.351, allocations: 48 kB / 1.036 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004296/1.355, allocations: 0.9551 MB / 1.037 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0009542/1.356, allocations: 387.5 kB / 1.037 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0007293/1.357, allocations: 287.2 kB / 1.038 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.004021/1.361, allocations: 1.618 MB / 1.039 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.361, allocations: 4 kB / 1.039 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.786e-06/1.361, allocations: 0 / 1.039 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.19e-05/1.361, allocations: 4 kB / 1.039 GB, free: 12.48 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.004743/1.366, allocations: 1.425 MB / 1.041 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.783e-05/1.366, allocations: 8.031 kB / 1.041 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007152/1.373, allocations: 438.2 kB / 1.041 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004949/1.378, allocations: 0.9121 MB / 1.042 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/1.378, allocations: 64.88 kB / 1.042 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004517/1.379, allocations: 87.89 kB / 1.042 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004234/1.383, allocations: 0.8857 MB / 1.043 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.91e-05/1.383, allocations: 0 / 1.043 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002109/1.383, allocations: 28 kB / 1.043 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.043e-05/1.383, allocations: 30 kB / 1.043 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004475/1.388, allocations: 0.8237 MB / 1.044 GB, free: 8 MB / 0.4948 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.01132/1.399, allocations: 3.627 MB / 1.047 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003469/1.403, allocations: 1.102 MB / 1.048 GB, free: 2.859 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/1.404, allocations: 386.3 kB / 1.049 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/1.405, allocations: 416.9 kB / 1.049 GB, free: 2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/1.405, allocations: 39.11 kB / 1.049 GB, free: 1.953 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=60): time 3.527e-06/1.405, allocations: 4 kB / 1.049 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of matching and sorting (n=60): time 0.003592/1.409, allocations: 0.9819 MB / 1.05 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/1.409, allocations: 55.97 kB / 1.05 GB, free: 0.8945 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/1.41, allocations: 0.8278 MB / 1.051 GB, free: 44 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/1.411, allocations: 37.7 kB / 1.051 GB, free: 0 / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000615/1.411, allocations: 476.1 kB / 1.052 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002958/1.412, allocations: 216.9 kB / 1.052 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/1.412, allocations: 12 kB / 1.052 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.412, allocations: 337.9 kB / 1.052 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008789/1.413, allocations: 256.9 kB / 1.052 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/1.414, allocations: 376.3 kB / 1.053 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/1.415, allocations: 306 kB / 1.053 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/1.415, allocations: 4 kB / 1.053 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002437/1.417, allocations: 0.736 MB / 1.054 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/1.417, allocations: 126.8 kB / 1.054 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/1.417, allocations: 0 / 1.054 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/1.417, allocations: 7.938 kB / 1.054 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/1.419, allocations: 131.8 kB / 1.054 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/1.419, allocations: 7.984 kB / 1.054 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/1.42, allocations: 128.4 kB / 1.054 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-05/1.42, allocations: 20 kB / 1.054 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/1.42, allocations: 4 kB / 1.054 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002089/1.423, allocations: 0.63 MB / 1.055 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/1.423, allocations: 0 / 1.055 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/1.423, allocations: 4 kB / 1.055 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/1.424, allocations: 131.8 kB / 1.055 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/1.424, allocations: 4 kB / 1.055 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/1.425, allocations: 120.4 kB / 1.055 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.299e-05/1.426, allocations: 24 kB / 1.055 GB, free: 11.92 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * 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.0008627/1.426, allocations: 380.9 kB / 1.055 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003199/1.427, allocations: 106.7 kB / 1.055 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002531/1.429, allocations: 0.7663 MB / 1.056 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002189/1.432, allocations: 0.919 MB / 1.057 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/1.432, allocations: 0 / 1.057 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007729/1.432, allocations: 251.7 kB / 1.057 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/1.433, allocations: 12 kB / 1.057 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/1.434, allocations: 99.73 kB / 1.057 GB, free: 9.281 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/1.434, allocations: 36.52 kB / 1.058 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003099/1.437, allocations: 0.8227 MB / 1.058 GB, free: 8.418 MB / 0.5105 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003469/1.441, allocations: 1.29 MB / 1.06 GB, free: 7.109 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009255/1.442, allocations: 324.4 kB / 1.06 GB, free: 6.793 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001298/1.443, allocations: 0.5782 MB / 1.06 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of Backend: time 4.81e-07/1.443, allocations: 0 / 1.06 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004331/1.447, allocations: 1.14 MB / 1.062 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of SimCode: time 0.008821/1.456, allocations: 3.329 MB / 1.065 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.06631/1.523, allocations: 24.08 MB / 1.088 GB, free: 9.832 MB / 0.5417 GB