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.212/2.212, allocations: 390.5 MB / 398 MB, free: 10.95 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.001042/0.001042, allocations: 180.9 kB / 491.2 MB, free: 1.566 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.636/1.636, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.00102/0.00102, allocations: 97.5 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.047e-05/2.049e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3039, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.243/1.547, allocations: 443.1 MB / 1.645 GB, free: 4.32 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/1.547, allocations: 94.73 kB / 1.645 GB, free: 4.27 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.026/4.573, allocations: 0.7869 GB / 2.432 GB, free: 200.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.505e-06/4.573, allocations: 0 / 2.432 GB, free: 200.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.001493/4.574, allocations: 196.2 kB / 2.432 GB, free: 200.3 MB / 1.151 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.02025/4.594, allocations: 5.684 MB / 2.438 GB, free: 194.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/4.594, allocations: 8.031 kB / 2.438 GB, free: 194.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005342/4.6, allocations: 0.8567 MB / 2.439 GB, free: 193.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05545/4.655, allocations: 24.36 MB / 2.463 GB, free: 169.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004394/4.656, allocations: 244.7 kB / 2.463 GB, free: 169.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002032/4.658, allocations: 303.9 kB / 2.463 GB, free: 169.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01162/4.669, allocations: 5.01 MB / 2.468 GB, free: 164.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01647/4.686, allocations: 6.296 MB / 2.474 GB, free: 157.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000319/4.686, allocations: 19.78 kB / 2.474 GB, free: 157.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001523/4.688, allocations: 12 kB / 2.474 GB, free: 157.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002087/4.688, allocations: 232.8 kB / 2.474 GB, free: 157.5 MB / 1.151 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.03948/4.728, allocations: 28.74 MB / 2.502 GB, free: 127.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00482/4.732, allocations: 3.213 MB / 2.506 GB, free: 124.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00203/4.734, allocations: 1.626 MB / 2.507 GB, free: 122.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008443/4.735, allocations: 0.972 MB / 2.508 GB, free: 121.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.588e-05/4.735, allocations: 81.12 kB / 2.508 GB, free: 121.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=253): time 3.617e-06/4.735, allocations: 0 / 2.508 GB, free: 121.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=253): time 0.006296/4.742, allocations: 3.039 MB / 2.511 GB, free: 118.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/4.742, allocations: 77.41 kB / 2.511 GB, free: 118.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01015/4.752, allocations: 4.758 MB / 2.516 GB, free: 113.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0008102/4.753, allocations: 29.7 kB / 2.516 GB, free: 113.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.002875/4.756, allocations: 2.987 MB / 2.519 GB, free: 110.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001472/4.757, allocations: 0.874 MB / 2.52 GB, free: 109.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005071/4.758, allocations: 0 / 2.52 GB, free: 109.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000306/4.758, allocations: 453.1 kB / 2.52 GB, free: 109.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002156/4.76, allocations: 1.393 MB / 2.521 GB, free: 107.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002533/4.763, allocations: 2.517 MB / 2.524 GB, free: 104.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003269/4.766, allocations: 2.094 MB / 2.526 GB, free: 102.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.118e-05/4.766, allocations: 12 kB / 2.526 GB, free: 102.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.008327/4.774, allocations: 4.351 MB / 2.53 GB, free: 98.36 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.003693/4.778, allocations: 16.65 MB / 2.546 GB, free: 79.98 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.795e-05/4.778, allocations: 43.59 kB / 2.547 GB, free: 79.94 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.158e-05/4.778, allocations: 60 kB / 2.547 GB, free: 79.88 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003582/4.782, allocations: 0.8892 MB / 2.547 GB, free: 79 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005488/4.783, allocations: 1.242 MB / 2.549 GB, free: 77.71 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005458/4.788, allocations: 444 kB / 2.549 GB, free: 77.27 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000663/4.789, allocations: 168 kB / 2.549 GB, free: 77.11 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/4.789, allocations: 5.875 kB / 2.549 GB, free: 77.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007167/4.796, allocations: 3.84 MB / 2.553 GB, free: 73.22 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.793e-05/4.796, allocations: 36 kB / 2.553 GB, free: 73.19 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.736e-05/4.796, allocations: 64.12 kB / 2.553 GB, free: 73.12 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003042/4.799, allocations: 0.8542 MB / 2.554 GB, free: 72.27 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-05/4.799, allocations: 79.72 kB / 2.554 GB, free: 72.19 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005809/4.805, allocations: 376.7 kB / 2.554 GB, free: 71.82 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007334/4.806, allocations: 172 kB / 2.555 GB, free: 71.65 MB / 1.151 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.00131/4.807, allocations: 212.7 kB / 2.555 GB, free: 71.44 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007011/4.814, allocations: 3.047 MB / 2.558 GB, free: 68.38 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002026/4.816, allocations: 0.4901 MB / 2.558 GB, free: 67.88 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006841/4.823, allocations: 3.466 MB / 2.562 GB, free: 64.36 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.532e-05/4.823, allocations: 28 kB / 2.562 GB, free: 64.34 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/4.823, allocations: 4 kB / 2.562 GB, free: 64.33 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003857/4.827, allocations: 2.682 MB / 2.564 GB, free: 61.59 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02013/4.847, allocations: 8.63 MB / 2.573 GB, free: 52.92 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/4.847, allocations: 4 kB / 2.573 GB, free: 52.91 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002398/4.85, allocations: 0.5345 MB / 2.573 GB, free: 52.38 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-05/4.85, allocations: 12 kB / 2.573 GB, free: 52.37 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003473/4.85, allocations: 51.89 kB / 2.573 GB, free: 52.32 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004504/4.85, allocations: 1.184 MB / 2.574 GB, free: 51.09 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/4.851, allocations: 0 / 2.574 GB, free: 51.09 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008609/4.859, allocations: 5.386 MB / 2.58 GB, free: 45.59 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004341/4.864, allocations: 1.267 MB / 2.581 GB, free: 44.29 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001893/4.865, allocations: 15.98 kB / 2.581 GB, free: 44.28 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004593/4.87, allocations: 223.1 kB / 2.581 GB, free: 44.06 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003067/4.87, allocations: 157.7 kB / 2.581 GB, free: 43.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004882/4.871, allocations: 143.9 kB / 2.581 GB, free: 43.76 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.006852/4.878, allocations: 3.669 MB / 2.585 GB, free: 40.11 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.61e-07/4.878, allocations: 0 / 2.585 GB, free: 40.11 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01281/4.891, allocations: 3.201 MB / 2.588 GB, free: 36.9 MB / 1.151 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.01105/4.902, allocations: 6.666 MB / 2.595 GB, free: 30.19 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.008001/4.91, allocations: 5.488 MB / 2.6 GB, free: 24.69 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/4.91, allocations: 4.562 kB / 2.6 GB, free: 24.68 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002114/4.912, allocations: 1.467 MB / 2.601 GB, free: 23.21 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01633/4.928, allocations: 3.19 MB / 2.605 GB, free: 20.16 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03118/4.959, allocations: 13.3 MB / 2.618 GB, free: 6.934 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005609/4.965, allocations: 4.682 MB / 2.622 GB, free: 2.23 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.01573/4.981, allocations: 4.508 MB / 2.626 GB, free: 13.86 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005262/4.986, allocations: 2.464 MB / 2.629 GB, free: 11.39 MB / 1.167 GB Notification: Performance of SimCode: time 2.375e-06/4.986, allocations: 4 kB / 2.629 GB, free: 11.39 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8935/5.88, allocations: 159.7 MB / 2.785 GB, free: 212.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/5.88, allocations: 178.5 kB / 2.785 GB, free: 212.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.193/13.07, allocations: 0 / 2.785 GB, free: 212.4 MB / 1.167 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