Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001494/0.001499, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.076/2.076, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001136/0.001136, allocations: 90.8 kB / 270.9 MB, free: 13.38 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.2939/0.2939, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004855, allocations: 12 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1477, allocations: 58.85 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5749/0.7226, allocations: 147 MB / 0.6224 GB, free: 7.68 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01483/0.7375, allocations: 6.751 MB / 0.629 GB, free: 0.918 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007654/0.7383, allocations: 19.88 kB / 0.629 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.7396, allocations: 250.7 kB / 0.6293 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005699/0.7453, allocations: 1.269 MB / 0.6305 GB, free: 15.38 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00287/0.7482, allocations: 0.612 MB / 0.6311 GB, free: 14.77 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002501/0.7508, allocations: 0.9184 MB / 0.632 GB, free: 13.85 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009347/0.7517, allocations: 355.8 kB / 0.6323 GB, free: 13.5 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.7534, allocations: 0.4907 MB / 0.6328 GB, free: 13.01 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008972/0.7544, allocations: 342.7 kB / 0.6331 GB, free: 12.67 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.7546, allocations: 28 kB / 0.6332 GB, free: 12.64 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004162/0.7588, allocations: 1.17 MB / 0.6343 GB, free: 11.47 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000374/0.7592, allocations: 127.5 kB / 0.6344 GB, free: 11.35 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003541/0.7596, allocations: 153.4 kB / 0.6346 GB, free: 11.19 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00303/0.7626, allocations: 1.077 MB / 0.6356 GB, free: 10.11 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.7627, allocations: 0 / 0.6356 GB, free: 10.11 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.7627, allocations: 3.938 kB / 0.6356 GB, free: 10.11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.7627, allocations: 0 / 0.6356 GB, free: 10.11 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002838/0.7656, allocations: 0.9474 MB / 0.6366 GB, free: 9.105 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.7656, allocations: 12.02 kB / 0.6366 GB, free: 9.094 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002146/0.7659, allocations: 86.52 kB / 0.6367 GB, free: 9 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.7673, allocations: 135.2 kB / 0.6368 GB, free: 8.867 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.7686, allocations: 460.8 kB / 0.6372 GB, free: 8.379 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.393e-05/0.7687, allocations: 29 kB / 0.6372 GB, free: 8.348 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.7688, allocations: 40 kB / 0.6373 GB, free: 8.309 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.7707, allocations: 0.5906 MB / 0.6379 GB, free: 7.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.7708, allocations: 7.891 kB / 0.6379 GB, free: 7.672 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.7709, allocations: 24 kB / 0.6379 GB, free: 7.648 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.7709, allocations: 8 kB / 0.6379 GB, free: 7.641 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.7726, allocations: 487.6 kB / 0.6384 GB, free: 7.164 MB / 442.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.005398/0.7781, allocations: 2.686 MB / 0.641 GB, free: 4.258 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.7794, allocations: 354.8 kB / 0.6413 GB, free: 3.906 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005743/0.78, allocations: 321.6 kB / 0.6416 GB, free: 3.535 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/0.7801, allocations: 38.84 kB / 0.6417 GB, free: 3.488 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 3.196e-06/0.7801, allocations: 4 kB / 0.6417 GB, free: 3.484 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.003038/0.7832, allocations: 0.7426 MB / 0.6424 GB, free: 2.715 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.7833, allocations: 136.5 kB / 0.6425 GB, free: 2.551 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.7843, allocations: 490.1 kB / 0.643 GB, free: 2.062 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001279/0.7845, allocations: 29.7 kB / 0.643 GB, free: 2.027 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003014/0.7848, allocations: 322.2 kB / 0.6433 GB, free: 1.711 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.785, allocations: 110.4 kB / 0.6434 GB, free: 1.602 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.7851, allocations: 8 kB / 0.6434 GB, free: 1.594 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.7853, allocations: 330.8 kB / 0.6438 GB, free: 1.262 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005844/0.7858, allocations: 152.8 kB / 0.6439 GB, free: 1.113 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006925/0.7866, allocations: 283.7 kB / 0.6442 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006759/0.7873, allocations: 193.1 kB / 0.6444 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.7873, allocations: 0 / 0.6444 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001761/0.789, allocations: 0.5173 MB / 0.6449 GB, free: 72 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.7891, allocations: 4 kB / 0.6449 GB, free: 68 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.7891, allocations: 4 kB / 0.6449 GB, free: 64 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002842/0.792, allocations: 297 kB / 0.6452 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007582/0.7928, allocations: 103.9 kB / 0.6453 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008014/0.7936, allocations: 0.5991 MB / 0.6458 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008019/0.7945, allocations: 67.56 kB / 0.6459 GB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.7946, allocations: 43.98 kB / 0.646 GB, free: 14.93 MB / 458.7 MB 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 (44): * Single equations (assignments): 43 * 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 prepare postOptimizeDAE: time 0.0004772/0.7951, allocations: 185.7 kB / 0.6461 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.7953, allocations: 55.34 kB / 0.6462 GB, free: 14.69 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002867/0.7982, allocations: 0.7439 MB / 0.6469 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.7983, allocations: 7.953 kB / 0.6469 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.7983, allocations: 0 / 0.6469 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.7983, allocations: 3.984 kB / 0.6469 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002673/0.801, allocations: 1.018 MB / 0.6479 GB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.8011, allocations: 0 / 0.6479 GB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004404/0.8015, allocations: 60.06 kB / 0.648 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006253/0.8078, allocations: 0.547 MB / 0.6485 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-05/0.8079, allocations: 8 kB / 0.6485 GB, free: 12.19 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007371/0.8086, allocations: 0.6147 MB / 0.6491 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.8087, allocations: 4.062 kB / 0.6491 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.8103, allocations: 0.5745 MB / 0.6497 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/0.8106, allocations: 156.3 kB / 0.6498 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.8108, allocations: 12 kB / 0.6498 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000694/0.8115, allocations: 31.97 kB / 0.6499 GB, free: 10.69 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.8117, allocations: 27.97 kB / 0.6499 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.129e-05/0.8117, allocations: 16 kB / 0.6499 GB, free: 10.65 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007842/0.8125, allocations: 386.8 kB / 0.6503 GB, free: 10.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.8125, allocations: 0 / 0.6503 GB, free: 10.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001477/0.814, allocations: 335.5 kB / 0.6506 GB, free: 9.945 MB / 458.7 MB 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 (27): * Single equations (assignments): 26 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003571/0.8176, allocations: 1.792 MB / 0.6523 GB, free: 8.094 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00154/0.8192, allocations: 392 kB / 0.6527 GB, free: 7.711 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.8192, allocations: 0 / 0.6527 GB, free: 7.711 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006437/0.8199, allocations: 181 kB / 0.6529 GB, free: 7.535 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/0.8225, allocations: 278 kB / 0.6532 GB, free: 7.262 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009451/0.832, allocations: 5.253 MB / 0.6583 GB, free: 1.879 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006247/0.8326, allocations: 0.8711 MB / 0.6591 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008658/0.8335, allocations: 235.3 kB / 0.6594 GB, free: 0.75 MB / 458.7 MB Notification: Performance of SimCode: time 1.282e-06/0.8336, allocations: 0 / 0.6594 GB, free: 0.75 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.106/3.94, allocations: 17.06 MB / 0.676 GB, free: 15.7 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat does not exist to compare? outputFormat=mat