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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.426/1.426, allocations: 249.5 MB / 257 MB, free: 6.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 188.8 kB / 316.3 MB, free: 3.227 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.53/1.53, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0009971/0.0009971, allocations: 89.41 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.898e-05/1.899e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2007, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.47/1.671, allocations: 424.1 MB / 1.299 GB, free: 320.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/1.671, allocations: 86.17 kB / 1.3 GB, free: 320.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.406/4.077, allocations: 0.7436 GB / 2.043 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.264e-06/4.077, allocations: 0 / 2.043 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000899/4.078, allocations: 182.5 kB / 2.043 GB, free: 133.1 MB / 0.8698 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.01607/4.094, allocations: 5.619 MB / 2.049 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/4.094, allocations: 11.41 kB / 2.049 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005799/4.1, allocations: 0.8303 MB / 2.05 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04689/4.147, allocations: 22.71 MB / 2.072 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003295/4.147, allocations: 243.8 kB / 2.072 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001564/4.149, allocations: 308.9 kB / 2.072 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009183/4.158, allocations: 5.021 MB / 2.077 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/4.169, allocations: 6.166 MB / 2.083 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001334/4.169, allocations: 24.75 kB / 2.083 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005576/4.169, allocations: 10.84 kB / 2.083 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/4.17, allocations: 167.8 kB / 2.083 GB, free: 128.4 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.03458/4.204, allocations: 28.58 MB / 2.111 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004548/4.209, allocations: 3.218 MB / 2.114 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001788/4.211, allocations: 1.623 MB / 2.116 GB, free: 113 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007925/4.211, allocations: 0.9732 MB / 2.117 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/4.212, allocations: 68.03 kB / 2.117 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=253): time 4.889e-06/4.212, allocations: 0 / 2.117 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=253): time 0.005602/4.217, allocations: 3.039 MB / 2.12 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/4.217, allocations: 79.75 kB / 2.12 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006865/4.224, allocations: 4.648 MB / 2.125 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005831/4.225, allocations: 29.39 kB / 2.125 GB, free: 109 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001813/4.226, allocations: 2.925 MB / 2.128 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001034/4.228, allocations: 0.868 MB / 2.128 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/4.228, allocations: 2.438 kB / 2.128 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001831/4.228, allocations: 450.2 kB / 2.129 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/4.23, allocations: 1.388 MB / 2.13 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002162/4.232, allocations: 2.519 MB / 2.133 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003073/4.235, allocations: 2.086 MB / 2.135 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.946e-05/4.235, allocations: 10.81 kB / 2.135 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007483/4.242, allocations: 4.343 MB / 2.139 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.004132/4.247, allocations: 16.53 MB / 2.155 GB, free: 83.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-05/4.247, allocations: 34.47 kB / 2.155 GB, free: 83.65 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000111/4.247, allocations: 64.53 kB / 2.155 GB, free: 83.65 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003258/4.25, allocations: 0.8825 MB / 2.156 GB, free: 83.56 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005013/4.251, allocations: 1.247 MB / 2.157 GB, free: 82.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004858/4.255, allocations: 454.4 kB / 2.158 GB, free: 82.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002981/4.256, allocations: 160.2 kB / 2.158 GB, free: 82.14 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/4.256, allocations: 3.469 kB / 2.158 GB, free: 82.14 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005561/4.261, allocations: 3.845 MB / 2.162 GB, free: 80.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.308e-05/4.261, allocations: 32.81 kB / 2.162 GB, free: 80.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.493e-05/4.261, allocations: 59.06 kB / 2.162 GB, free: 80.88 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002614/4.264, allocations: 0.8618 MB / 2.163 GB, free: 80.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.676e-05/4.264, allocations: 77.22 kB / 2.163 GB, free: 80.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004561/4.269, allocations: 378.2 kB / 2.163 GB, free: 80.63 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003067/4.269, allocations: 167 kB / 2.163 GB, free: 80.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0007875/4.27, allocations: 219.5 kB / 2.163 GB, free: 80.4 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005332/4.275, allocations: 3.02 MB / 2.166 GB, free: 79.36 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00117/4.276, allocations: 487.8 kB / 2.167 GB, free: 79.11 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005558/4.282, allocations: 3.456 MB / 2.17 GB, free: 77.93 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/4.282, allocations: 27.22 kB / 2.17 GB, free: 77.93 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/4.282, allocations: 0 / 2.17 GB, free: 77.93 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003511/4.286, allocations: 2.674 MB / 2.173 GB, free: 77.03 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/4.301, allocations: 8.539 MB / 2.181 GB, free: 72.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/4.301, allocations: 0 / 2.181 GB, free: 72.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002071/4.303, allocations: 0.5323 MB / 2.182 GB, free: 71.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.027e-05/4.303, allocations: 10.72 kB / 2.182 GB, free: 71.95 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001523/4.304, allocations: 49.86 kB / 2.182 GB, free: 71.92 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003589/4.304, allocations: 1.185 MB / 2.183 GB, free: 70.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/4.304, allocations: 0 / 2.183 GB, free: 70.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006959/4.311, allocations: 5.361 MB / 2.188 GB, free: 65.96 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003382/4.314, allocations: 1.228 MB / 2.189 GB, free: 64.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001206/4.316, allocations: 26.75 kB / 2.189 GB, free: 64.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003441/4.319, allocations: 210.9 kB / 2.19 GB, free: 64.72 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/4.319, allocations: 157.9 kB / 2.19 GB, free: 64.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002467/4.319, allocations: 130.1 kB / 2.19 GB, free: 64.52 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.004944/4.324, allocations: 3.581 MB / 2.193 GB, free: 61.47 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.82e-07/4.324, allocations: 0 / 2.193 GB, free: 61.47 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.009322/4.334, allocations: 3.192 MB / 2.196 GB, free: 58.28 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 Backend phase and start with SimCode phase: time 0.007514/4.341, allocations: 6.64 MB / 2.203 GB, free: 52.39 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007056/4.348, allocations: 5.474 MB / 2.208 GB, free: 47.53 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/4.348, allocations: 4 kB / 2.208 GB, free: 47.52 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00169/4.35, allocations: 1.49 MB / 2.21 GB, free: 46.21 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01424/4.364, allocations: 3.172 MB / 2.213 GB, free: 43.98 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02082/4.385, allocations: 13.16 MB / 2.226 GB, free: 31.26 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003364/4.389, allocations: 4.636 MB / 2.23 GB, free: 26.59 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01136/4.4, allocations: 4.302 MB / 2.234 GB, free: 22.44 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003281/4.403, allocations: 2.424 MB / 2.237 GB, free: 20.02 MB / 0.8698 GB Notification: Performance of SimCode: time 7.01e-07/4.403, allocations: 0 / 2.237 GB, free: 20.02 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7142/5.118, allocations: 156.9 MB / 2.39 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/5.118, allocations: 182 kB / 2.39 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.614/11.73, allocations: 0 / 2.39 GB, free: 125.3 MB / 0.8855 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)