Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.385/2.385, allocations: 393.5 MB / 408.4 MB, free: 11 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.001262/0.001262, allocations: 172 kB / 0.4901 GB, free: 2.219 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.902/1.902, allocations: 223.1 MB / 0.7992 GB, free: 14.67 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.0009716/0.000972, allocations: 110.5 kB / 0.9396 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004181/0.0004183, allocations: 11.12 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3849, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.394/1.779, allocations: 443.8 MB / 1.663 GB, free: 2.277 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/1.779, allocations: 98.33 kB / 1.663 GB, free: 2.227 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.038/4.817, allocations: 0.7933 GB / 2.456 GB, free: 224.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.024e-06/4.817, allocations: 0 / 2.456 GB, free: 224.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001556/4.818, allocations: 199 kB / 2.456 GB, free: 224.8 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.0278/4.846, allocations: 7.129 MB / 2.463 GB, free: 222.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/4.846, allocations: 12.89 kB / 2.463 GB, free: 222.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00391/4.85, allocations: 0.7142 MB / 2.464 GB, free: 222.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006142/4.856, allocations: 0.8488 MB / 2.465 GB, free: 222 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06256/4.919, allocations: 24.54 MB / 2.489 GB, free: 220.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008062/4.92, allocations: 411.2 kB / 2.489 GB, free: 220.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003361/4.923, allocations: 0.515 MB / 2.49 GB, free: 220.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0233/4.946, allocations: 7.134 MB / 2.497 GB, free: 219.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000472/4.947, allocations: 22.09 kB / 2.497 GB, free: 219.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002422/4.949, allocations: 222.4 kB / 2.497 GB, free: 219.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002509/4.95, allocations: 225.1 kB / 2.497 GB, free: 219.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01367/4.963, allocations: 5.49 MB / 2.502 GB, free: 219.5 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.0524/5.016, allocations: 29.83 MB / 2.532 GB, free: 200.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006409/5.022, allocations: 3.407 MB / 2.535 GB, free: 199.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/5.023, allocations: 0.9732 MB / 2.536 GB, free: 198.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001053/5.023, allocations: 78.72 kB / 2.536 GB, free: 198.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=253): time 6.132e-06/5.024, allocations: 2.25 kB / 2.536 GB, free: 198.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=253): time 0.009636/5.033, allocations: 4.404 MB / 2.54 GB, free: 196.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/5.033, allocations: 78.16 kB / 2.54 GB, free: 196.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01361/5.047, allocations: 5.867 MB / 2.546 GB, free: 194.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001057/5.048, allocations: 80.67 kB / 2.546 GB, free: 194.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.004282/5.052, allocations: 3.02 MB / 2.549 GB, free: 192 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001824/5.054, allocations: 0.9009 MB / 2.55 GB, free: 191.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000559/5.055, allocations: 67.22 kB / 2.55 GB, free: 191.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0004051/5.055, allocations: 456.3 kB / 2.55 GB, free: 190.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002808/5.058, allocations: 1.499 MB / 2.552 GB, free: 190.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003361/5.061, allocations: 2.65 MB / 2.554 GB, free: 188.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003337/5.065, allocations: 2.108 MB / 2.557 GB, free: 187.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-05/5.065, allocations: 14.61 kB / 2.557 GB, free: 187.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.009593/5.074, allocations: 4.759 MB / 2.561 GB, free: 185.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.003905/5.078, allocations: 17.26 MB / 2.578 GB, free: 167.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.984e-05/5.078, allocations: 40.44 kB / 2.578 GB, free: 167.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.608e-05/5.079, allocations: 60.59 kB / 2.578 GB, free: 167.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003576/5.082, allocations: 0.8787 MB / 2.579 GB, free: 167.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006769/5.083, allocations: 1.245 MB / 2.58 GB, free: 166.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00665/5.089, allocations: 0.5832 MB / 2.581 GB, free: 166.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000678/5.09, allocations: 173.4 kB / 2.581 GB, free: 166.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/5.09, allocations: 6.906 kB / 2.581 GB, free: 166.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007732/5.098, allocations: 4.246 MB / 2.585 GB, free: 164.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/5.098, allocations: 34.09 kB / 2.585 GB, free: 164.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.562e-05/5.098, allocations: 62.56 kB / 2.585 GB, free: 164.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003289/5.101, allocations: 0.8615 MB / 2.586 GB, free: 164.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001012/5.102, allocations: 80.62 kB / 2.586 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006184/5.108, allocations: 0.518 MB / 2.587 GB, free: 164.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006816/5.108, allocations: 172.4 kB / 2.587 GB, free: 164.1 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.005675/5.114, allocations: 2.536 MB / 2.589 GB, free: 162.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00249/5.117, allocations: 0.5597 MB / 2.59 GB, free: 162.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007954/5.125, allocations: 3.719 MB / 2.593 GB, free: 158.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.468e-05/5.125, allocations: 35.98 kB / 2.593 GB, free: 158.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/5.125, allocations: 3.953 kB / 2.593 GB, free: 158.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004131/5.129, allocations: 2.813 MB / 2.596 GB, free: 155.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02692/5.156, allocations: 9.431 MB / 2.605 GB, free: 146 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-05/5.156, allocations: 4 kB / 2.605 GB, free: 146 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002898/5.159, allocations: 0.532 MB / 2.606 GB, free: 145.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.004e-05/5.159, allocations: 8 kB / 2.606 GB, free: 145.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005553/5.16, allocations: 75.95 kB / 2.606 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006491/5.16, allocations: 1.183 MB / 2.607 GB, free: 144.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/5.16, allocations: 0 / 2.607 GB, free: 144.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009869/5.17, allocations: 5.688 MB / 2.613 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005584/5.176, allocations: 1.345 MB / 2.614 GB, free: 137 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002494/5.178, allocations: 63.23 kB / 2.614 GB, free: 136.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005895/5.184, allocations: 263.1 kB / 2.614 GB, free: 136.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004143/5.185, allocations: 157.7 kB / 2.615 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006464/5.185, allocations: 139.9 kB / 2.615 GB, free: 136.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01029/5.196, allocations: 4.628 MB / 2.619 GB, free: 131.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.11e-07/5.196, allocations: 3.031 kB / 2.619 GB, free: 131.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01817/5.214, allocations: 3.257 MB / 2.622 GB, free: 128.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.01239/5.226, allocations: 6.981 MB / 2.629 GB, free: 121.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01056/5.237, allocations: 5.743 MB / 2.635 GB, free: 115.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/5.237, allocations: 4.562 kB / 2.635 GB, free: 115.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002535/5.239, allocations: 1.567 MB / 2.636 GB, free: 114.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01872/5.258, allocations: 3.862 MB / 2.64 GB, free: 110.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04899/5.307, allocations: 44.92 MB / 2.684 GB, free: 64.52 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007879/5.315, allocations: 4.684 MB / 2.689 GB, free: 59.82 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0134/5.329, allocations: 3.035 MB / 2.691 GB, free: 56.93 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007139/5.336, allocations: 2.627 MB / 2.694 GB, free: 54.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.263e-06/5.336, allocations: 0 / 2.694 GB, free: 54.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9896/6.325, allocations: 182.9 MB / 2.873 GB, free: 199.1 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/6.326, allocations: 246.7 kB / 2.873 GB, free: 198.8 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.913/15.24, allocations: 0 / 2.873 GB, free: 198.8 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_Pipe.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat does not exist to compare? outputFormat=mat