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 1.659/1.659, allocations: 289.7 MB / 302.2 MB, free: 2.152 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.001156/0.001156, allocations: 183.9 kB / 371.6 MB, free: 3.398 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.816/1.816, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0009427/0.0009427, allocations: 93.64 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.109e-05/5.124e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3264, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.031/2.358, allocations: 432.4 MB / 1.402 GB, free: 294.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/2.358, allocations: 89.75 kB / 1.402 GB, free: 294.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.211/5.569, allocations: 0.7647 GB / 2.167 GB, free: 142.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.975e-06/5.569, allocations: 0 / 2.167 GB, free: 142.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001645/5.571, allocations: 190.4 kB / 2.167 GB, free: 142.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.02319/5.594, allocations: 5.625 MB / 2.173 GB, free: 140.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/5.594, allocations: 9.188 kB / 2.173 GB, free: 140.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003636/5.598, allocations: 0.7043 MB / 2.173 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007142/5.605, allocations: 0.8348 MB / 2.174 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08321/5.688, allocations: 23.14 MB / 2.197 GB, free: 138.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008725/5.689, allocations: 422.4 kB / 2.197 GB, free: 138.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002738/5.692, allocations: 0.5097 MB / 2.198 GB, free: 138.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02569/5.718, allocations: 7.015 MB / 2.205 GB, free: 137.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002288/5.718, allocations: 22.39 kB / 2.205 GB, free: 137.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0012/5.719, allocations: 223.5 kB / 2.205 GB, free: 137.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002407/5.72, allocations: 169.9 kB / 2.205 GB, free: 137.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01313/5.733, allocations: 5.348 MB / 2.21 GB, free: 137.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.05098/5.784, allocations: 29.79 MB / 2.239 GB, free: 124.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007637/5.791, allocations: 3.355 MB / 2.242 GB, free: 124.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003775/5.795, allocations: 1.7 MB / 2.244 GB, free: 124.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001282/5.797, allocations: 0.9769 MB / 2.245 GB, free: 123.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/5.797, allocations: 76.22 kB / 2.245 GB, free: 123.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=253): time 7.414e-06/5.797, allocations: 0 / 2.245 GB, free: 123.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=253): time 0.009703/5.807, allocations: 3.145 MB / 2.248 GB, free: 122.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.483e-05/5.807, allocations: 78.47 kB / 2.248 GB, free: 122.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01638/5.823, allocations: 5.686 MB / 2.254 GB, free: 122.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009784/5.824, allocations: 81.86 kB / 2.254 GB, free: 122.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00421/5.828, allocations: 2.985 MB / 2.257 GB, free: 121.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001754/5.83, allocations: 0.9006 MB / 2.258 GB, free: 120.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005974/5.831, allocations: 68.91 kB / 2.258 GB, free: 120.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003946/5.831, allocations: 448.6 kB / 2.258 GB, free: 120.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00284/5.834, allocations: 1.454 MB / 2.26 GB, free: 120.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003357/5.837, allocations: 2.604 MB / 2.262 GB, free: 119.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003885/5.841, allocations: 2.083 MB / 2.264 GB, free: 119 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.273e-05/5.841, allocations: 10.16 kB / 2.264 GB, free: 119 MB / 0.948 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.008887/5.85, allocations: 4.667 MB / 2.269 GB, free: 118.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.004288/5.855, allocations: 17.14 MB / 2.286 GB, free: 100.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/5.855, allocations: 41.56 kB / 2.286 GB, free: 100.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001197/5.855, allocations: 57.09 kB / 2.286 GB, free: 100.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004152/5.859, allocations: 0.8783 MB / 2.286 GB, free: 100.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000813/5.86, allocations: 1.254 MB / 2.288 GB, free: 99.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008517/5.868, allocations: 0.5855 MB / 2.288 GB, free: 99.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/5.869, allocations: 168.3 kB / 2.288 GB, free: 99.35 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/5.869, allocations: 6.5 kB / 2.288 GB, free: 99.35 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009146/5.879, allocations: 4.156 MB / 2.293 GB, free: 99.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/5.879, allocations: 36.59 kB / 2.293 GB, free: 99.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.391e-05/5.879, allocations: 60.25 kB / 2.293 GB, free: 99.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003347/5.882, allocations: 0.8635 MB / 2.293 GB, free: 99.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000136/5.882, allocations: 72.77 kB / 2.294 GB, free: 99.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007189/5.89, allocations: 0.5186 MB / 2.294 GB, free: 98.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/5.891, allocations: 165.8 kB / 2.294 GB, free: 98.89 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.001995/5.893, allocations: 338.5 kB / 2.295 GB, free: 98.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003092/5.896, allocations: 0.5522 MB / 2.295 GB, free: 98.42 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008943/5.905, allocations: 3.63 MB / 2.299 GB, free: 98.21 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.183e-05/5.905, allocations: 29.42 kB / 2.299 GB, free: 98.21 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/5.905, allocations: 0 / 2.299 GB, free: 98.21 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004109/5.909, allocations: 2.741 MB / 2.301 GB, free: 97.75 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02772/5.937, allocations: 9.321 MB / 2.31 GB, free: 94.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/5.937, allocations: 0 / 2.31 GB, free: 94.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002611/5.939, allocations: 0.547 MB / 2.311 GB, free: 94.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.395e-05/5.939, allocations: 14.84 kB / 2.311 GB, free: 94.22 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004702/5.94, allocations: 82.03 kB / 2.311 GB, free: 94.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006834/5.941, allocations: 1.172 MB / 2.312 GB, free: 93 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/5.941, allocations: 6.906 kB / 2.312 GB, free: 92.99 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00867/5.949, allocations: 5.55 MB / 2.318 GB, free: 90.72 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005214/5.955, allocations: 1.338 MB / 2.319 GB, free: 90 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002203/5.957, allocations: 58.98 kB / 2.319 GB, free: 89.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005501/5.962, allocations: 264.6 kB / 2.319 GB, free: 89.89 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003782/5.963, allocations: 149.5 kB / 2.319 GB, free: 89.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000515/5.963, allocations: 153.5 kB / 2.32 GB, free: 89.85 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.008135/5.971, allocations: 4.47 MB / 2.324 GB, free: 88.29 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.51e-07/5.971, allocations: 0 / 2.324 GB, free: 88.29 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01353/5.985, allocations: 3.247 MB / 2.327 GB, free: 87.68 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.01113/5.996, allocations: 6.853 MB / 2.334 GB, free: 84.62 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009966/6.006, allocations: 5.808 MB / 2.339 GB, free: 82.68 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.48e-05/6.006, allocations: 3.188 kB / 2.339 GB, free: 82.68 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003376/6.01, allocations: 1.531 MB / 2.341 GB, free: 82.18 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02826/6.038, allocations: 3.861 MB / 2.345 GB, free: 81.57 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03796/6.076, allocations: 13.65 MB / 2.358 GB, free: 76.54 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003978/6.08, allocations: 4.643 MB / 2.363 GB, free: 74.91 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0151/6.095, allocations: 4.967 MB / 2.367 GB, free: 74.56 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004828/6.1, allocations: 2.464 MB / 2.37 GB, free: 72.59 MB / 0.948 GB Notification: Performance of SimCode: time 1.252e-06/6.1, allocations: 0 / 2.37 GB, free: 72.59 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9781/7.078, allocations: 185.3 MB / 2.551 GB, free: 165.6 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/7.078, allocations: 215.3 kB / 2.551 GB, free: 165.4 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.964/16.04, allocations: 0 / 2.551 GB, free: 165.4 MB / 0.9792 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)