Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",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.00153/0.001531, allocations: 183 kB / 13.19 MB, free: 2.129 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.503/1.503, allocations: 205.2 MB / 218.9 MB, free: 9.148 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.000886/0.0008862, allocations: 90.55 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4236/0.4236, allocations: 43.47 MB / 358.6 MB, free: 52.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.219e-05/4.223e-05, allocations: 7.984 kB / 425.4 MB, free: 8.773 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1399, allocations: 58.84 MB / 484.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.881/2.02, allocations: 0.579 GB / 1.052 GB, free: 160.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003516/2.021, allocations: 92.89 kB / 1.052 GB, free: 160.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8579/2.879, allocations: 227.5 MB / 1.274 GB, free: 91.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.295e-06/2.879, allocations: 3.281 kB / 1.274 GB, free: 91.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.34e-05/2.879, allocations: 21.44 kB / 1.274 GB, free: 91.23 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002179/2.881, allocations: 0.9234 MB / 1.275 GB, free: 90.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/2.881, allocations: 9.5 kB / 1.275 GB, free: 90.84 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.494e-05/2.881, allocations: 75.91 kB / 1.275 GB, free: 90.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009194/2.882, allocations: 138.4 kB / 1.275 GB, free: 90.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008679/2.883, allocations: 491.8 kB / 1.276 GB, free: 90.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/2.883, allocations: 33.41 kB / 1.276 GB, free: 90.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.303e-05/2.883, allocations: 41 kB / 1.276 GB, free: 90.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/2.884, allocations: 0.5821 MB / 1.276 GB, free: 90.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/2.884, allocations: 1.5 kB / 1.276 GB, free: 90.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.883e-05/2.884, allocations: 25.14 kB / 1.276 GB, free: 90.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/2.884, allocations: 16.22 kB / 1.276 GB, free: 90.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007899/2.885, allocations: 456.6 kB / 1.277 GB, free: 90.41 MB / 0.4948 GB 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.002823/2.888, allocations: 2.658 MB / 1.28 GB, free: 88.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005958/2.889, allocations: 309.3 kB / 1.28 GB, free: 88.63 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/2.889, allocations: 149.8 kB / 1.28 GB, free: 88.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003852/2.889, allocations: 328.3 kB / 1.28 GB, free: 88.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/2.889, allocations: 34.59 kB / 1.28 GB, free: 88.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/2.889, allocations: 3.156 kB / 1.28 GB, free: 88.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.0009684/2.89, allocations: 449.2 kB / 1.281 GB, free: 88.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/2.89, allocations: 131.7 kB / 1.281 GB, free: 88.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004691/2.891, allocations: 443 kB / 1.281 GB, free: 87.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/2.891, allocations: 36.27 kB / 1.281 GB, free: 87.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/2.891, allocations: 276.4 kB / 1.282 GB, free: 87.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.264e-05/2.891, allocations: 121.2 kB / 1.282 GB, free: 87.74 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/2.891, allocations: 12.5 kB / 1.282 GB, free: 87.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.588e-05/2.891, allocations: 364.2 kB / 1.282 GB, free: 87.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/2.892, allocations: 165.6 kB / 1.282 GB, free: 87.43 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/2.892, allocations: 299.7 kB / 1.282 GB, free: 87.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/2.892, allocations: 204.2 kB / 1.283 GB, free: 87.28 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/2.892, allocations: 0 / 1.283 GB, free: 87.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009501/2.893, allocations: 0.5889 MB / 1.283 GB, free: 87.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/2.893, allocations: 11.22 kB / 1.283 GB, free: 87.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/2.893, allocations: 3.125 kB / 1.283 GB, free: 87.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/2.895, allocations: 235.6 kB / 1.283 GB, free: 87.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005003/2.895, allocations: 144.2 kB / 1.284 GB, free: 87.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00751/2.903, allocations: 28.73 MB / 1.312 GB, free: 57.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007759/2.903, allocations: 68.09 kB / 1.312 GB, free: 57.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-05/2.904, allocations: 53.81 kB / 1.312 GB, free: 57.59 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001923/2.904, allocations: 132.8 kB / 1.312 GB, free: 57.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/2.904, allocations: 56.91 kB / 1.312 GB, free: 57.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/2.905, allocations: 0.6542 MB / 1.313 GB, free: 57.33 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/2.905, allocations: 3.875 kB / 1.313 GB, free: 57.33 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/2.905, allocations: 0 / 1.313 GB, free: 57.33 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/2.905, allocations: 6.969 kB / 1.313 GB, free: 57.33 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/2.907, allocations: 0.9231 MB / 1.314 GB, free: 56.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/2.907, allocations: 2.469 kB / 1.314 GB, free: 56.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/2.907, allocations: 55.36 kB / 1.314 GB, free: 56.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00121/2.908, allocations: 236.5 kB / 1.314 GB, free: 56.96 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/2.908, allocations: 13.41 kB / 1.314 GB, free: 56.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003506/2.909, allocations: 0.5888 MB / 1.314 GB, free: 56.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/2.909, allocations: 2.875 kB / 1.314 GB, free: 56.44 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006336/2.909, allocations: 0.501 MB / 1.315 GB, free: 56.15 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/2.91, allocations: 161.1 kB / 1.315 GB, free: 56.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-05/2.91, allocations: 9.516 kB / 1.315 GB, free: 56.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004343/2.91, allocations: 38.5 kB / 1.315 GB, free: 56.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.625e-05/2.91, allocations: 25.62 kB / 1.315 GB, free: 56.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.131e-05/2.91, allocations: 21.17 kB / 1.315 GB, free: 56.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006697/2.911, allocations: 376.3 kB / 1.316 GB, free: 55.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.81e-07/2.911, allocations: 0 / 1.316 GB, free: 55.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00289/2.914, allocations: 428.1 kB / 1.316 GB, free: 55.88 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004094/2.918, allocations: 2.462 MB / 1.318 GB, free: 54.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001018/2.919, allocations: 372 kB / 1.319 GB, free: 54.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/2.919, allocations: 4.375 kB / 1.319 GB, free: 54.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003102/2.919, allocations: 125.9 kB / 1.319 GB, free: 54.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/2.921, allocations: 265.2 kB / 1.319 GB, free: 54.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/2.924, allocations: 0.8013 MB / 1.32 GB, free: 54.26 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/2.924, allocations: 0.8692 MB / 1.321 GB, free: 53.55 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001029/2.925, allocations: 200 kB / 1.321 GB, free: 53.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000424/2.926, allocations: 211.7 kB / 1.321 GB, free: 53.54 MB / 0.4948 GB Notification: Performance of SimCode: time 1.172e-06/2.926, allocations: 0 / 1.321 GB, free: 53.54 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07701/3.003, allocations: 36.09 MB / 1.356 GB, free: 51.81 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/3.003, allocations: 254.3 kB / 1.357 GB, free: 51.46 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.406/6.409, allocations: 0 / 1.357 GB, free: 51.46 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat does not exist to compare? outputFormat=mat