Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 93.62 kB / 17 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 183 kB / 17.89 MB, free: 5.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 223.2 MB / 241.9 MB, free: 336 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2126/0.2126, allocations: 44.23 MB / 337.2 MB, free: 2.82 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003263, allocations: 8.219 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1249, allocations: 61.92 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4304/0.5554, allocations: 166.9 MB / 0.6236 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004999/0.5604, allocations: 3.141 MB / 0.6266 GB, free: 9.082 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005252/0.561, allocations: 19.81 kB / 0.6267 GB, free: 9.062 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000759/0.5617, allocations: 246.4 kB / 0.6269 GB, free: 8.82 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003027/0.5648, allocations: 1.187 MB / 0.628 GB, free: 7.633 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.5663, allocations: 0.5767 MB / 0.6286 GB, free: 7.066 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002067/0.5684, allocations: 1.75 MB / 0.6303 GB, free: 5.305 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005488/0.5689, allocations: 340.2 kB / 0.6306 GB, free: 4.973 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008922/0.5699, allocations: 0.5097 MB / 0.6311 GB, free: 4.461 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005228/0.5704, allocations: 458.2 kB / 0.6316 GB, free: 4.012 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.482e-05/0.5705, allocations: 28 kB / 0.6316 GB, free: 3.984 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002051/0.5725, allocations: 1.01 MB / 0.6326 GB, free: 2.973 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.5727, allocations: 139.5 kB / 0.6327 GB, free: 2.836 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.5729, allocations: 149.4 kB / 0.6329 GB, free: 2.684 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.5742, allocations: 1.041 MB / 0.6339 GB, free: 1.641 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.5742, allocations: 0 / 0.6339 GB, free: 1.641 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5742, allocations: 3.938 kB / 0.6339 GB, free: 1.637 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.5743, allocations: 0 / 0.6339 GB, free: 1.637 MB / 462.1 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.001491/0.5758, allocations: 0.9156 MB / 0.6348 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.5758, allocations: 12.55 kB / 0.6348 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.5759, allocations: 86.16 kB / 0.6349 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009141/0.5768, allocations: 143.1 kB / 0.635 GB, free: 440 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006472/0.5775, allocations: 464.8 kB / 0.6355 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.5775, allocations: 29 kB / 0.6355 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.5776, allocations: 40 kB / 0.6355 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.5786, allocations: 0.6061 MB / 0.6361 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.5786, allocations: 0 / 0.6361 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.403e-05/0.5787, allocations: 20 kB / 0.6361 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.5787, allocations: 12 kB / 0.6361 GB, free: 15.19 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008659/0.5796, allocations: 487.6 kB / 0.6366 GB, free: 14.71 MB / 478.1 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.002684/0.5823, allocations: 2.671 MB / 0.6392 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006863/0.583, allocations: 355.5 kB / 0.6396 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.5833, allocations: 177.4 kB / 0.6397 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003789/0.5837, allocations: 437.8 kB / 0.6401 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.5837, allocations: 38.84 kB / 0.6402 GB, free: 10.72 MB / 478.1 MB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/0.5837, allocations: 0 / 0.6402 GB, free: 10.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.001729/0.5855, allocations: 0.7538 MB / 0.6409 GB, free: 9.941 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/0.5856, allocations: 140.5 kB / 0.641 GB, free: 9.773 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005806/0.5861, allocations: 494 kB / 0.6415 GB, free: 9.281 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/0.5862, allocations: 29.7 kB / 0.6415 GB, free: 9.246 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.5864, allocations: 279.8 kB / 0.6418 GB, free: 8.969 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.5865, allocations: 122.2 kB / 0.6419 GB, free: 8.848 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.5866, allocations: 8 kB / 0.6419 GB, free: 8.84 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.5867, allocations: 362.8 kB / 0.6423 GB, free: 8.477 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.5871, allocations: 152.8 kB / 0.6424 GB, free: 8.328 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.5875, allocations: 291.7 kB / 0.6427 GB, free: 7.992 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.5878, allocations: 189 kB / 0.6429 GB, free: 7.809 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.5879, allocations: 8 kB / 0.6429 GB, free: 7.801 MB / 478.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009673/0.5888, allocations: 0.5445 MB / 0.6434 GB, free: 7.246 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.5889, allocations: 4 kB / 0.6434 GB, free: 7.242 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.5889, allocations: 4 kB / 0.6434 GB, free: 7.238 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.5904, allocations: 292.8 kB / 0.6437 GB, free: 6.949 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.5907, allocations: 107.9 kB / 0.6438 GB, free: 6.844 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004933/0.5912, allocations: 0.6029 MB / 0.6444 GB, free: 6.215 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005346/0.5918, allocations: 63.58 kB / 0.6445 GB, free: 6.152 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.391e-05/0.5919, allocations: 48.77 kB / 0.6445 GB, free: 6.105 MB / 478.1 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.0003447/0.5922, allocations: 177.7 kB / 0.6447 GB, free: 5.922 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.5923, allocations: 63.3 kB / 0.6447 GB, free: 5.859 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/0.5945, allocations: 1.111 MB / 0.6458 GB, free: 4.727 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.5946, allocations: 4 kB / 0.6458 GB, free: 4.723 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.5946, allocations: 0 / 0.6458 GB, free: 4.723 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.5946, allocations: 3.984 kB / 0.6458 GB, free: 4.719 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.5964, allocations: 1.034 MB / 0.6468 GB, free: 3.609 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.5964, allocations: 0 / 0.6468 GB, free: 3.609 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.5966, allocations: 55.91 kB / 0.6469 GB, free: 3.555 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003043/0.5997, allocations: 0.5433 MB / 0.6474 GB, free: 3.008 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.5997, allocations: 11.94 kB / 0.6474 GB, free: 2.996 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004457/0.6002, allocations: 0.6108 MB / 0.648 GB, free: 2.359 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.6002, allocations: 4.062 kB / 0.648 GB, free: 2.355 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008005/0.601, allocations: 0.5195 MB / 0.6485 GB, free: 1.801 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002552/0.6013, allocations: 160.3 kB / 0.6487 GB, free: 1.625 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.664e-05/0.6014, allocations: 8 kB / 0.6487 GB, free: 1.617 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.6018, allocations: 35.91 kB / 0.6487 GB, free: 1.582 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.612e-05/0.6019, allocations: 31.92 kB / 0.6488 GB, free: 1.551 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.6019, allocations: 19.98 kB / 0.6488 GB, free: 1.531 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005277/0.6024, allocations: 378.8 kB / 0.6492 GB, free: 1.164 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6024, allocations: 0 / 0.6492 GB, free: 1.164 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009761/0.6034, allocations: 283.7 kB / 0.6494 GB, free: 0.8867 MB / 478.1 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.001835/0.6053, allocations: 1.335 MB / 0.6507 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009244/0.6062, allocations: 380.5 kB / 0.6511 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.6062, allocations: 4 kB / 0.6511 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.6066, allocations: 167.8 kB / 0.6513 GB, free: 14.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.6081, allocations: 299.3 kB / 0.6515 GB, free: 14.69 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004706/0.6128, allocations: 3.123 MB / 0.6546 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.6132, allocations: 0.8594 MB / 0.6554 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001272/0.6145, allocations: 0.5479 MB / 0.656 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004034/0.6149, allocations: 223.3 kB / 0.6562 GB, free: 9.812 MB / 494.1 MB Notification: Performance of SimCode: time 6.31e-07/0.6149, allocations: 7.938 kB / 0.6562 GB, free: 9.805 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03688/0.6518, allocations: 19.1 MB / 0.6748 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003392/0.6522, allocations: 287.1 kB / 0.6751 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.356/3.008, allocations: 4.062 kB / 0.6751 GB, free: 6.684 MB / 0.4981 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat does not exist to compare? outputFormat=mat