Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.BranchingDynamicPipes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.BranchingDynamicPipes,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_BranchingDynamicPipes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.BranchingDynamicPipes,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_BranchingDynamicPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001628/0.001628, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.701/1.701, allocations: 225.6 MB / 234.8 MB, free: 3.25 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001152/0.001152, allocations: 104.3 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.617e-05/2.628e-05, allocations: 4 kB / 343.8 MB, free: 8.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1575, allocations: 51.47 MB / 395.2 MB, free: 4.699 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.533/9.691, allocations: 3.444 GB / 3.83 GB, free: 127.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/9.691, allocations: 76.88 kB / 3.831 GB, free: 127.4 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.246/13.94, allocations: 0.9382 GB / 4.769 GB, free: 19.69 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.675e-06/13.94, allocations: 3.031 kB / 4.769 GB, free: 19.69 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005888/13.94, allocations: 159.9 kB / 4.769 GB, free: 19.68 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2025 * Number of variables: 2025 Notification: Performance of Generate backend data structure: time 0.04719/13.98, allocations: 9.685 MB / 4.778 GB, free: 15.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/13.98, allocations: 10.36 kB / 4.778 GB, free: 15.56 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009588/13.99, allocations: 0.8765 MB / 4.779 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02126/14.02, allocations: 5.698 MB / 4.785 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000747/14.02, allocations: 241.2 kB / 4.785 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006039/14.02, allocations: 431 kB / 4.785 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03631/14.06, allocations: 15.82 MB / 4.801 GB, free: 7.625 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05245/14.11, allocations: 13.53 MB / 4.814 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006527/14.11, allocations: 22.58 kB / 4.814 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00553/14.12, allocations: 11.56 kB / 4.814 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001007/14.12, allocations: 0.7058 MB / 4.815 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5108/14.63, allocations: 47.79 MB / 4.861 GB, free: 22.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02335/14.65, allocations: 10.9 MB / 4.872 GB, free: 22.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01495/14.67, allocations: 7.581 MB / 4.88 GB, free: 22.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00398/14.67, allocations: 4.227 MB / 4.884 GB, free: 18.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/14.67, allocations: 156.9 kB / 4.884 GB, free: 18.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00899/14.68, allocations: 0.9053 MB / 4.885 GB, free: 18.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=925): time 8.004e-05/14.68, allocations: 0 / 4.885 GB, free: 18.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1187): time 0.3009/14.98, allocations: 83.15 MB / 4.966 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/14.98, allocations: 171.8 kB / 4.966 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003869/14.99, allocations: 2.243 MB / 4.968 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.004194/14.99, allocations: 29.7 kB / 4.968 GB, free: 11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001406/14.99, allocations: 2.297 MB / 4.971 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00606/15, allocations: 3.974 MB / 4.974 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001918/15, allocations: 2.125 kB / 4.974 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007185/15, allocations: 0.7652 MB / 4.975 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0292/15.03, allocations: 10.39 MB / 4.985 GB, free: 0 / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02347/15.05, allocations: 10.46 MB / 4.996 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04535/15.1, allocations: 12.94 MB / 5.008 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001501/15.1, allocations: 8 kB / 5.008 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1434) (initialization): time 0.5018/15.6, allocations: 31.21 MB / 5.039 GB, free: 59.63 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00207/15.6, allocations: 9.29 MB / 5.048 GB, free: 50.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-05/15.6, allocations: 23.56 kB / 5.048 GB, free: 50.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1973/15.8, allocations: 43.56 MB / 5.09 GB, free: 49.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005792/15.81, allocations: 1.071 MB / 5.091 GB, free: 49.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0835/15.89, allocations: 37.48 MB / 5.128 GB, free: 48.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01833/15.91, allocations: 1.626 MB / 5.129 GB, free: 48.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005784/15.91, allocations: 0.5818 MB / 5.13 GB, free: 48.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/15.91, allocations: 3.656 kB / 5.13 GB, free: 48.89 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07746/15.99, allocations: 29.02 MB / 5.158 GB, free: 43.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002128/15.99, allocations: 25.61 kB / 5.158 GB, free: 43.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1827/16.17, allocations: 42.54 MB / 5.2 GB, free: 17.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005917/16.18, allocations: 1.119 MB / 5.201 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5301/16.71, allocations: 34.86 MB / 5.235 GB, free: 57.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01707/16.73, allocations: 1.59 MB / 5.237 GB, free: 57.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004577/16.73, allocations: 0.5707 MB / 5.237 GB, free: 57.47 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (599): * Single equations (assignments): 598 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {68 768} Notification: Performance of prepare postOptimizeDAE: time 0.005952/16.74, allocations: 210.1 kB / 5.237 GB, free: 57.36 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06437/16.8, allocations: 22.82 MB / 5.26 GB, free: 56.87 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007113/16.81, allocations: 0.5877 MB / 5.26 GB, free: 56.87 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0877/16.9, allocations: 29.25 MB / 5.289 GB, free: 55.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002497/16.9, allocations: 123.8 kB / 5.289 GB, free: 55.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001229/16.9, allocations: 2.219 kB / 5.289 GB, free: 55.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06161/16.96, allocations: 21.36 MB / 5.31 GB, free: 55.24 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1303/17.09, allocations: 43.21 MB / 5.352 GB, free: 42.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001819/17.09, allocations: 3.938 kB / 5.352 GB, free: 42.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02036/17.11, allocations: 3.36 MB / 5.355 GB, free: 42.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03103/17.14, allocations: 10.07 MB / 5.365 GB, free: 38.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004992/17.15, allocations: 490.3 kB / 5.366 GB, free: 37.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03215/17.18, allocations: 42.6 MB / 5.407 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.108e-05/17.18, allocations: 9.844 kB / 5.407 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5692/17.75, allocations: 38.38 MB / 5.445 GB, free: 71.05 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002998/17.75, allocations: 0.7099 MB / 5.445 GB, free: 70.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004923/17.76, allocations: 279.6 kB / 5.446 GB, free: 70.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01417/17.77, allocations: 1.282 MB / 5.447 GB, free: 70.95 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002912/17.77, allocations: 0.7922 MB / 5.448 GB, free: 70.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00182/17.77, allocations: 0.5494 MB / 5.448 GB, free: 70.94 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002659/17.78, allocations: 1.666 MB / 5.45 GB, free: 70.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.41e-07/17.78, allocations: 0 / 5.45 GB, free: 70.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.03416/17.81, allocations: 6.322 MB / 5.456 GB, free: 70.79 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 82 (pipe1.mediums[1].p,pipe1.mediums[1].Xi[1],pipe1.mediums[1].T,pipe1.mediums[2].p,pipe1.mediums[2].Xi[1],pipe1.mediums[2].T,pipe1.mediums[3].p,pipe1.mediums[3].Xi[1],pipe1.mediums[3].T,pipe1.mediums[4].p,pipe1.mediums[4].Xi[1],pipe1.mediums[4].T,pipe1.mediums[5].p,pipe1.mediums[5].Xi[1],pipe1.mediums[5].T,pipe1.flowModel.m_flows[1],pipe1.flowModel.m_flows[2],pipe1.flowModel.m_flows[3],pipe1.flowModel.m_flows[4],pipe1.flowModel.m_flows[5],pipe1.flowModel.m_flows[6],pipe2.mediums[1].p,pipe2.mediums[1].Xi[1],pipe2.mediums[1].T,pipe2.mediums[2].p,pipe2.mediums[2].Xi[1],pipe2.mediums[2].T,pipe2.mediums[3].p,pipe2.mediums[3].Xi[1],pipe2.mediums[3].T,pipe2.mediums[4].p,pipe2.mediums[4].Xi[1],pipe2.mediums[4].T,pipe2.mediums[5].p,pipe2.mediums[5].Xi[1],pipe2.mediums[5].T,pipe2.flowModel.m_flows[1],pipe2.flowModel.m_flows[2],pipe2.flowModel.m_flows[3],pipe2.flowModel.m_flows[4],pipe3.mediums[1].p,pipe3.mediums[1].Xi[1],pipe3.mediums[1].T,pipe3.mediums[2].p,pipe3.mediums[2].Xi[1],pipe3.mediums[2].T,pipe3.mediums[3].p,pipe3.mediums[3].Xi[1],pipe3.mediums[3].T,pipe3.mediums[4].p,pipe3.mediums[4].Xi[1],pipe3.mediums[4].T,pipe3.mediums[5].p,pipe3.mediums[5].Xi[1],pipe3.mediums[5].T,pipe3.flowModel.m_flows[1],pipe3.flowModel.m_flows[2],pipe3.flowModel.m_flows[3],pipe3.flowModel.m_flows[4],pipe3.flowModel.m_flows[5],pipe3.flowModel.m_flows[6],pipe4.mediums[1].p,pipe4.mediums[1].Xi[1],pipe4.mediums[1].T,pipe4.mediums[2].p,pipe4.mediums[2].Xi[1],pipe4.mediums[2].T,pipe4.mediums[3].p,pipe4.mediums[3].Xi[1],pipe4.mediums[3].T,pipe4.mediums[4].p,pipe4.mediums[4].Xi[1],pipe4.mediums[4].T,pipe4.mediums[5].p,pipe4.mediums[5].Xi[1],pipe4.mediums[5].T,pipe4.flowModel.m_flows[1],pipe4.flowModel.m_flows[2],pipe4.flowModel.m_flows[3],pipe4.flowModel.m_flows[4],pipe4.flowModel.m_flows[5],pipe4.flowModel.m_flows[6]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1168): * Single equations (assignments): 1121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 22 * Torn equation systems: 25 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 22 {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 20 {2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.1149/17.93, allocations: 41.7 MB / 5.497 GB, free: 68.62 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0783/18, allocations: 34.14 MB / 5.53 GB, free: 66.69 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-05/18, allocations: 4.5 kB / 5.53 GB, free: 66.69 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.03407/18.04, allocations: 12.72 MB / 5.543 GB, free: 62.68 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02297/18.06, allocations: 2.745 MB / 5.545 GB, free: 62.29 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09086/18.15, allocations: 30.82 MB / 5.575 GB, free: 45.02 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007704/18.16, allocations: 5.286 MB / 5.58 GB, free: 41.07 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.02581/18.19, allocations: 6.389 MB / 5.587 GB, free: 36.98 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01151/18.2, allocations: 3.539 MB / 5.59 GB, free: 33.76 MB / 0.5417 GB Notification: Performance of SimCode: time 2.424e-06/18.2, allocations: 2.625 kB / 5.59 GB, free: 33.76 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.255/20.45, allocations: 471.3 MB / 6.05 GB, free: 79.66 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/20.45, allocations: 159.6 kB / 6.051 GB, free: 79.47 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.81/37.26, allocations: 1.969 kB / 6.051 GB, free: 79.47 MB / 0.573 GB (rm -f Modelica_trunk_Modelica.Fluid.Examples.BranchingDynamicPipes.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.BranchingDynamicPipes.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.BranchingDynamicPipes.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.BranchingDynamicPipes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Fluid.Examples.BranchingDynamicPipes_res.mat --tempDir=temp_Modelica_trunk_Modelica_Fluid_Examples_BranchingDynamicPipes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Fluid_Examples_BranchingDynamicPipes.fmu > Modelica_trunk_Modelica.Fluid.Examples.BranchingDynamicPipes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Fluid.Examples.BranchingDynamicPipes_res.mat does not exist to compare? outputFormat=mat