Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.422/2.422, allocations: 251.1 MB / 266.7 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001281/0.001281, allocations: 176.3 kB / 326.3 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.564/2.564, allocations: 205.4 MB / 0.5772 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001678/0.001677, allocations: 96.34 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004693/0.0004695, allocations: 12.38 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2006, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.05753/0.2582, allocations: 42.38 MB / 0.9409 GB, free: 23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01873/0.277, allocations: 10.63 MB / 0.9513 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002228/0.2793, allocations: 47.69 kB / 0.9513 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002391/0.2817, allocations: 496.8 kB / 0.9518 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006694/0.2884, allocations: 1.72 MB / 0.9535 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004982/0.2934, allocations: 1.083 MB / 0.9545 GB, free: 9.027 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.03442/0.3279, allocations: 24.77 MB / 0.9787 GB, free: 192 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01504/0.343, allocations: 6.883 MB / 0.9854 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01422/0.3573, allocations: 5.408 MB / 0.9907 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01318/0.3705, allocations: 5.305 MB / 0.9959 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.00214/0.3727, allocations: 287.8 kB / 0.9962 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007504/0.3802, allocations: 1.08 MB / 0.9972 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.003768/0.384, allocations: 1.315 MB / 0.9985 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00432/0.3884, allocations: 1.564 MB / 1 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.02386/0.4123, allocations: 10.05 MB / 1.01 GB, free: 140 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.4124, allocations: 0 / 1.01 GB, free: 140 kB / 0.6511 GB Notification: Performance of FrontEnd: time 3.246e-06/0.4124, allocations: 4 kB / 1.01 GB, free: 136 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0005184/0.413, allocations: 0 / 1.01 GB, free: 136 kB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.03711/0.4501, allocations: 6.625 MB / 1.016 GB, free: 9.422 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 7.864e-05/0.4502, allocations: 8.031 kB / 1.016 GB, free: 9.414 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009815/0.46, allocations: 0.8429 MB / 1.017 GB, free: 8.562 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03727/0.4974, allocations: 7.395 MB / 1.024 GB, free: 1.086 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009837/0.4984, allocations: 419.8 kB / 1.025 GB, free: 0.668 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002901/0.5014, allocations: 0.5076 MB / 1.025 GB, free: 164 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03364/0.5351, allocations: 7.517 MB / 1.033 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004325/0.5356, allocations: 23.77 kB / 1.033 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002352/0.5379, allocations: 227.9 kB / 1.033 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004142/0.5384, allocations: 171.8 kB / 1.033 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02874/0.5672, allocations: 6.036 MB / 1.039 GB, free: 1.887 MB / 0.6823 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.7721/1.339, allocations: 29.12 MB / 1.067 GB, free: 125 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009705/1.349, allocations: 3.392 MB / 1.071 GB, free: 124.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006987/1.356, allocations: 1.95 MB / 1.073 GB, free: 124.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002738/1.359, allocations: 1.003 MB / 1.074 GB, free: 123.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/1.359, allocations: 66.22 kB / 1.074 GB, free: 123.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=253): time 1.417e-05/1.359, allocations: 0.75 kB / 1.074 GB, free: 123.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=253): time 0.02505/1.384, allocations: 4.678 MB / 1.078 GB, free: 123.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/1.384, allocations: 76.16 kB / 1.078 GB, free: 123.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02432/1.409, allocations: 5.978 MB / 1.084 GB, free: 123 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009799/1.41, allocations: 77.52 kB / 1.084 GB, free: 122.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.005807/1.416, allocations: 2.942 MB / 1.087 GB, free: 120.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002501/1.418, allocations: 0.8983 MB / 1.088 GB, free: 120.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005542/1.419, allocations: 67.84 kB / 1.088 GB, free: 120.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0004263/1.419, allocations: 450.6 kB / 1.088 GB, free: 119.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007168/1.427, allocations: 1.623 MB / 1.09 GB, free: 119.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009469/1.436, allocations: 2.668 MB / 1.093 GB, free: 117.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009128/1.445, allocations: 2.214 MB / 1.095 GB, free: 116.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.05e-05/1.445, allocations: 7.344 kB / 1.095 GB, free: 116.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.02334/1.469, allocations: 4.932 MB / 1.1 GB, free: 113.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007323/1.47, allocations: 1.039 MB / 1.101 GB, free: 112.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.05e-05/1.47, allocations: 30.09 kB / 1.101 GB, free: 112.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.968e-05/1.47, allocations: 48.34 kB / 1.101 GB, free: 112.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006501/1.476, allocations: 0.8152 MB / 1.101 GB, free: 112.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009156/1.477, allocations: 1.251 MB / 1.103 GB, free: 110.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008808/1.486, allocations: 0.6104 MB / 1.103 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001271/1.488, allocations: 159.7 kB / 1.103 GB, free: 110.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/1.488, allocations: 4.125 kB / 1.103 GB, free: 110.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01986/1.507, allocations: 4.427 MB / 1.108 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.761e-05/1.508, allocations: 31.19 kB / 1.108 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001074/1.508, allocations: 55.72 kB / 1.108 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00876/1.517, allocations: 0.7799 MB / 1.109 GB, free: 108 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000147/1.517, allocations: 67.45 kB / 1.109 GB, free: 108 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01192/1.529, allocations: 0.549 MB / 1.109 GB, free: 107.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001185/1.53, allocations: 159.8 kB / 1.109 GB, free: 107.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009104/1.539, allocations: 2.495 MB / 1.112 GB, free: 105.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003192/1.542, allocations: 0.5454 MB / 1.112 GB, free: 104.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01751/1.56, allocations: 3.897 MB / 1.116 GB, free: 100.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01234/1.572, allocations: 2.989 MB / 1.119 GB, free: 97.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/1.572, allocations: 4 kB / 1.119 GB, free: 97.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007145/1.58, allocations: 1.295 MB / 1.12 GB, free: 96.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003158/1.583, allocations: 63.92 kB / 1.12 GB, free: 96.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0127/1.596, allocations: 344.7 kB / 1.121 GB, free: 96.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001509/1.597, allocations: 145.8 kB / 1.121 GB, free: 95.97 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01292/1.61, allocations: 3.839 MB / 1.125 GB, free: 92.12 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01455/1.625, allocations: 6.199 MB / 1.131 GB, free: 85.83 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003565/1.628, allocations: 1.658 MB / 1.132 GB, free: 84.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.01104/1.64, allocations: 4.211 MB / 1.136 GB, free: 79.98 MB / 0.698 GB Notification: Performance of Backend: time 2.214e-06/1.64, allocations: 4 kB / 1.136 GB, free: 79.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02286/1.663, allocations: 5.229 MB / 1.141 GB, free: 74.83 MB / 0.698 GB Notification: Performance of SimCode: time 0.05475/1.717, allocations: 18.22 MB / 1.159 GB, free: 56.63 MB / 0.698 GB Notification: Performance of Templates: time 0.3477/2.065, allocations: 133.2 MB / 1.289 GB, free: 4.062 MB / 0.7761 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)