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.509/1.509, allocations: 251.9 MB / 266.9 MB, free: 10.86 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.001123/0.001123, allocations: 181.2 kB / 326.5 MB, free: 2.23 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.246/2.246, allocations: 205.4 MB / 0.5775 GB, free: 20.44 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.001211/0.001211, allocations: 98.42 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004305/0.0004308, allocations: 8.156 kB / 0.7963 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2984, allocations: 106.3 MB / 0.9002 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.146/1.444, allocations: 423.9 MB / 1.314 GB, free: 9.066 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/1.445, allocations: 95.58 kB / 1.314 GB, free: 9.016 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.93/4.375, allocations: 0.7498 GB / 2.064 GB, free: 25.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.819e-06/4.375, allocations: 0 / 2.064 GB, free: 25.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.002049/4.377, allocations: 183.8 kB / 2.064 GB, free: 25.52 MB / 0.8855 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.03142/4.409, allocations: 6.998 MB / 2.071 GB, free: 18.44 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.693e-05/4.409, allocations: 12.03 kB / 2.071 GB, free: 18.43 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004504/4.413, allocations: 0.7104 MB / 2.072 GB, free: 17.71 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006528/4.42, allocations: 0.8289 MB / 2.072 GB, free: 16.87 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6957/5.116, allocations: 22.87 MB / 2.095 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000613/5.116, allocations: 417.2 kB / 2.095 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002503/5.119, allocations: 0.5111 MB / 2.096 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02662/5.145, allocations: 7.006 MB / 2.103 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003509/5.146, allocations: 23.03 kB / 2.103 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001791/5.148, allocations: 221 kB / 2.103 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003577/5.148, allocations: 171.4 kB / 2.103 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01521/5.163, allocations: 5.484 MB / 2.108 GB, free: 134.7 MB / 0.8855 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.05081/5.214, allocations: 29.67 MB / 2.137 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005773/5.22, allocations: 3.418 MB / 2.141 GB, free: 122 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009278/5.221, allocations: 0.9725 MB / 2.142 GB, free: 121 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.903e-05/5.221, allocations: 76.23 kB / 2.142 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=253): time 4.759e-06/5.221, allocations: 0 / 2.142 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=253): time 0.01061/5.232, allocations: 4.387 MB / 2.146 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/5.232, allocations: 81.42 kB / 2.146 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01554/5.247, allocations: 5.743 MB / 2.152 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001369/5.249, allocations: 85.45 kB / 2.152 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.004416/5.253, allocations: 2.98 MB / 2.155 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001965/5.255, allocations: 0.8937 MB / 2.155 GB, free: 119 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003026/5.256, allocations: 69.28 kB / 2.156 GB, free: 119 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002806/5.256, allocations: 449.7 kB / 2.156 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002441/5.258, allocations: 1.501 MB / 2.157 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00329/5.262, allocations: 2.647 MB / 2.16 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003148/5.265, allocations: 2.11 MB / 2.162 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.788e-05/5.265, allocations: 11.5 kB / 2.162 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01105/5.276, allocations: 4.752 MB / 2.167 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.007478/5.283, allocations: 17.14 MB / 2.183 GB, free: 99.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001418/5.284, allocations: 33.91 kB / 2.184 GB, free: 99.04 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/5.284, allocations: 61.67 kB / 2.184 GB, free: 99.04 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004614/5.288, allocations: 0.8803 MB / 2.184 GB, free: 99.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007297/5.289, allocations: 1.247 MB / 2.186 GB, free: 97.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008187/5.297, allocations: 0.5818 MB / 2.186 GB, free: 97.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/5.298, allocations: 169.5 kB / 2.186 GB, free: 97.61 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/5.298, allocations: 3.906 kB / 2.186 GB, free: 97.61 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007171/5.306, allocations: 4.25 MB / 2.191 GB, free: 97.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000115/5.306, allocations: 34.56 kB / 2.191 GB, free: 97.52 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.825e-05/5.306, allocations: 58.62 kB / 2.191 GB, free: 97.52 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00304/5.309, allocations: 0.8647 MB / 2.191 GB, free: 97.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001053/5.309, allocations: 74.47 kB / 2.192 GB, free: 97.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006469/5.316, allocations: 0.5195 MB / 2.192 GB, free: 97.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000619/5.316, allocations: 172.3 kB / 2.192 GB, free: 97.3 MB / 0.8855 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 () * 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.006475/5.323, allocations: 2.501 MB / 2.195 GB, free: 97.09 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002565/5.325, allocations: 0.5443 MB / 2.195 GB, free: 96.81 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008715/5.334, allocations: 3.714 MB / 2.199 GB, free: 96.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.836e-05/5.334, allocations: 29.62 kB / 2.199 GB, free: 96.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.614e-05/5.334, allocations: 0 / 2.199 GB, free: 96.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00433/5.338, allocations: 2.808 MB / 2.202 GB, free: 96.45 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02754/5.366, allocations: 9.318 MB / 2.211 GB, free: 95.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.448e-05/5.366, allocations: 0 / 2.211 GB, free: 95.86 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003161/5.369, allocations: 0.5363 MB / 2.211 GB, free: 95.86 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.891e-05/5.369, allocations: 11.19 kB / 2.211 GB, free: 95.86 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006018/5.37, allocations: 79.8 kB / 2.211 GB, free: 95.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005843/5.371, allocations: 1.192 MB / 2.212 GB, free: 94.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/5.371, allocations: 0 / 2.212 GB, free: 94.68 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/5.382, allocations: 5.658 MB / 2.218 GB, free: 93.95 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006633/5.389, allocations: 1.305 MB / 2.219 GB, free: 93.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002953/5.392, allocations: 61.73 kB / 2.219 GB, free: 93.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006191/5.398, allocations: 261.1 kB / 2.22 GB, free: 93.51 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006459/5.399, allocations: 155 kB / 2.22 GB, free: 93.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000727/5.399, allocations: 125.2 kB / 2.22 GB, free: 93.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01091/5.41, allocations: 4.532 MB / 2.224 GB, free: 93.32 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.72e-07/5.41, allocations: 0 / 2.224 GB, free: 93.32 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01812/5.428, allocations: 3.231 MB / 2.227 GB, free: 92.92 MB / 0.8855 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 () * Number of clocked 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.01581/5.444, allocations: 6.954 MB / 2.234 GB, free: 91.52 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01374/5.458, allocations: 5.743 MB / 2.24 GB, free: 91.43 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.723e-05/5.458, allocations: 6.344 kB / 2.24 GB, free: 91.43 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003619/5.462, allocations: 1.561 MB / 2.241 GB, free: 91.41 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02215/5.484, allocations: 3.851 MB / 2.245 GB, free: 91.39 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05331/5.537, allocations: 44.74 MB / 2.289 GB, free: 58.25 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007968/5.545, allocations: 4.628 MB / 2.293 GB, free: 57.37 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0123/5.558, allocations: 2.995 MB / 2.296 GB, free: 57.13 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006737/5.565, allocations: 2.574 MB / 2.299 GB, free: 55.38 MB / 0.8855 GB Notification: Performance of SimCode: time 1.783e-06/5.565, allocations: 0 / 2.299 GB, free: 55.38 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.947/6.512, allocations: 180.2 MB / 2.475 GB, free: 151.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000229/6.512, allocations: 256.5 kB / 2.475 GB, free: 150.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.577/14.09, allocations: 0 / 2.475 GB, free: 150.9 MB / 0.9167 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)