Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 390.3 MB / 405.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 192.9 kB / 498.1 MB, free: 5.75 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.69/1.69, allocations: 223.1 MB / 0.7948 GB, free: 18.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 94.67 kB / 0.9346 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004034, allocations: 14.81 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3165, allocations: 142.4 MB / 1.223 GB, free: 89.45 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.144/1.46, allocations: 443.1 MB / 1.656 GB, free: 6.418 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/1.461, allocations: 99.02 kB / 1.656 GB, free: 6.367 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.115/4.575, allocations: 0.7933 GB / 2.449 GB, free: 226.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.873e-06/4.575, allocations: 3.938 kB / 2.449 GB, free: 226.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001408/4.577, allocations: 190.7 kB / 2.449 GB, free: 226 MB / 1.167 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.02747/4.604, allocations: 7.131 MB / 2.456 GB, free: 223.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/4.604, allocations: 10.16 kB / 2.456 GB, free: 223.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004045/4.608, allocations: 0.7144 MB / 2.457 GB, free: 223.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006223/4.615, allocations: 0.8464 MB / 2.458 GB, free: 223.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05802/4.673, allocations: 24.55 MB / 2.482 GB, free: 221.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005709/4.673, allocations: 423.5 kB / 2.482 GB, free: 221.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002346/4.676, allocations: 0.506 MB / 2.483 GB, free: 221.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01938/4.695, allocations: 7.13 MB / 2.489 GB, free: 220.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003784/4.696, allocations: 23.48 kB / 2.489 GB, free: 220.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001883/4.697, allocations: 226.4 kB / 2.49 GB, free: 220.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002846/4.698, allocations: 221.1 kB / 2.49 GB, free: 220.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01257/4.71, allocations: 5.49 MB / 2.495 GB, free: 220.4 MB / 1.167 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.04558/4.756, allocations: 29.83 MB / 2.524 GB, free: 201.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005456/4.761, allocations: 3.415 MB / 2.528 GB, free: 200.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009134/4.762, allocations: 0.9779 MB / 2.529 GB, free: 199 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.861e-05/4.762, allocations: 74.34 kB / 2.529 GB, free: 198.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=253): time 5.38e-06/4.763, allocations: 0 / 2.529 GB, free: 198.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=253): time 0.007973/4.77, allocations: 4.407 MB / 2.533 GB, free: 197.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/4.771, allocations: 81.84 kB / 2.533 GB, free: 197.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01174/4.782, allocations: 5.862 MB / 2.539 GB, free: 195.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000763/4.783, allocations: 86.52 kB / 2.539 GB, free: 195.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003298/4.786, allocations: 3.017 MB / 2.542 GB, free: 192.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001452/4.788, allocations: 0.8992 MB / 2.543 GB, free: 192.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004465/4.788, allocations: 68.75 kB / 2.543 GB, free: 192.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0003406/4.789, allocations: 453 kB / 2.543 GB, free: 191.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002538/4.791, allocations: 1.499 MB / 2.545 GB, free: 191.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002976/4.794, allocations: 2.652 MB / 2.547 GB, free: 189.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00312/4.797, allocations: 2.1 MB / 2.549 GB, free: 188.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.76e-05/4.797, allocations: 15.36 kB / 2.549 GB, free: 188.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.008771/4.806, allocations: 4.76 MB / 2.554 GB, free: 185.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.003688/4.81, allocations: 17.27 MB / 2.571 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.536e-05/4.81, allocations: 40.73 kB / 2.571 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.771e-05/4.81, allocations: 60.09 kB / 2.571 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003749/4.814, allocations: 0.8736 MB / 2.572 GB, free: 167.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007433/4.815, allocations: 1.251 MB / 2.573 GB, free: 166 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007483/4.822, allocations: 0.583 MB / 2.574 GB, free: 165.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000515/4.823, allocations: 165.6 kB / 2.574 GB, free: 165.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/4.823, allocations: 3.969 kB / 2.574 GB, free: 165.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006693/4.829, allocations: 4.248 MB / 2.578 GB, free: 163.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.372e-05/4.83, allocations: 36.12 kB / 2.578 GB, free: 163.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.135e-05/4.83, allocations: 59.12 kB / 2.578 GB, free: 163.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002923/4.833, allocations: 0.8642 MB / 2.579 GB, free: 163.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.438e-05/4.833, allocations: 86.7 kB / 2.579 GB, free: 163.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00554/4.838, allocations: 0.5114 MB / 2.579 GB, free: 162.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004508/4.839, allocations: 171.7 kB / 2.58 GB, free: 162.9 MB / 1.167 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.006209/4.845, allocations: 2.534 MB / 2.582 GB, free: 160.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002938/4.848, allocations: 0.5597 MB / 2.583 GB, free: 160.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008165/4.856, allocations: 3.725 MB / 2.586 GB, free: 156.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.566e-05/4.856, allocations: 24 kB / 2.586 GB, free: 156.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/4.856, allocations: 7.953 kB / 2.586 GB, free: 156.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003805/4.86, allocations: 2.809 MB / 2.589 GB, free: 153.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02204/4.882, allocations: 9.427 MB / 2.598 GB, free: 144 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/4.882, allocations: 4 kB / 2.598 GB, free: 144 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002343/4.884, allocations: 0.5327 MB / 2.599 GB, free: 143.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-05/4.884, allocations: 12 kB / 2.599 GB, free: 143.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002539/4.885, allocations: 75.95 kB / 2.599 GB, free: 143.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004039/4.885, allocations: 1.182 MB / 2.6 GB, free: 142.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/4.885, allocations: 4 kB / 2.6 GB, free: 142.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008252/4.893, allocations: 5.675 MB / 2.606 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004974/4.898, allocations: 1.351 MB / 2.607 GB, free: 135 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002403/4.901, allocations: 63.98 kB / 2.607 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005422/4.906, allocations: 267.5 kB / 2.607 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002843/4.906, allocations: 145.8 kB / 2.607 GB, free: 134.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005452/4.907, allocations: 147.9 kB / 2.608 GB, free: 134.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01011/4.917, allocations: 4.628 MB / 2.612 GB, free: 129.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.5e-07/4.917, allocations: 0 / 2.612 GB, free: 129.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01455/4.932, allocations: 3.242 MB / 2.615 GB, free: 126.5 MB / 1.167 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.01187/4.944, allocations: 6.999 MB / 2.622 GB, free: 119.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.009226/4.953, allocations: 5.747 MB / 2.628 GB, free: 113.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/4.953, allocations: 4.562 kB / 2.628 GB, free: 113.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002184/4.955, allocations: 1.565 MB / 2.629 GB, free: 112.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01861/4.974, allocations: 3.864 MB / 2.633 GB, free: 108.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04897/5.023, allocations: 44.92 MB / 2.677 GB, free: 62.52 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007069/5.03, allocations: 4.68 MB / 2.681 GB, free: 57.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01534/5.045, allocations: 3.031 MB / 2.684 GB, free: 54.91 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0066/5.052, allocations: 2.631 MB / 2.687 GB, free: 52.28 MB / 1.167 GB Notification: Performance of SimCode: time 1.052e-06/5.052, allocations: 3.609 kB / 2.687 GB, free: 52.28 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8907/5.943, allocations: 182.9 MB / 2.866 GB, free: 203.1 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/5.943, allocations: 241.7 kB / 2.866 GB, free: 202.9 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/13.59, allocations: 0 / 2.866 GB, free: 202.9 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Examples_Pipe.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat does not exist to compare? outputFormat=mat