Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.BranchingDynamicPipes.conf.json 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) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.BranchingDynamicPipes,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_BranchingDynamicPipes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.BranchingDynamicPipes,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_BranchingDynamicPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 221.5 MB / 230.3 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001043, allocations: 94.03 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.202e-05/2.205e-05, allocations: 3.984 kB / 337.1 MB, free: 9.949 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1385, allocations: 50.42 MB / 387.5 MB, free: 7.488 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.455/9.594, allocations: 3.451 GB / 3.83 GB, free: 88.01 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/9.594, allocations: 75.33 kB / 3.83 GB, free: 87.98 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.054/13.65, allocations: 0.9491 GB / 4.779 GB, free: 19.99 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.605e-06/13.65, allocations: 0 / 4.779 GB, free: 19.99 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006711/13.65, allocations: 161.4 kB / 4.779 GB, free: 19.98 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.04928/13.7, allocations: 9.637 MB / 4.788 GB, free: 15.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/13.7, allocations: 11.19 kB / 4.788 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008626/13.71, allocations: 0.8618 MB / 4.789 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01869/13.73, allocations: 5.703 MB / 4.795 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005857/13.73, allocations: 239.8 kB / 4.795 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005406/13.73, allocations: 434.3 kB / 4.795 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03212/13.76, allocations: 15.95 MB / 4.811 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.045/13.81, allocations: 13.13 MB / 4.824 GB, free: 2.102 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004785/13.81, allocations: 27.8 kB / 4.824 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005418/13.81, allocations: 12 kB / 4.824 GB, free: 2.062 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008872/13.82, allocations: 0.7059 MB / 4.825 GB, free: 1.355 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5946/14.41, allocations: 47.78 MB / 4.871 GB, free: 24.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02068/14.43, allocations: 10.91 MB / 4.882 GB, free: 24.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0141/14.45, allocations: 7.583 MB / 4.889 GB, free: 24.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004144/14.45, allocations: 4.144 MB / 4.893 GB, free: 20.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/14.45, allocations: 152.8 kB / 4.893 GB, free: 20 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008974/14.46, allocations: 0.9117 MB / 4.894 GB, free: 19.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=925): time 6.905e-05/14.46, allocations: 0 / 4.894 GB, free: 19.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1187): time 0.3033/14.76, allocations: 83.16 MB / 4.976 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/14.76, allocations: 175.4 kB / 4.976 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00563/14.77, allocations: 2.24 MB / 4.978 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.004597/14.77, allocations: 29.7 kB / 4.978 GB, free: 5.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001904/14.77, allocations: 2.293 MB / 4.98 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.007321/14.78, allocations: 3.98 MB / 4.984 GB, free: 488 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004482/14.79, allocations: 0 / 4.984 GB, free: 488 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001342/14.79, allocations: 0.7696 MB / 4.985 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01984/14.81, allocations: 9.23 MB / 4.994 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02191/14.83, allocations: 10.48 MB / 5.004 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03085/14.86, allocations: 11.83 MB / 5.016 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001571/14.86, allocations: 8 kB / 5.016 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1434) (initialization): time 0.5674/15.43, allocations: 32.26 MB / 5.047 GB, free: 64.49 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002363/15.43, allocations: 9.278 MB / 5.056 GB, free: 54.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001399/15.43, allocations: 21.47 kB / 5.056 GB, free: 54.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2181/15.65, allocations: 43.56 MB / 5.099 GB, free: 54.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005385/15.65, allocations: 1.073 MB / 5.1 GB, free: 54.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07972/15.73, allocations: 37.49 MB / 5.136 GB, free: 53.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01608/15.75, allocations: 1.62 MB / 5.138 GB, free: 53.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00317/15.75, allocations: 0.5858 MB / 5.139 GB, free: 53.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/15.75, allocations: 4.938 kB / 5.139 GB, free: 53.75 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0653/15.82, allocations: 28.72 MB / 5.167 GB, free: 44.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001332/15.82, allocations: 21.38 kB / 5.167 GB, free: 44.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1945/16.01, allocations: 42.55 MB / 5.208 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006046/16.02, allocations: 1.119 MB / 5.209 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4814/16.5, allocations: 35.65 MB / 5.244 GB, free: 61.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01581/16.52, allocations: 1.585 MB / 5.246 GB, free: 61.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003795/16.52, allocations: 0.5694 MB / 5.246 GB, free: 61.98 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.006065/16.53, allocations: 216.8 kB / 5.246 GB, free: 61.88 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05839/16.59, allocations: 22.83 MB / 5.269 GB, free: 61.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006179/16.59, allocations: 0.594 MB / 5.269 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08085/16.67, allocations: 29.23 MB / 5.298 GB, free: 60.35 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001528/16.67, allocations: 124.6 kB / 5.298 GB, free: 60.35 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.611e-05/16.67, allocations: 0 / 5.298 GB, free: 60.35 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04925/16.72, allocations: 21.38 MB / 5.319 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1172/16.84, allocations: 43.22 MB / 5.361 GB, free: 44.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001162/16.84, allocations: 0 / 5.361 GB, free: 44.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02115/16.86, allocations: 3.36 MB / 5.364 GB, free: 42.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0315/16.89, allocations: 10.08 MB / 5.374 GB, free: 35.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004926/16.9, allocations: 494.5 kB / 5.375 GB, free: 35.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03328/16.93, allocations: 42.61 MB / 5.416 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.457e-05/16.93, allocations: 1.75 kB / 5.416 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5468/17.48, allocations: 39.09 MB / 5.454 GB, free: 74.01 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003071/17.48, allocations: 0.7074 MB / 5.455 GB, free: 73.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0058/17.49, allocations: 276.7 kB / 5.455 GB, free: 73.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01606/17.5, allocations: 1.281 MB / 5.457 GB, free: 73.91 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004233/17.51, allocations: 0.7895 MB / 5.457 GB, free: 73.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004322/17.51, allocations: 0.5482 MB / 5.458 GB, free: 73.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.003418/17.51, allocations: 1.665 MB / 5.46 GB, free: 73.76 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.21e-07/17.51, allocations: 0.625 kB / 5.46 GB, free: 73.76 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.03729/17.55, allocations: 6.289 MB / 5.466 GB, free: 73.76 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.107/17.66, allocations: 41.66 MB / 5.506 GB, free: 71.78 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.07606/17.73, allocations: 34.13 MB / 5.54 GB, free: 69.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.766e-05/17.73, allocations: 7.25 kB / 5.54 GB, free: 69.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.03188/17.77, allocations: 12.73 MB / 5.552 GB, free: 65.76 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02118/17.79, allocations: 2.691 MB / 5.555 GB, free: 65.39 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08308/17.87, allocations: 30.8 MB / 5.585 GB, free: 47.82 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005182/17.88, allocations: 5.303 MB / 5.59 GB, free: 43.86 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01956/17.9, allocations: 6.39 MB / 5.596 GB, free: 39.71 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008924/17.9, allocations: 3.536 MB / 5.6 GB, free: 36.49 MB / 0.5417 GB Notification: Performance of SimCode: time 1.022e-06/17.9, allocations: 4 kB / 5.6 GB, free: 36.49 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.36/20.26, allocations: 471.1 MB / 6.06 GB, free: 91.94 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/20.27, allocations: 162.7 kB / 6.06 GB, free: 91.75 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.23/36.49, allocations: 0 / 6.06 GB, free: 91.75 MB / 0.573 GB (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.BranchingDynamicPipes.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.BranchingDynamicPipes.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.BranchingDynamicPipes.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.BranchingDynamicPipes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Fluid.Examples.BranchingDynamicPipes_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Fluid_Examples_BranchingDynamicPipes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Fluid_Examples_BranchingDynamicPipes.fmu > Modelica_4.0.0_Modelica.Fluid.Examples.BranchingDynamicPipes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Fluid.Examples.BranchingDynamicPipes_res.mat does not exist to compare? outputFormat=mat