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.001413/0.001413, allocations: 180.4 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000928/0.000928, allocations: 95.23 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.000318, allocations: 11.94 kB / 351.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2585, allocations: 50.41 MB / 401.6 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.854/8.113, allocations: 3.452 GB / 3.844 GB, free: 100 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/8.113, allocations: 83.91 kB / 3.844 GB, free: 99.94 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.406/12.52, allocations: 0.9585 GB / 4.803 GB, free: 12.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.824e-06/12.52, allocations: 0 / 4.803 GB, free: 12.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007793/12.52, allocations: 163.9 kB / 4.803 GB, free: 11.95 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.05188/12.57, allocations: 10.32 MB / 4.813 GB, free: 1.547 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/12.57, allocations: 8.031 kB / 4.813 GB, free: 1.539 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007919/12.58, allocations: 1.041 MB / 4.814 GB, free: 500 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009091/12.59, allocations: 0.8675 MB / 4.815 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02381/12.61, allocations: 5.724 MB / 4.82 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001012/12.61, allocations: 0.5244 MB / 4.821 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006388/12.62, allocations: 0.7297 MB / 4.822 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5449/13.17, allocations: 14.23 MB / 4.835 GB, free: 26.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000823/13.17, allocations: 23.83 kB / 4.835 GB, free: 26.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006542/13.17, allocations: 289 kB / 4.836 GB, free: 26.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00121/13.17, allocations: 0.7064 MB / 4.836 GB, free: 26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04785/13.22, allocations: 16.92 MB / 4.853 GB, free: 25.94 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1347/13.36, allocations: 48.8 MB / 4.901 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02565/13.38, allocations: 11.13 MB / 4.911 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005698/13.39, allocations: 4.146 MB / 4.916 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003143/13.39, allocations: 148.7 kB / 4.916 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009205/13.4, allocations: 0.8929 MB / 4.917 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=925): time 5.467e-05/13.4, allocations: 0 / 4.917 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1187): time 0.3586/13.76, allocations: 101 MB / 5.015 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002033/13.76, allocations: 175.3 kB / 5.015 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007541/13.76, allocations: 3.442 MB / 5.019 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.005988/13.77, allocations: 244.1 kB / 5.019 GB, free: 0.5625 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003976/13.77, allocations: 2.384 MB / 5.021 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00947/13.78, allocations: 4.133 MB / 5.025 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004255/13.79, allocations: 224 kB / 5.025 GB, free: 11 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001386/13.79, allocations: 0.7661 MB / 5.026 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02722/13.82, allocations: 10.49 MB / 5.036 GB, free: 1.938 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5129/14.33, allocations: 13.16 MB / 5.049 GB, free: 72.24 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02806/14.36, allocations: 11.55 MB / 5.061 GB, free: 72.11 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-05/14.36, allocations: 6.219 kB / 5.061 GB, free: 72.11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1434) (initialization): time 0.1031/14.46, allocations: 33.67 MB / 5.094 GB, free: 71.77 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.003304/14.46, allocations: 9.767 MB / 5.103 GB, free: 61.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001707/14.46, allocations: 22.84 kB / 5.103 GB, free: 61.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2914/14.76, allocations: 87.27 MB / 5.188 GB, free: 40.17 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005987/14.76, allocations: 1.064 MB / 5.189 GB, free: 39.37 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08812/14.85, allocations: 36.99 MB / 5.225 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01872/14.87, allocations: 1.842 MB / 5.227 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005472/14.87, allocations: 0.5747 MB / 5.228 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/14.87, allocations: 6.625 kB / 5.228 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5445/15.42, allocations: 32.22 MB / 5.259 GB, free: 67.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001736/15.42, allocations: 23.16 kB / 5.259 GB, free: 67.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2628/15.68, allocations: 79.13 MB / 5.337 GB, free: 66.63 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006371/15.69, allocations: 1.118 MB / 5.338 GB, free: 66.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09086/15.78, allocations: 34.82 MB / 5.372 GB, free: 51.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.018/15.8, allocations: 1.805 MB / 5.373 GB, free: 50.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005214/15.8, allocations: 0.564 MB / 5.374 GB, free: 50.14 MB / 0.5417 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (597): * Single equations (assignments): 596 * 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 {75 763} Notification: Performance of prepare postOptimizeDAE: time 0.01577/15.82, allocations: 2.591 MB / 5.377 GB, free: 48.98 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006313/15.83, allocations: 0.6665 MB / 5.377 GB, free: 48.64 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08573/15.91, allocations: 31.45 MB / 5.408 GB, free: 27.87 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001984/15.91, allocations: 124 kB / 5.408 GB, free: 27.75 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.152e-05/15.91, allocations: 0 / 5.408 GB, free: 27.75 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06362/15.97, allocations: 24.3 MB / 5.432 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.536/16.51, allocations: 45.31 MB / 5.476 GB, free: 69.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001325/16.51, allocations: 0 / 5.476 GB, free: 69.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02004/16.53, allocations: 3.402 MB / 5.479 GB, free: 69.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04238/16.57, allocations: 12.55 MB / 5.492 GB, free: 68.88 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00476/16.58, allocations: 0.6277 MB / 5.492 GB, free: 68.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04023/16.62, allocations: 44.83 MB / 5.536 GB, free: 39.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/16.62, allocations: 4.906 kB / 5.536 GB, free: 39.48 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08922/16.71, allocations: 39.15 MB / 5.574 GB, free: 35.39 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003395/16.71, allocations: 0.8208 MB / 5.575 GB, free: 34.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005622/16.72, allocations: 480.3 kB / 5.575 GB, free: 34.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01534/16.73, allocations: 1.495 MB / 5.577 GB, free: 34.44 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004461/16.74, allocations: 0.7904 MB / 5.578 GB, free: 34.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004082/16.74, allocations: 0.5517 MB / 5.578 GB, free: 34.25 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004653/16.75, allocations: 2.638 MB / 5.581 GB, free: 33.32 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.31e-07/16.75, allocations: 0 / 5.581 GB, free: 33.32 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.03676/16.78, allocations: 6.977 MB / 5.588 GB, free: 32.63 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 () * Number of clocked 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.1091/16.89, allocations: 43.62 MB / 5.63 GB, free: 144 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.5202/17.41, allocations: 41.46 MB / 5.671 GB, free: 72 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-05/17.41, allocations: 4.969 kB / 5.671 GB, free: 72 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0342/17.45, allocations: 14.16 MB / 5.685 GB, free: 71.37 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01785/17.46, allocations: 3.177 MB / 5.688 GB, free: 71.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.109/17.57, allocations: 61.44 MB / 5.748 GB, free: 38.82 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01114/17.58, allocations: 5.283 MB / 5.753 GB, free: 37.88 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.02418/17.61, allocations: 5.656 MB / 5.758 GB, free: 37.43 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01278/17.62, allocations: 3.619 MB / 5.762 GB, free: 37.43 MB / 0.5417 GB Notification: Performance of SimCode: time 2.204e-06/17.62, allocations: 1.203 kB / 5.762 GB, free: 37.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.897/19.52, allocations: 492.5 MB / 6.243 GB, free: 3.062 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/19.52, allocations: 250.8 kB / 6.243 GB, free: 2.734 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.46/37.98, allocations: 0 / 6.243 GB, free: 2.734 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