Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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 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 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 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.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",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.001126/0.001126, allocations: 92.17 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 180.2 kB / 16.59 MB, free: 6.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.4 MB / 222.8 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3086/0.3086, allocations: 43.55 MB / 314.6 MB, free: 8.758 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004898/0.0004899, allocations: 16 kB / 384 MB, free: 7.898 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1008, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001388/0.1022, allocations: 1.163 MB / 444 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.104, allocations: 1.334 MB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.1041, allocations: 0 / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.1042, allocations: 27.78 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.1044, allocations: 31.83 kB / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.1049, allocations: 171.4 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.1051, allocations: 47.73 kB / 445.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.1051, allocations: 7.984 kB / 445.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.268e-05/0.1052, allocations: 23.91 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.98e-05/0.1052, allocations: 27.86 kB / 445.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.1053, allocations: 0 / 445.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000545/0.1058, allocations: 311.6 kB / 446 MB, free: 9.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.1058, allocations: 15.97 kB / 446 MB, free: 9.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.1059, allocations: 41.58 kB / 446.1 MB, free: 9.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.1062, allocations: 183.9 kB / 446.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1062, allocations: 0 / 446.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1062, allocations: 0 / 446.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1062, allocations: 0 / 446.2 MB, free: 9.551 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004702/0.1067, allocations: 399.1 kB / 446.6 MB, free: 9.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1067, allocations: 12.02 kB / 446.6 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.392e-05/0.1068, allocations: 42.52 kB / 446.7 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.253e-05/0.1068, allocations: 7.906 kB / 446.7 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.1069, allocations: 178.9 kB / 446.9 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.107, allocations: 4 kB / 446.9 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.107, allocations: 4 kB / 446.9 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.1071, allocations: 69.66 kB / 446.9 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1071, allocations: 3.906 kB / 447 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.1071, allocations: 0 / 447 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1072, allocations: 3.953 kB / 447 MB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.889e-05/0.1072, allocations: 59.97 kB / 447 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.1074, allocations: 189.6 kB / 447.2 MB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.485e-05/0.1075, allocations: 54.5 kB / 447.3 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.208e-05/0.1076, allocations: 44.83 kB / 447.3 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.246e-05/0.1076, allocations: 16 kB / 447.3 MB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.1077, allocations: 38.73 kB / 447.4 MB, free: 8.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 9.61e-07/0.1077, allocations: 4 kB / 447.4 MB, free: 8.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.01768/0.1254, allocations: 1.689 MB / 449 MB, free: 6.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.1254, allocations: 51.41 kB / 449.1 MB, free: 6.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.1255, allocations: 137.8 kB / 449.2 MB, free: 6.348 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.1256, allocations: 25.7 kB / 449.3 MB, free: 6.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/0.1256, allocations: 92.12 kB / 449.3 MB, free: 6.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.331e-05/0.1257, allocations: 39.45 kB / 449.4 MB, free: 6.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-05/0.1257, allocations: 4 kB / 449.4 MB, free: 6.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.784e-05/0.1258, allocations: 318.8 kB / 449.7 MB, free: 5.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006146/0.1264, allocations: 212 kB / 449.9 MB, free: 5.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006103/0.1271, allocations: 216.2 kB / 450.1 MB, free: 5.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006361/0.1277, allocations: 188.7 kB / 450.3 MB, free: 5.258 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1277, allocations: 0 / 450.3 MB, free: 5.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001377/0.1291, allocations: 483.3 kB / 450.8 MB, free: 4.781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1291, allocations: 8 kB / 450.8 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.1292, allocations: 0 / 450.8 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.1292, allocations: 7.953 kB / 450.8 MB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005276/0.1297, allocations: 75.89 kB / 450.9 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.1297, allocations: 11.94 kB / 450.9 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.1301, allocations: 39.89 kB / 450.9 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.1302, allocations: 15.97 kB / 450.9 MB, free: 4.625 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (data.zeta1_at_a,data.zeta2_at_a,data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.1303, allocations: 121.9 kB / 451 MB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.1304, allocations: 11.81 kB / 451.1 MB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.1318, allocations: 394 kB / 451.4 MB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1318, allocations: 7.953 kB / 451.5 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1318, allocations: 0 / 451.5 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1318, allocations: 0 / 451.5 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/0.1345, allocations: 0.8129 MB / 452.3 MB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.1346, allocations: 3.953 kB / 452.3 MB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00049/0.1351, allocations: 79.98 kB / 452.3 MB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1351, allocations: 0 / 452.3 MB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.1351, allocations: 15.97 kB / 452.4 MB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1351, allocations: 8 kB / 452.4 MB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.1351, allocations: 3.984 kB / 452.4 MB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.1364, allocations: 453.7 kB / 452.8 MB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.312e-05/0.1365, allocations: 116.8 kB / 452.9 MB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.1365, allocations: 8 kB / 452.9 MB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.137, allocations: 43.95 kB / 453 MB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.137, allocations: 8 kB / 453 MB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.137, allocations: 11.97 kB / 453 MB, free: 2.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.06e-05/0.1371, allocations: 99.2 kB / 453.1 MB, free: 2.332 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1371, allocations: 0 / 453.1 MB, free: 2.332 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005499/0.1377, allocations: 172 kB / 453.3 MB, free: 2.164 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002057/0.1397, allocations: 1.137 MB / 454.4 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.141, allocations: 399.7 kB / 454.8 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.141, allocations: 0 / 454.8 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005707/0.1416, allocations: 167.9 kB / 455 MB, free: 444 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.1419, allocations: 15.98 kB / 455 MB, free: 428 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1725/0.3144, allocations: 1.562 MB / 456.5 MB, free: 45.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.3145, allocations: 0.6974 MB / 457.2 MB, free: 45.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002354/0.3148, allocations: 41.42 kB / 457.3 MB, free: 45.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.3149, allocations: 59.27 kB / 457.3 MB, free: 45.22 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3149, allocations: 0 / 457.3 MB, free: 45.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.3328, allocations: 9.546 MB / 466.9 MB, free: 44.68 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/0.333, allocations: 216.4 kB / 467.1 MB, free: 44.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.155, allocations: 3.938 kB / 467.1 MB, free: 44.43 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat