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.001286/0.001286, allocations: 199.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, allocations: 227.2 MB / 245 MB, free: 5.801 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00085/0.0008499, allocations: 105.3 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002101/0.0002101, allocations: 4 kB / 358 MB, free: 9.223 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2238, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.512/5.736, allocations: 2.802 GB / 3.202 GB, free: 103.5 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/5.736, allocations: 78.34 kB / 3.202 GB, free: 103.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.901/7.637, allocations: 0.5563 GB / 3.758 GB, free: 41.31 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.325e-06/7.637, allocations: 0 / 3.758 GB, free: 41.31 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001245/7.637, allocations: 52.69 kB / 3.758 GB, free: 41.3 MB / 474.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.01269/7.65, allocations: 3 MB / 3.761 GB, free: 39.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.378e-05/7.65, allocations: 6.719 kB / 3.761 GB, free: 39.79 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006372/7.651, allocations: 234.2 kB / 3.761 GB, free: 39.74 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00447/7.655, allocations: 0.601 MB / 3.762 GB, free: 39.64 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003674/7.659, allocations: 1.447 MB / 3.763 GB, free: 39.03 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/7.659, allocations: 138.5 kB / 3.763 GB, free: 38.97 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/7.659, allocations: 148.1 kB / 3.763 GB, free: 38.93 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005667/7.665, allocations: 2.832 MB / 3.766 GB, free: 37.76 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.39e-05/7.665, allocations: 7.625 kB / 3.766 GB, free: 37.76 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/7.665, allocations: 75.7 kB / 3.766 GB, free: 37.71 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001589/7.665, allocations: 136.6 kB / 3.766 GB, free: 37.69 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005752/7.671, allocations: 2.644 MB / 3.769 GB, free: 36.97 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01348/7.685, allocations: 11.72 MB / 3.78 GB, free: 28.13 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004085/7.689, allocations: 1.737 MB / 3.782 GB, free: 27.66 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01501/7.704, allocations: 9.016 MB / 3.791 GB, free: 21.53 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/7.704, allocations: 47.53 kB / 3.791 GB, free: 21.48 MB / 474.7 MB Notification: Performance of pre-optimization done (n=114): time 3.106e-06/7.704, allocations: 2.531 kB / 3.791 GB, free: 21.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=132): time 0.02056/7.724, allocations: 7.459 MB / 3.798 GB, free: 18.98 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/7.725, allocations: 145.6 kB / 3.798 GB, free: 18.82 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/7.727, allocations: 1.063 MB / 3.799 GB, free: 18.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001659/7.727, allocations: 53.58 kB / 3.8 GB, free: 18.35 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005198/7.727, allocations: 0.7053 MB / 3.8 GB, free: 17.79 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004276/7.728, allocations: 467.4 kB / 3.801 GB, free: 17.44 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.605e-05/7.728, allocations: 31.72 kB / 3.801 GB, free: 17.41 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/7.728, allocations: 372.4 kB / 3.801 GB, free: 17.08 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/7.729, allocations: 0.8842 MB / 3.802 GB, free: 16.77 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/7.731, allocations: 1.265 MB / 3.803 GB, free: 15.53 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.02486/7.756, allocations: 6.343 MB / 3.809 GB, free: 10.72 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/7.756, allocations: 8 kB / 3.809 GB, free: 10.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005156/7.761, allocations: 2.691 MB / 3.812 GB, free: 8.398 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008606/7.762, allocations: 4.021 MB / 3.816 GB, free: 4.098 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.749e-05/7.762, allocations: 12 kB / 3.816 GB, free: 4.086 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001725/7.764, allocations: 0.519 MB / 3.816 GB, free: 3.676 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/7.765, allocations: 369.1 kB / 3.817 GB, free: 3.371 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/7.767, allocations: 2.91 MB / 3.82 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/7.769, allocations: 209.2 kB / 3.82 GB, free: 384 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/7.769, allocations: 73.77 kB / 3.82 GB, free: 316 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/7.769, allocations: 7.953 kB / 3.82 GB, free: 308 kB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00707/7.776, allocations: 2.669 MB / 3.822 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/7.776, allocations: 12.19 kB / 3.823 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001727/7.778, allocations: 0.5124 MB / 3.823 GB, free: 14.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/7.78, allocations: 379.3 kB / 3.823 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002534/7.782, allocations: 2.921 MB / 3.826 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/7.784, allocations: 202.8 kB / 3.826 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/7.784, allocations: 71.61 kB / 3.826 GB, free: 10.84 MB / 490.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 () * Number of clocked 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.001351/7.786, allocations: 0.5882 MB / 3.827 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004334/7.786, allocations: 146.3 kB / 3.827 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009109/7.795, allocations: 5.577 MB / 3.833 GB, free: 5.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.777e-05/7.795, allocations: 62.55 kB / 3.833 GB, free: 5.211 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/7.795, allocations: 0 / 3.833 GB, free: 5.211 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007027/7.802, allocations: 5.09 MB / 3.838 GB, free: 156 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3496/8.152, allocations: 8.629 MB / 3.846 GB, free: 55.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/8.152, allocations: 0 / 3.846 GB, free: 55.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/8.153, allocations: 297.4 kB / 3.846 GB, free: 55.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001902/8.155, allocations: 0.5586 MB / 3.847 GB, free: 55.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/8.155, allocations: 43.98 kB / 3.847 GB, free: 55.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/8.157, allocations: 2.917 MB / 3.85 GB, free: 53.67 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/8.157, allocations: 3.938 kB / 3.85 GB, free: 53.67 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007789/8.165, allocations: 5.55 MB / 3.855 GB, free: 53.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/8.166, allocations: 0.5356 MB / 3.856 GB, free: 52.99 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/8.166, allocations: 34.97 kB / 3.856 GB, free: 52.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/8.167, allocations: 161.9 kB / 3.856 GB, free: 52.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002527/8.168, allocations: 132.3 kB / 3.856 GB, free: 52.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-05/8.168, allocations: 53.23 kB / 3.856 GB, free: 52.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001483/8.169, allocations: 0.9114 MB / 3.857 GB, free: 52.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/8.169, allocations: 0 / 3.857 GB, free: 52.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008263/8.177, allocations: 2.202 MB / 3.859 GB, free: 52.88 MB / 490.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 () * Number of clocked 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.0177/8.195, allocations: 8.796 MB / 3.868 GB, free: 51.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006933/8.202, allocations: 3.854 MB / 3.872 GB, free: 51.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/8.202, allocations: 1.75 kB / 3.872 GB, free: 51.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002652/8.205, allocations: 1.826 MB / 3.873 GB, free: 51.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003564/8.208, allocations: 0.7459 MB / 3.874 GB, free: 51.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/8.224, allocations: 15.17 MB / 3.889 GB, free: 40.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/8.225, allocations: 1.807 MB / 3.891 GB, free: 40.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003302/8.229, allocations: 1.956 MB / 3.893 GB, free: 40.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/8.23, allocations: 0.861 MB / 3.893 GB, free: 40.14 MB / 490.7 MB Notification: Performance of SimCode: time 1.402e-06/8.23, allocations: 2.938 kB / 3.893 GB, free: 40.14 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.135/8.365, allocations: 89.5 MB / 3.981 GB, free: 22.98 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/8.365, allocations: 230.1 kB / 3.981 GB, free: 22.74 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.015/13.38, allocations: 4.062 kB / 3.981 GB, free: 22.73 MB / 490.7 MB (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