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.001441/0.001442, allocations: 183.4 kB / 15.76 MB, free: 6.367 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.725/1.725, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009931/0.0009932, allocations: 82.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2325/0.2325, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003136, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1383, allocations: 58.85 MB / 490.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.425/1.563, allocations: 0.6117 GB / 1.091 GB, free: 17.64 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/1.563, allocations: 99 kB / 1.091 GB, free: 17.59 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7715/2.335, allocations: 233.2 MB / 1.318 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.142e-06/2.335, allocations: 0 / 1.318 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.237e-05/2.335, allocations: 20.2 kB / 1.318 GB, free: 2.75 MB / 0.5105 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.002281/2.337, allocations: 1.014 MB / 1.319 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/2.337, allocations: 12.02 kB / 1.319 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.794e-05/2.337, allocations: 82.53 kB / 1.319 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009117/2.338, allocations: 139.2 kB / 1.32 GB, free: 1.449 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007103/2.339, allocations: 0.4927 MB / 1.32 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/2.339, allocations: 33 kB / 1.32 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-05/2.339, allocations: 40 kB / 1.32 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009181/2.34, allocations: 0.5971 MB / 1.321 GB, free: 204 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/2.34, allocations: 7.938 kB / 1.321 GB, free: 196 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.365e-05/2.34, allocations: 20 kB / 1.321 GB, free: 176 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/2.34, allocations: 12 kB / 1.321 GB, free: 164 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3311/2.671, allocations: 493.7 kB / 1.321 GB, free: 105.4 MB / 0.5105 GB 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.003954/2.675, allocations: 2.661 MB / 1.324 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007448/2.676, allocations: 328.5 kB / 1.324 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004058/2.676, allocations: 319.7 kB / 1.324 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/2.676, allocations: 45.39 kB / 1.325 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 2.685e-06/2.676, allocations: 0 / 1.325 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.001814/2.678, allocations: 0.7112 MB / 1.325 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/2.678, allocations: 132.3 kB / 1.325 GB, free: 103 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005057/2.679, allocations: 455.3 kB / 1.326 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/2.679, allocations: 29.45 kB / 1.326 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/2.679, allocations: 274.3 kB / 1.326 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.655e-05/2.679, allocations: 120.1 kB / 1.326 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/2.679, allocations: 10.84 kB / 1.326 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001242/2.679, allocations: 358.6 kB / 1.327 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/2.68, allocations: 192.8 kB / 1.327 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004032/2.68, allocations: 318.8 kB / 1.327 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/2.681, allocations: 229.2 kB / 1.327 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/2.681, allocations: 0 / 1.327 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001122/2.682, allocations: 0.6342 MB / 1.328 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/2.682, allocations: 11.8 kB / 1.328 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/2.682, allocations: 0 / 1.328 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/2.683, allocations: 237.3 kB / 1.328 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005684/2.684, allocations: 146.2 kB / 1.328 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/2.694, allocations: 28.72 MB / 1.356 GB, free: 72.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009614/2.695, allocations: 66.69 kB / 1.356 GB, free: 72.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/2.695, allocations: 51.83 kB / 1.356 GB, free: 72.5 MB / 0.5105 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 () * Number of clocked 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.000537/2.696, allocations: 188.3 kB / 1.357 GB, free: 72.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/2.696, allocations: 54.78 kB / 1.357 GB, free: 72.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/2.697, allocations: 0.6994 MB / 1.357 GB, free: 72.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/2.697, allocations: 7.828 kB / 1.357 GB, free: 72.22 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/2.697, allocations: 0 / 1.357 GB, free: 72.22 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/2.697, allocations: 0 / 1.357 GB, free: 72.22 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/2.699, allocations: 0.9545 MB / 1.358 GB, free: 71.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/2.699, allocations: 0.9375 kB / 1.358 GB, free: 71.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/2.699, allocations: 51.23 kB / 1.358 GB, free: 71.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001428/2.701, allocations: 232.4 kB / 1.359 GB, free: 71.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/2.701, allocations: 15.97 kB / 1.359 GB, free: 71.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005637/2.701, allocations: 0.5938 MB / 1.359 GB, free: 71.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/2.701, allocations: 1.922 kB / 1.359 GB, free: 71.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/2.702, allocations: 0.5371 MB / 1.36 GB, free: 71.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/2.702, allocations: 156 kB / 1.36 GB, free: 70.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-05/2.703, allocations: 11.36 kB / 1.36 GB, free: 70.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/2.703, allocations: 43.62 kB / 1.36 GB, free: 70.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.202e-05/2.703, allocations: 18.38 kB / 1.36 GB, free: 70.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/2.703, allocations: 23.92 kB / 1.36 GB, free: 70.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005854/2.704, allocations: 382.6 kB / 1.36 GB, free: 70.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/2.704, allocations: 3.781 kB / 1.36 GB, free: 70.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00245/2.706, allocations: 423.2 kB / 1.361 GB, free: 70.84 MB / 0.5105 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 () * Number of clocked 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.004001/2.71, allocations: 2.498 MB / 1.363 GB, free: 69.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001327/2.712, allocations: 411.2 kB / 1.363 GB, free: 69.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/2.712, allocations: 3.859 kB / 1.363 GB, free: 69.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003529/2.712, allocations: 148.4 kB / 1.364 GB, free: 69.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/2.713, allocations: 271.7 kB / 1.364 GB, free: 69.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004696/2.718, allocations: 4.264 MB / 1.368 GB, free: 66.46 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/2.719, allocations: 0.8689 MB / 1.369 GB, free: 65.76 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001029/2.72, allocations: 194 kB / 1.369 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004138/2.72, allocations: 208 kB / 1.369 GB, free: 65.74 MB / 0.5105 GB Notification: Performance of SimCode: time 2.385e-06/2.72, allocations: 0 / 1.369 GB, free: 65.74 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07169/2.792, allocations: 33.09 MB / 1.402 GB, free: 64.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/2.792, allocations: 282.8 kB / 1.402 GB, free: 64.25 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.391/6.183, allocations: 0 / 1.402 GB, free: 64.25 MB / 0.5105 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