Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.058/2.058, allocations: 289.9 MB / 297.4 MB, free: 6.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001404/0.001404, allocations: 176.8 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.832/1.832, allocations: 205.3 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008275/0.0008275, allocations: 85.72 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.812e-05/2.787e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7274/0.7275, allocations: 116.3 MB / 0.9733 GB, free: 76.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.135/1.862, allocations: 431.8 MB / 1.395 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/1.862, allocations: 87.95 kB / 1.395 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.77/4.633, allocations: 0.7601 GB / 2.155 GB, free: 147.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.854e-06/4.633, allocations: 0 / 2.155 GB, free: 147.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001334/4.634, allocations: 191.8 kB / 2.155 GB, free: 147.1 MB / 0.948 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.01853/4.653, allocations: 5.618 MB / 2.161 GB, free: 144.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/4.653, allocations: 10.12 kB / 2.161 GB, free: 144.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005688/4.659, allocations: 0.8323 MB / 2.162 GB, free: 144.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05342/4.712, allocations: 23.09 MB / 2.184 GB, free: 137 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004802/4.713, allocations: 246.4 kB / 2.184 GB, free: 136.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002024/4.715, allocations: 308.2 kB / 2.185 GB, free: 136.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01214/4.727, allocations: 5.011 MB / 2.19 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01727/4.744, allocations: 6.272 MB / 2.196 GB, free: 132.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002001/4.744, allocations: 22.91 kB / 2.196 GB, free: 132.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001132/4.746, allocations: 14.8 kB / 2.196 GB, free: 132.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002114/4.746, allocations: 170 kB / 2.196 GB, free: 132.4 MB / 0.948 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.04367/4.789, allocations: 28.69 MB / 2.224 GB, free: 110.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004844/4.794, allocations: 3.227 MB / 2.227 GB, free: 108.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001977/4.796, allocations: 1.621 MB / 2.229 GB, free: 108.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000876/4.797, allocations: 0.9698 MB / 2.23 GB, free: 107 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.466e-05/4.797, allocations: 75.09 kB / 2.23 GB, free: 107 MB / 0.948 GB Notification: Performance of pre-optimization done (n=253): time 4.909e-06/4.797, allocations: 6.344 kB / 2.23 GB, free: 107 MB / 0.948 GB Notification: Performance of matching and sorting (n=253): time 0.006248/4.804, allocations: 3.034 MB / 2.233 GB, free: 105.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/4.804, allocations: 87.42 kB / 2.233 GB, free: 105.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008037/4.812, allocations: 4.653 MB / 2.237 GB, free: 103.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008329/4.813, allocations: 29.64 kB / 2.237 GB, free: 103.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002454/4.815, allocations: 2.923 MB / 2.24 GB, free: 100.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001383/4.816, allocations: 0.8662 MB / 2.241 GB, free: 99.54 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/4.817, allocations: 0 / 2.241 GB, free: 99.54 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002107/4.817, allocations: 452.2 kB / 2.241 GB, free: 99.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/4.819, allocations: 1.389 MB / 2.243 GB, free: 97.71 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002281/4.821, allocations: 2.52 MB / 2.245 GB, free: 94.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003157/4.824, allocations: 2.096 MB / 2.247 GB, free: 92.63 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.098e-05/4.824, allocations: 8 kB / 2.247 GB, free: 92.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.00731/4.831, allocations: 4.337 MB / 2.252 GB, free: 88.26 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002921/4.834, allocations: 16.53 MB / 2.268 GB, free: 70.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.401e-05/4.835, allocations: 36 kB / 2.268 GB, free: 70.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.04e-05/4.835, allocations: 60 kB / 2.268 GB, free: 70.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003515/4.838, allocations: 0.8884 MB / 2.269 GB, free: 69.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000529/4.839, allocations: 1.242 MB / 2.27 GB, free: 68.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005594/4.844, allocations: 444 kB / 2.27 GB, free: 67.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000648/4.845, allocations: 171.7 kB / 2.27 GB, free: 67.72 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/4.845, allocations: 4 kB / 2.27 GB, free: 67.71 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007291/4.852, allocations: 3.828 MB / 2.274 GB, free: 63.85 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001037/4.852, allocations: 39.94 kB / 2.274 GB, free: 63.81 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.287e-05/4.852, allocations: 67.81 kB / 2.274 GB, free: 63.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003009/4.856, allocations: 0.862 MB / 2.275 GB, free: 62.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.892e-05/4.856, allocations: 79.72 kB / 2.275 GB, free: 62.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005183/4.861, allocations: 376.7 kB / 2.276 GB, free: 62.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005295/4.861, allocations: 172 kB / 2.276 GB, free: 62.27 MB / 0.948 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.001057/4.862, allocations: 211.7 kB / 2.276 GB, free: 62.05 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006447/4.869, allocations: 3.031 MB / 2.279 GB, free: 59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001963/4.871, allocations: 490.1 kB / 2.279 GB, free: 58.52 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006755/4.878, allocations: 3.452 MB / 2.283 GB, free: 55.03 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/4.878, allocations: 24 kB / 2.283 GB, free: 55.01 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/4.878, allocations: 4 kB / 2.283 GB, free: 55 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003891/4.882, allocations: 2.678 MB / 2.285 GB, free: 52.27 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01973/4.901, allocations: 8.606 MB / 2.294 GB, free: 43.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/4.901, allocations: 3.938 kB / 2.294 GB, free: 43.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002419/4.904, allocations: 0.5378 MB / 2.294 GB, free: 43.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.311e-05/4.904, allocations: 8 kB / 2.294 GB, free: 43.07 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000345/4.904, allocations: 47.95 kB / 2.294 GB, free: 43.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004366/4.905, allocations: 1.188 MB / 2.296 GB, free: 41.79 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/4.905, allocations: 0 / 2.296 GB, free: 41.79 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008682/4.913, allocations: 5.364 MB / 2.301 GB, free: 36.31 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004985/4.919, allocations: 1.26 MB / 2.302 GB, free: 35.02 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002329/4.921, allocations: 23.94 kB / 2.302 GB, free: 35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00566/4.927, allocations: 223 kB / 2.302 GB, free: 34.79 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006384/4.927, allocations: 149.8 kB / 2.302 GB, free: 34.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007296/4.928, allocations: 143.9 kB / 2.303 GB, free: 34.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007312/4.935, allocations: 3.591 MB / 2.306 GB, free: 30.92 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.81e-07/4.935, allocations: 0 / 2.306 GB, free: 30.92 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01432/4.95, allocations: 3.189 MB / 2.309 GB, free: 27.72 MB / 0.948 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.01167/4.961, allocations: 6.64 MB / 2.316 GB, free: 21.03 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008403/4.97, allocations: 5.485 MB / 2.321 GB, free: 15.54 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.622e-05/4.97, allocations: 8.625 kB / 2.321 GB, free: 15.53 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002301/4.972, allocations: 1.479 MB / 2.322 GB, free: 14.05 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01717/4.989, allocations: 3.185 MB / 2.326 GB, free: 11 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03423/5.024, allocations: 13.15 MB / 2.338 GB, free: 13.93 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008692/5.032, allocations: 4.648 MB / 2.343 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01757/5.05, allocations: 4.424 MB / 2.347 GB, free: 4.98 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006668/5.057, allocations: 2.424 MB / 2.35 GB, free: 2.555 MB / 0.9636 GB Notification: Performance of SimCode: time 1.162e-06/5.057, allocations: 0 / 2.35 GB, free: 2.555 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8207/5.878, allocations: 158.2 MB / 2.504 GB, free: 138.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001312/5.878, allocations: 162.5 kB / 2.504 GB, free: 138.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.554/13.43, allocations: 0 / 2.504 GB, free: 138.3 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_Pipe.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)