Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.342/1.342, allocations: 251.5 MB / 267.4 MB, free: 11.09 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.001013/0.001013, allocations: 182.1 kB / 326.5 MB, free: 2.734 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.905/1.905, allocations: 205 MB / 0.5766 GB, free: 21.03 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.0009229/0.0009226, allocations: 85.31 kB / 0.6804 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003418, allocations: 7.875 kB / 0.7938 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2305, allocations: 105.4 MB / 0.8967 GB, free: 68.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.03027/0.2608, allocations: 45.41 MB / 0.9411 GB, free: 22.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01378/0.2746, allocations: 11.42 MB / 0.9522 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002198/0.2769, allocations: 51.69 kB / 0.9523 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001586/0.2785, allocations: 0.5554 MB / 0.9528 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005545/0.284, allocations: 2.024 MB / 0.9548 GB, free: 8.609 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003431/0.2875, allocations: 1.316 MB / 0.9561 GB, free: 7.305 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.02387/0.3114, allocations: 29.05 MB / 0.9845 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009907/0.3213, allocations: 7.184 MB / 0.9915 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01333/0.3347, allocations: 5.473 MB / 0.9968 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01216/0.3469, allocations: 5.607 MB / 1.002 GB, free: 7.766 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.002154/0.3491, allocations: 284 kB / 1.003 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006814/0.356, allocations: 1.388 MB / 1.004 GB, free: 6.098 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.002943/0.3589, allocations: 1.396 MB / 1.005 GB, free: 4.695 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.008411/0.3674, allocations: 3.673 MB / 1.009 GB, free: 1.004 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01546/0.3828, allocations: 11.98 MB / 1.021 GB, free: 4.988 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.3829, allocations: 7.938 kB / 1.021 GB, free: 4.98 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.715e-06/0.3829, allocations: 0 / 1.021 GB, free: 4.98 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004666/0.3834, allocations: 0 / 1.021 GB, free: 4.98 MB / 0.6667 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.01747/0.4009, allocations: 6.551 MB / 1.027 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.4009, allocations: 8.031 kB / 1.027 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004506/0.4054, allocations: 0.8429 MB / 1.028 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01383/0.4193, allocations: 7.574 MB / 1.035 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004146/0.4198, allocations: 419.9 kB / 1.036 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001484/0.4212, allocations: 0.5076 MB / 1.036 GB, free: 4.898 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01542/0.4367, allocations: 7.56 MB / 1.043 GB, free: 13.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001554/0.4369, allocations: 27.88 kB / 1.044 GB, free: 13.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007261/0.4376, allocations: 212 kB / 1.044 GB, free: 12.81 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001826/0.4378, allocations: 171.8 kB / 1.044 GB, free: 12.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/0.4505, allocations: 6.071 MB / 1.05 GB, free: 6.559 MB / 0.698 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.4723/0.9228, allocations: 29.13 MB / 1.078 GB, free: 127.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005785/0.9286, allocations: 3.414 MB / 1.082 GB, free: 127.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002735/0.9314, allocations: 1.958 MB / 1.083 GB, free: 126.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009009/0.9323, allocations: 1.005 MB / 1.084 GB, free: 125.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.223e-05/0.9324, allocations: 71.83 kB / 1.085 GB, free: 125.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=253): time 6.271e-06/0.9324, allocations: 2.125 kB / 1.085 GB, free: 125.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=253): time 0.008125/0.9405, allocations: 4.691 MB / 1.089 GB, free: 123.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.9406, allocations: 76.41 kB / 1.089 GB, free: 123.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01128/0.9519, allocations: 6.029 MB / 1.095 GB, free: 120.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006898/0.9526, allocations: 76.42 kB / 1.095 GB, free: 120.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00219/0.9548, allocations: 2.939 MB / 1.098 GB, free: 117.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001237/0.9561, allocations: 0.8976 MB / 1.099 GB, free: 117 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003181/0.9564, allocations: 282.2 kB / 1.099 GB, free: 116.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.206e-05/0.9565, allocations: 308.8 kB / 1.099 GB, free: 116.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002065/0.9585, allocations: 1.638 MB / 1.101 GB, free: 115.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002421/0.961, allocations: 2.681 MB / 1.104 GB, free: 113.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004661/0.9656, allocations: 4.603 MB / 1.108 GB, free: 110.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.786e-05/0.9657, allocations: 6.812 kB / 1.108 GB, free: 110.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007436/0.9731, allocations: 4.967 MB / 1.113 GB, free: 105.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006444/0.9738, allocations: 1.024 MB / 1.114 GB, free: 104.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.491e-05/0.9738, allocations: 32 kB / 1.114 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.653e-05/0.9739, allocations: 55.94 kB / 1.114 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002535/0.9764, allocations: 0.8177 MB / 1.115 GB, free: 103.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000528/0.977, allocations: 1.25 MB / 1.116 GB, free: 102.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005468/0.9825, allocations: 0.6122 MB / 1.117 GB, free: 101.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003029/0.9828, allocations: 160 kB / 1.117 GB, free: 101.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.9828, allocations: 8.625 kB / 1.117 GB, free: 101.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005397/0.9882, allocations: 4.455 MB / 1.121 GB, free: 96.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.34e-05/0.9883, allocations: 33.53 kB / 1.121 GB, free: 96.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.252e-05/0.9883, allocations: 48 kB / 1.121 GB, free: 96.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00216/0.9905, allocations: 0.7838 MB / 1.122 GB, free: 96.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.032e-05/0.9905, allocations: 71.78 kB / 1.122 GB, free: 96.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004748/0.9953, allocations: 0.5509 MB / 1.123 GB, free: 95.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002627/0.9956, allocations: 160 kB / 1.123 GB, free: 95.35 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004209/0.9998, allocations: 2.49 MB / 1.125 GB, free: 92.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002255/1.002, allocations: 0.5559 MB / 1.126 GB, free: 92.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007008/1.009, allocations: 3.883 MB / 1.13 GB, free: 88.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003454/1.013, allocations: 3.005 MB / 1.133 GB, free: 85.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/1.013, allocations: 7.969 kB / 1.133 GB, free: 85.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003899/1.016, allocations: 1.177 MB / 1.134 GB, free: 84.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001315/1.018, allocations: 63.98 kB / 1.134 GB, free: 84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003596/1.021, allocations: 345.4 kB / 1.134 GB, free: 83.67 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002805/1.022, allocations: 153.8 kB / 1.134 GB, free: 83.52 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005382/1.027, allocations: 3.859 MB / 1.138 GB, free: 79.64 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007159/1.034, allocations: 6.225 MB / 1.144 GB, free: 73.33 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001619/1.036, allocations: 1.667 MB / 1.146 GB, free: 71.65 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.006593/1.043, allocations: 4.258 MB / 1.15 GB, free: 67.42 MB / 0.698 GB Notification: Performance of Backend: time 5.81e-07/1.043, allocations: 0 / 1.15 GB, free: 67.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01226/1.055, allocations: 5.264 MB / 1.155 GB, free: 62.23 MB / 0.698 GB Notification: Performance of SimCode: time 0.03082/1.086, allocations: 18.41 MB / 1.173 GB, free: 43.85 MB / 0.698 GB Notification: Performance of Templates: time 0.1997/1.285, allocations: 136.5 MB / 1.306 GB, free: 4.004 MB / 0.7917 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)