Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.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.Fittings.TestWallFriction,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction",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.002347/0.002353, allocations: 188.9 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.211/2.211, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001623/0.001623, allocations: 86.86 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.3398/0.3398, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006249/0.0006252, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1247, allocations: 58.86 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction): time 0.0579/0.1827, allocations: 30.28 MB / 0.5084 GB, free: 10.88 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.3819/0.5646, allocations: 14.04 MB / 0.5221 GB, free: 11.76 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002422/0.5671, allocations: 47.56 kB / 0.5222 GB, free: 11.76 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003244/0.5705, allocations: 0.5167 MB / 0.5227 GB, free: 11.76 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009369/0.5799, allocations: 1.936 MB / 0.5246 GB, free: 11.73 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01299/0.5929, allocations: 2.789 MB / 0.5273 GB, free: 11.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006122/0.5991, allocations: 2.11 MB / 0.5293 GB, free: 11.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002677/0.6018, allocations: 0.828 MB / 0.5301 GB, free: 11.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004679/0.6066, allocations: 1.129 MB / 0.5312 GB, free: 11.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003389/0.61, allocations: 0.8655 MB / 0.5321 GB, free: 11.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008344/0.6109, allocations: 67.72 kB / 0.5322 GB, free: 11.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01051/0.6214, allocations: 2.723 MB / 0.5348 GB, free: 11.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001218/0.6227, allocations: 335.8 kB / 0.5351 GB, free: 11.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001415/0.6242, allocations: 304.8 kB / 0.5354 GB, free: 11.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009107/0.6333, allocations: 2.68 MB / 0.538 GB, free: 11.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6334, allocations: 5.25 kB / 0.5381 GB, free: 11.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.307e-06/0.6334, allocations: 0 / 0.5381 GB, free: 11.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.62e-05/0.6335, allocations: 0 / 0.5381 GB, free: 11.31 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.006831/0.6404, allocations: 1.876 MB / 0.5399 GB, free: 10.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.6405, allocations: 13.7 kB / 0.5399 GB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007933/0.6413, allocations: 157.3 kB / 0.54 GB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.6426, allocations: 180.2 kB / 0.5402 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003368/0.6461, allocations: 0.9973 MB / 0.5412 GB, free: 9.625 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.6463, allocations: 77.34 kB / 0.5413 GB, free: 9.621 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003697/0.6467, allocations: 100.2 kB / 0.5414 GB, free: 9.621 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004147/0.6508, allocations: 1.442 MB / 0.5428 GB, free: 9.094 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-05/0.6509, allocations: 3.594 kB / 0.5428 GB, free: 9.094 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002969/0.6513, allocations: 52.14 kB / 0.5428 GB, free: 9.094 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/0.6514, allocations: 50.92 kB / 0.5429 GB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004013/0.6554, allocations: 1.337 MB / 0.5442 GB, free: 8.891 MB / 362.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.01516/0.6706, allocations: 6.695 MB / 0.5507 GB, free: 4.273 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.6724, allocations: 0.5706 MB / 0.5513 GB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03253/0.705, allocations: 15.4 MB / 0.5663 GB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001189/0.7063, allocations: 488.7 kB / 0.5668 GB, free: 3.891 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 3.987e-06/0.7063, allocations: 0 / 0.5668 GB, free: 3.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.003165/0.7095, allocations: 1 MB / 0.5678 GB, free: 3.555 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003522/0.7099, allocations: 0.5385 MB / 0.5683 GB, free: 2.898 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003037/0.713, allocations: 1.265 MB / 0.5695 GB, free: 2.523 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002694/0.7133, allocations: 38.48 kB / 0.5696 GB, free: 2.492 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008659/0.7142, allocations: 0.6841 MB / 0.5702 GB, free: 2.078 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000411/0.7146, allocations: 182.4 kB / 0.5704 GB, free: 1.953 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.7148, allocations: 20.53 kB / 0.5704 GB, free: 1.953 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.715, allocations: 355.2 kB / 0.5708 GB, free: 1.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.7161, allocations: 331.1 kB / 0.5711 GB, free: 1.574 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/0.7179, allocations: 0.8893 MB / 0.5719 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/0.7195, allocations: 0.4898 MB / 0.5724 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.445e-05/0.7196, allocations: 4 kB / 0.5724 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004405/0.724, allocations: 1.231 MB / 0.5736 GB, free: 15.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.004278/0.7284, allocations: 5.79 MB / 0.5793 GB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.532e-05/0.7285, allocations: 16 kB / 0.5793 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.202e-05/0.7286, allocations: 30.47 kB / 0.5793 GB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00314/0.7317, allocations: 353.8 kB / 0.5797 GB, free: 9.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.7331, allocations: 1.245 MB / 0.5809 GB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00268/0.7358, allocations: 184.9 kB / 0.581 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004074/0.7363, allocations: 67.42 kB / 0.5811 GB, free: 7.859 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.7363, allocations: 7.953 kB / 0.5811 GB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003678/0.74, allocations: 1.151 MB / 0.5822 GB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.815e-05/0.7401, allocations: 16 kB / 0.5823 GB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.994e-05/0.7402, allocations: 20 kB / 0.5823 GB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002103/0.7423, allocations: 291.9 kB / 0.5826 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005772/0.7429, allocations: 0.6202 MB / 0.5832 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.7448, allocations: 125.1 kB / 0.5833 GB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000319/0.7452, allocations: 74.16 kB / 0.5834 GB, free: 6.016 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001228/0.7464, allocations: 431.1 kB / 0.5838 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005301/0.7469, allocations: 135.8 kB / 0.5839 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004756/0.7517, allocations: 1.442 MB / 0.5853 GB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.847e-05/0.7518, allocations: 8 kB / 0.5853 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.7518, allocations: 0 / 0.5853 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/0.7519, allocations: 3.984 kB / 0.5853 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006457/0.7583, allocations: 2.249 MB / 0.5875 GB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.7584, allocations: 0 / 0.5875 GB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00241/0.7608, allocations: 256.2 kB / 0.5878 GB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.422e-05/0.7609, allocations: 4 kB / 0.5878 GB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001704/0.7611, allocations: 23.98 kB / 0.5878 GB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009359/0.762, allocations: 1.19 MB / 0.5889 GB, free: 1.207 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.7621, allocations: 0 / 0.5889 GB, free: 1.207 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003121/0.7652, allocations: 1.079 MB / 0.59 GB, free: 116 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009634/0.7662, allocations: 274.9 kB / 0.5903 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006098/0.7669, allocations: 20 kB / 0.5903 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001674/0.7686, allocations: 55.91 kB / 0.5903 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/0.7689, allocations: 52.58 kB / 0.5904 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/0.769, allocations: 35.98 kB / 0.5904 GB, free: 15.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002373/0.7714, allocations: 0.8736 MB / 0.5913 GB, free: 14.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7715, allocations: 0 / 0.5913 GB, free: 14.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006722/0.7782, allocations: 1.284 MB / 0.5925 GB, free: 13.51 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008397/0.7866, allocations: 2.598 MB / 0.5951 GB, free: 10.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007204/0.7939, allocations: 1.8 MB / 0.5968 GB, free: 9.152 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/0.794, allocations: 0 / 0.5968 GB, free: 9.152 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003634/0.7976, allocations: 0.666 MB / 0.5975 GB, free: 8.473 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005518/0.8032, allocations: 0.552 MB / 0.598 GB, free: 7.918 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/0.8189, allocations: 13.84 MB / 0.6115 GB, free: 9.738 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/0.8201, allocations: 1.202 MB / 0.6127 GB, free: 8.512 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001517/0.8216, allocations: 0.55 MB / 0.6132 GB, free: 7.961 MB / 426.7 MB Notification: Performance of SimCode: time 1.403e-06/0.8217, allocations: 0 / 0.6132 GB, free: 7.961 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.254/5.076, allocations: 46.47 MB / 0.6586 GB, free: 9.5 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat does not exist to compare? outputFormat=mat