Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.NonCircularPipes,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_NonCircularPipes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.NonCircularPipes,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_NonCircularPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001321/0.001321, allocations: 172.6 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008674/0.0008675, allocations: 90.64 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.029e-05/3.042e-05, allocations: 0 / 322.5 MB, free: 17.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09444/0.09449, allocations: 47.57 MB / 370.1 MB, free: 1.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.039/6.134, allocations: 2.796 GB / 3.158 GB, free: 25.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/6.134, allocations: 71.97 kB / 3.158 GB, free: 25.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.366/8.5, allocations: 0.5493 GB / 3.707 GB, free: 34.78 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.464e-06/8.5, allocations: 0 / 3.707 GB, free: 34.78 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000272/8.501, allocations: 47.66 kB / 3.707 GB, free: 34.77 MB / 442.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.01334/8.514, allocations: 2.795 MB / 3.71 GB, free: 33.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/8.514, allocations: 11.25 kB / 3.71 GB, free: 33.54 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001092/8.515, allocations: 227.2 kB / 3.71 GB, free: 33.49 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005264/8.521, allocations: 0.6088 MB / 3.711 GB, free: 33.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005157/8.526, allocations: 1.44 MB / 3.712 GB, free: 33.03 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002612/8.526, allocations: 143.8 kB / 3.712 GB, free: 33.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007643/8.527, allocations: 150 kB / 3.712 GB, free: 33.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008066/8.535, allocations: 2.789 MB / 3.715 GB, free: 32.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.901e-05/8.535, allocations: 9.375 kB / 3.715 GB, free: 32.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005051/8.536, allocations: 63.42 kB / 3.715 GB, free: 32.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002276/8.536, allocations: 136.3 kB / 3.715 GB, free: 32.56 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006021/8.542, allocations: 2.492 MB / 3.718 GB, free: 32.54 MB / 442.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.01764/8.56, allocations: 11.71 MB / 3.729 GB, free: 25.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003829/8.563, allocations: 1.61 MB / 3.731 GB, free: 25.39 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/8.565, allocations: 0.7577 MB / 3.731 GB, free: 25.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01701/8.582, allocations: 8.316 MB / 3.739 GB, free: 20.31 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.17e-05/8.582, allocations: 60.17 kB / 3.739 GB, free: 20.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=114): time 4.719e-06/8.582, allocations: 7.609 kB / 3.739 GB, free: 20.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.02095/8.603, allocations: 6.299 MB / 3.746 GB, free: 19.57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/8.603, allocations: 143.9 kB / 3.746 GB, free: 19.42 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002437/8.605, allocations: 1.054 MB / 3.747 GB, free: 19.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001939/8.605, allocations: 50.52 kB / 3.747 GB, free: 19.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007048/8.606, allocations: 0.7097 MB / 3.748 GB, free: 18.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004809/8.607, allocations: 460.3 kB / 3.748 GB, free: 18.62 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/8.607, allocations: 31.91 kB / 3.748 GB, free: 18.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/8.607, allocations: 369.5 kB / 3.748 GB, free: 18.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/8.608, allocations: 0.7739 MB / 3.749 GB, free: 18.31 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/8.61, allocations: 1.147 MB / 3.75 GB, free: 17.91 MB / 442.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 2.462/11.07, allocations: 379.2 MB / 4.121 GB, free: 73.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.21e-05/11.07, allocations: 4 kB / 4.121 GB, free: 73.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005791/11.08, allocations: 2.448 MB / 4.123 GB, free: 72.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001186/11.08, allocations: 4.028 MB / 4.127 GB, free: 67.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.32e-05/11.08, allocations: 12.98 kB / 4.127 GB, free: 67.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001674/11.08, allocations: 0.5044 MB / 4.127 GB, free: 67.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/11.08, allocations: 375 kB / 4.128 GB, free: 67.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/11.08, allocations: 2.902 MB / 4.131 GB, free: 64.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/11.09, allocations: 209.6 kB / 4.131 GB, free: 64.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/11.09, allocations: 74.77 kB / 4.131 GB, free: 64.58 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/11.09, allocations: 4 kB / 4.131 GB, free: 64.57 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004247/11.09, allocations: 2.251 MB / 4.133 GB, free: 63.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.643e-05/11.09, allocations: 15.69 kB / 4.133 GB, free: 63.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001538/11.09, allocations: 0.5047 MB / 4.134 GB, free: 63.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/11.09, allocations: 371.5 kB / 4.134 GB, free: 62.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/11.1, allocations: 2.902 MB / 4.137 GB, free: 60.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/11.1, allocations: 203.9 kB / 4.137 GB, free: 60.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000213/11.1, allocations: 75.94 kB / 4.137 GB, free: 60.09 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 () * 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.0005711/11.1, allocations: 206.9 kB / 4.137 GB, free: 59.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005768/11.1, allocations: 150.4 kB / 4.137 GB, free: 59.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00765/11.11, allocations: 5.463 MB / 4.143 GB, free: 57.06 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.94e-05/11.11, allocations: 60.86 kB / 4.143 GB, free: 57.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/11.11, allocations: 0 / 4.143 GB, free: 57.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005608/11.11, allocations: 4.987 MB / 4.148 GB, free: 54.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0135/11.13, allocations: 8.51 MB / 4.156 GB, free: 49.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.985e-05/11.13, allocations: 4 kB / 4.156 GB, free: 49.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/11.13, allocations: 286.6 kB / 4.156 GB, free: 49.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001943/11.13, allocations: 0.5439 MB / 4.157 GB, free: 49.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/11.13, allocations: 38.36 kB / 4.157 GB, free: 49.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/11.13, allocations: 2.918 MB / 4.16 GB, free: 46.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/11.13, allocations: 0 / 4.16 GB, free: 46.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006763/11.14, allocations: 5.213 MB / 4.165 GB, free: 43.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/11.14, allocations: 0.5309 MB / 4.165 GB, free: 42.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004883/11.14, allocations: 35.17 kB / 4.165 GB, free: 42.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/11.14, allocations: 164 kB / 4.165 GB, free: 42.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/11.14, allocations: 134.9 kB / 4.166 GB, free: 42.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/11.14, allocations: 46.17 kB / 4.166 GB, free: 42.44 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001585/11.14, allocations: 0.899 MB / 4.166 GB, free: 41.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.61e-07/11.14, allocations: 1.219 kB / 4.166 GB, free: 41.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009784/11.15, allocations: 2.178 MB / 4.169 GB, free: 40.05 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 () * 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.01889/11.17, allocations: 8.444 MB / 4.177 GB, free: 33.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006979/11.18, allocations: 3.572 MB / 4.18 GB, free: 31.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/11.18, allocations: 1.969 kB / 4.18 GB, free: 31.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002662/11.18, allocations: 1.729 MB / 4.182 GB, free: 30.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0045/11.19, allocations: 0.7501 MB / 4.183 GB, free: 29.95 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01768/11.2, allocations: 5.537 MB / 4.188 GB, free: 25.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00222/11.21, allocations: 1.811 MB / 4.19 GB, free: 23.73 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004981/11.21, allocations: 2.098 MB / 4.192 GB, free: 21.69 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/11.21, allocations: 0.8484 MB / 4.193 GB, free: 21.52 MB / 490.7 MB Notification: Performance of SimCode: time 1.472e-06/11.21, allocations: 0 / 4.193 GB, free: 21.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5189/11.73, allocations: 94.69 MB / 4.285 GB, free: 58.69 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/11.73, allocations: 217.4 kB / 4.285 GB, free: 58.45 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.269/17, allocations: 0.9844 kB / 4.285 GB, free: 58.45 MB / 490.7 MB (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Fluid_Examples_NonCircularPipes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Fluid_Examples_NonCircularPipes.fmu > Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes_res.mat does not exist to compare? outputFormat=mat