Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.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.NonCircularPipes,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_NonCircularPipes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.NonCircularPipes,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_NonCircularPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00126/0.001261, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009909/0.0009913, allocations: 84.64 kB / 292.1 MB, free: 5.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.501e-05/4.521e-05, allocations: 0 / 350.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1775, allocations: 51.48 MB / 402.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.991/8.169, allocations: 2.802 GB / 3.194 GB, free: 70.84 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/8.169, allocations: 78.98 kB / 3.194 GB, free: 70.8 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.714/10.88, allocations: 0.5549 GB / 3.749 GB, free: 20.18 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.003e-06/10.88, allocations: 3.938 kB / 3.749 GB, free: 20.18 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002397/10.88, allocations: 44.47 kB / 3.749 GB, free: 20.17 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.01548/10.9, allocations: 2.803 MB / 3.752 GB, free: 18.59 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.747e-05/10.9, allocations: 18 kB / 3.752 GB, free: 18.59 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001253/10.9, allocations: 224.8 kB / 3.752 GB, free: 18.45 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005943/10.91, allocations: 0.6035 MB / 3.753 GB, free: 18.32 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005897/10.91, allocations: 1.43 MB / 3.754 GB, free: 17.61 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002944/10.91, allocations: 145.8 kB / 3.754 GB, free: 17.55 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007961/10.91, allocations: 151.7 kB / 3.755 GB, free: 17.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008984/10.92, allocations: 2.796 MB / 3.757 GB, free: 15.85 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.528e-05/10.92, allocations: 8.125 kB / 3.757 GB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004324/10.92, allocations: 67.08 kB / 3.757 GB, free: 15.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002236/10.92, allocations: 126.6 kB / 3.758 GB, free: 15.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006414/10.93, allocations: 2.5 MB / 3.76 GB, free: 14.15 MB / 458.7 MB 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.01835/10.95, allocations: 11.71 MB / 3.771 GB, free: 1.645 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004076/10.95, allocations: 1.617 MB / 3.773 GB, free: 24 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/10.95, allocations: 0.7612 MB / 3.774 GB, free: 15.26 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02037/10.97, allocations: 9.031 MB / 3.783 GB, free: 5.098 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.68e-05/10.97, allocations: 51.5 kB / 3.783 GB, free: 5.035 MB / 474.7 MB Notification: Performance of pre-optimization done (n=114): time 3.617e-06/10.97, allocations: 0 / 3.783 GB, free: 5.035 MB / 474.7 MB Notification: Performance of matching and sorting (n=132): time 0.5059/11.48, allocations: 6.293 MB / 3.789 GB, free: 41.05 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/11.48, allocations: 148.3 kB / 3.789 GB, free: 40.89 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/11.48, allocations: 1.058 MB / 3.79 GB, free: 40.73 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003432/11.48, allocations: 51 kB / 3.79 GB, free: 40.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005478/11.48, allocations: 0.7056 MB / 3.791 GB, free: 40.45 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004464/11.48, allocations: 464.1 kB / 3.791 GB, free: 40.23 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.708e-05/11.48, allocations: 29.59 kB / 3.791 GB, free: 40.23 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/11.48, allocations: 367.1 kB / 3.791 GB, free: 39.92 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/11.48, allocations: 0.7702 MB / 3.792 GB, free: 39.92 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/11.49, allocations: 1.148 MB / 3.793 GB, free: 39.52 MB / 474.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: annulus_pipe.mediums[1].p = 1000000.0 (boundary.p = 1000000.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: circular_pipe.mediums[1].p = 1000000.0 (boundary.p = 1000000.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.02306/11.51, allocations: 5.851 MB / 3.799 GB, free: 39.29 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.685e-05/11.51, allocations: 6.062 kB / 3.799 GB, free: 39.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005983/11.52, allocations: 2.448 MB / 3.801 GB, free: 39.13 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001391/11.52, allocations: 4.031 MB / 3.805 GB, free: 34.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.87e-05/11.52, allocations: 13.92 kB / 3.805 GB, free: 34.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001843/11.52, allocations: 0.5006 MB / 3.806 GB, free: 34.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/11.52, allocations: 380.6 kB / 3.806 GB, free: 34.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/11.52, allocations: 2.905 MB / 3.809 GB, free: 32.85 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/11.52, allocations: 206.8 kB / 3.809 GB, free: 32.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002372/11.53, allocations: 68.48 kB / 3.809 GB, free: 32.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/11.53, allocations: 2.906 kB / 3.809 GB, free: 32.84 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004314/11.53, allocations: 2.257 MB / 3.812 GB, free: 32.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/11.53, allocations: 9.906 kB / 3.812 GB, free: 32.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001513/11.53, allocations: 0.5032 MB / 3.812 GB, free: 32.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/11.53, allocations: 371.7 kB / 3.812 GB, free: 32.74 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/11.53, allocations: 2.908 MB / 3.815 GB, free: 30.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/11.54, allocations: 205.3 kB / 3.815 GB, free: 30.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003239/11.54, allocations: 67.81 kB / 3.816 GB, free: 30.66 MB / 474.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: annulus_pipe.mediums[1].p = 1000000.0 circular_pipe.mediums[1].p = 1000000.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 11 (boundary.medium.phase,massflowsink1.medium.phase,massflowsink2.medium.phase,circular_pipe.statesFM[1].phase,circular_pipe.statesFM[2].phase,annulus_pipe.statesFM[1].phase,annulus_pipe.statesFM[2].phase,annulus_pipe.state_b.phase,annulus_pipe.state_a.phase,circular_pipe.state_b.phase,circular_pipe.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 171 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,1 1,2 8,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005406/11.54, allocations: 208.6 kB / 3.816 GB, free: 30.55 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004785/11.54, allocations: 148.1 kB / 3.816 GB, free: 30.48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007592/11.55, allocations: 5.469 MB / 3.821 GB, free: 30.02 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-05/11.55, allocations: 57.25 kB / 3.821 GB, free: 30.02 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/11.55, allocations: 1.562 kB / 3.821 GB, free: 30.02 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005844/11.55, allocations: 4.979 MB / 3.826 GB, free: 29.26 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01619/11.57, allocations: 8.517 MB / 3.834 GB, free: 28.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/11.57, allocations: 3.688 kB / 3.834 GB, free: 28.35 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/11.57, allocations: 288.1 kB / 3.835 GB, free: 28.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001825/11.57, allocations: 0.5508 MB / 3.835 GB, free: 28.31 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/11.57, allocations: 41.2 kB / 3.835 GB, free: 28.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002326/11.57, allocations: 2.907 MB / 3.838 GB, free: 26.23 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/11.57, allocations: 5.844 kB / 3.838 GB, free: 26.23 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00845/11.58, allocations: 5.209 MB / 3.843 GB, free: 25.56 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001902/11.58, allocations: 0.5323 MB / 3.844 GB, free: 25.35 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003173/11.58, allocations: 35.69 kB / 3.844 GB, free: 25.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/11.59, allocations: 165.5 kB / 3.844 GB, free: 25.34 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003394/11.59, allocations: 133.5 kB / 3.844 GB, free: 25.33 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/11.59, allocations: 53.72 kB / 3.844 GB, free: 25.33 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001913/11.59, allocations: 0.8932 MB / 3.845 GB, free: 25.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.11e-07/11.59, allocations: 0 / 3.845 GB, free: 25.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01339/11.6, allocations: 2.204 MB / 3.847 GB, free: 25.12 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (circular_pipe.mediums[1].h,circular_pipe.mediums[2].p,circular_pipe.mediums[2].h,annulus_pipe.mediums[1].h,annulus_pipe.mediums[2].p,annulus_pipe.mediums[2].h) * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,boundary.medium.phase,massflowsink1.medium.phase,massflowsink2.medium.phase,circular_pipe.statesFM[1].phase,circular_pipe.statesFM[2].phase,annulus_pipe.statesFM[1].phase,annulus_pipe.statesFM[2].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,1 1,2 8,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02247/11.62, allocations: 8.463 MB / 3.855 GB, free: 23.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008101/11.63, allocations: 3.569 MB / 3.859 GB, free: 23.25 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/11.63, allocations: 0 / 3.859 GB, free: 23.25 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00307/11.64, allocations: 1.736 MB / 3.861 GB, free: 23.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005062/11.64, allocations: 0.7522 MB / 3.861 GB, free: 23.22 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/11.66, allocations: 5.544 MB / 3.867 GB, free: 22.21 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002838/11.66, allocations: 1.81 MB / 3.869 GB, free: 21.47 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006024/11.67, allocations: 2.1 MB / 3.871 GB, free: 21.45 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001468/11.67, allocations: 0.8502 MB / 3.871 GB, free: 21.44 MB / 474.7 MB Notification: Performance of SimCode: time 1.393e-06/11.67, allocations: 0 / 3.871 GB, free: 21.44 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1893/11.86, allocations: 94.78 MB / 3.964 GB, free: 164 kB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/11.86, allocations: 202.6 kB / 3.964 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.528/17.39, allocations: 6.688 kB / 3.964 GB, free: 15.94 MB / 0.4948 GB (rm -f Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes_res.mat --tempDir=temp_Modelica_trunk_Modelica_Fluid_Examples_NonCircularPipes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Fluid_Examples_NonCircularPipes.fmu > Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes_res.mat does not exist to compare? outputFormat=mat