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.001083/0.001083, allocations: 94.69 kB / 16.99 MB, free: 5.941 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.001209/0.00121, allocations: 181.8 kB / 17.87 MB, free: 5.609 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.339/1.339, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2086/0.2086, allocations: 44.21 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003192, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1334, allocations: 61.92 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4736/0.607, allocations: 147 MB / 0.6041 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006906/0.6139, allocations: 3.849 MB / 0.6078 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006103/0.6146, allocations: 19.81 kB / 0.6078 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.6157, allocations: 246.7 kB / 0.6081 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004034/0.6197, allocations: 1.09 MB / 0.6091 GB, free: 9.621 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001959/0.6217, allocations: 0.5998 MB / 0.6097 GB, free: 9.027 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001733/0.6234, allocations: 0.9213 MB / 0.6106 GB, free: 8.102 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006481/0.6241, allocations: 360.4 kB / 0.611 GB, free: 7.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.6252, allocations: 0.4907 MB / 0.6114 GB, free: 7.258 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004616/0.6257, allocations: 338.7 kB / 0.6118 GB, free: 6.926 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.465e-05/0.6257, allocations: 28 kB / 0.6118 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002294/0.628, allocations: 1.022 MB / 0.6128 GB, free: 5.875 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.6282, allocations: 135.5 kB / 0.6129 GB, free: 5.742 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.6284, allocations: 149.4 kB / 0.6131 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.63, allocations: 1.003 MB / 0.614 GB, free: 4.586 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.63, allocations: 0 / 0.614 GB, free: 4.586 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.63, allocations: 0 / 0.614 GB, free: 4.586 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.6301, allocations: 4 kB / 0.6141 GB, free: 4.582 MB / 446.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.001885/0.6319, allocations: 0.9077 MB / 0.6149 GB, free: 3.625 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.632, allocations: 8.562 kB / 0.6149 GB, free: 3.617 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/0.6321, allocations: 82.47 kB / 0.615 GB, free: 3.527 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.6331, allocations: 155 kB / 0.6152 GB, free: 3.375 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006732/0.6338, allocations: 456.7 kB / 0.6156 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.6339, allocations: 29 kB / 0.6156 GB, free: 2.859 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.549e-05/0.6339, allocations: 40 kB / 0.6157 GB, free: 2.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.635, allocations: 0.5984 MB / 0.6163 GB, free: 2.184 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.6351, allocations: 3.938 kB / 0.6163 GB, free: 2.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.518e-05/0.6351, allocations: 16 kB / 0.6163 GB, free: 2.164 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.6352, allocations: 12 kB / 0.6163 GB, free: 2.152 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.6362, allocations: 491.6 kB / 0.6168 GB, free: 1.672 MB / 446.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.003735/0.6399, allocations: 2.67 MB / 0.6194 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007852/0.6407, allocations: 355.5 kB / 0.6197 GB, free: 14.42 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005322/0.6413, allocations: 433.8 kB / 0.6201 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.6413, allocations: 39.72 kB / 0.6202 GB, free: 13.86 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.976e-06/0.6413, allocations: 0 / 0.6202 GB, free: 13.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001872/0.6432, allocations: 0.7393 MB / 0.6209 GB, free: 13.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.23e-05/0.6433, allocations: 140.5 kB / 0.621 GB, free: 12.93 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005986/0.6439, allocations: 494.1 kB / 0.6215 GB, free: 12.43 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.417e-05/0.644, allocations: 33.7 kB / 0.6215 GB, free: 12.39 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.6442, allocations: 279.8 kB / 0.6218 GB, free: 12.12 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.6443, allocations: 122.2 kB / 0.6219 GB, free: 12 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.6443, allocations: 8 kB / 0.6219 GB, free: 11.99 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.6445, allocations: 358.8 kB / 0.6222 GB, free: 11.63 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.6448, allocations: 156.8 kB / 0.6224 GB, free: 11.48 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004269/0.6453, allocations: 283.7 kB / 0.6227 GB, free: 11.15 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/0.6456, allocations: 193 kB / 0.6229 GB, free: 10.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6456, allocations: 7.938 kB / 0.6229 GB, free: 10.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009803/0.6466, allocations: 0.5446 MB / 0.6234 GB, free: 10.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.6467, allocations: 12.03 kB / 0.6234 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.6467, allocations: 4 kB / 0.6234 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001575/0.6483, allocations: 288.5 kB / 0.6237 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/0.6486, allocations: 111.9 kB / 0.6238 GB, free: 9.988 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005083/0.6492, allocations: 0.5991 MB / 0.6244 GB, free: 9.363 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000438/0.6496, allocations: 70.06 kB / 0.6244 GB, free: 9.297 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.01e-05/0.6497, allocations: 47.98 kB / 0.6245 GB, free: 9.25 MB / 462.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.0003173/0.65, allocations: 173.8 kB / 0.6247 GB, free: 9.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.6501, allocations: 55.34 kB / 0.6247 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/0.6523, allocations: 1.115 MB / 0.6258 GB, free: 7.875 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.6523, allocations: 0 / 0.6258 GB, free: 7.875 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.6524, allocations: 8 kB / 0.6258 GB, free: 7.867 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.6524, allocations: 3.984 kB / 0.6258 GB, free: 7.863 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.654, allocations: 1.026 MB / 0.6268 GB, free: 6.762 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.654, allocations: 4 kB / 0.6268 GB, free: 6.758 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.6542, allocations: 51.91 kB / 0.6269 GB, free: 6.707 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00317/0.6574, allocations: 0.5355 MB / 0.6274 GB, free: 6.168 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.6574, allocations: 19.98 kB / 0.6274 GB, free: 6.148 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000492/0.6579, allocations: 0.6031 MB / 0.628 GB, free: 5.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/0.658, allocations: 7.984 kB / 0.628 GB, free: 5.512 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008917/0.6589, allocations: 0.5785 MB / 0.6286 GB, free: 4.867 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/0.6591, allocations: 144.3 kB / 0.6287 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.694e-05/0.6592, allocations: 12 kB / 0.6287 GB, free: 4.695 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/0.6595, allocations: 35.97 kB / 0.6287 GB, free: 4.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/0.6596, allocations: 31.86 kB / 0.6288 GB, free: 4.629 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.6597, allocations: 15.98 kB / 0.6288 GB, free: 4.613 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004975/0.6602, allocations: 390.8 kB / 0.6292 GB, free: 4.234 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6602, allocations: 0 / 0.6292 GB, free: 4.234 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009238/0.6611, allocations: 283.6 kB / 0.6294 GB, free: 3.957 MB / 462.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.00206/0.6632, allocations: 1.741 MB / 0.6311 GB, free: 2.164 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008844/0.6641, allocations: 380.4 kB / 0.6315 GB, free: 1.793 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.6641, allocations: 4 kB / 0.6315 GB, free: 1.789 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003546/0.6645, allocations: 171.8 kB / 0.6317 GB, free: 1.621 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.6659, allocations: 284.3 kB / 0.6319 GB, free: 1.344 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0053/0.6712, allocations: 5.215 MB / 0.637 GB, free: 12 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004823/0.6717, allocations: 0.875 MB / 0.6379 GB, free: 11.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001309/0.673, allocations: 0.5432 MB / 0.6384 GB, free: 10.56 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003977/0.6734, allocations: 227.3 kB / 0.6386 GB, free: 10.34 MB / 478.1 MB Notification: Performance of SimCode: time 8.81e-07/0.6734, allocations: 4 kB / 0.6386 GB, free: 10.34 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03899/0.7124, allocations: 19.09 MB / 0.6573 GB, free: 7.57 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/0.7127, allocations: 275.1 kB / 0.6575 GB, free: 7.219 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.326/3.038, allocations: 4.062 kB / 0.6575 GB, free: 7.215 MB / 494.1 MB (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