Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.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.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",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.002553/0.00256, allocations: 186.2 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.289/2.289, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001675/0.001675, allocations: 98.86 kB / 270.9 MB, free: 13.28 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.3034/0.3034, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004851/0.0004854, allocations: 12 kB / 431.5 MB, free: 20.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1363, allocations: 58.85 MB / 490.3 MB, free: 9.215 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002927/0.1392, allocations: 1.451 MB / 491.8 MB, free: 7.742 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.1413, allocations: 0.7417 MB / 492.5 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.1415, allocations: 3.938 kB / 492.5 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.1418, allocations: 35.83 kB / 492.6 MB, free: 6.957 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.1421, allocations: 51.83 kB / 492.6 MB, free: 6.906 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.1425, allocations: 51.86 kB / 492.7 MB, free: 6.855 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.1427, allocations: 79.81 kB / 492.8 MB, free: 6.777 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.1428, allocations: 19.92 kB / 492.8 MB, free: 6.758 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.143, allocations: 43.84 kB / 492.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.1432, allocations: 55.81 kB / 492.9 MB, free: 6.66 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.1432, allocations: 4 kB / 492.9 MB, free: 6.656 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002924/0.1435, allocations: 71.94 kB / 492.9 MB, free: 6.586 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.766e-05/0.1436, allocations: 23.91 kB / 493 MB, free: 6.562 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.669e-05/0.1437, allocations: 41.64 kB / 493 MB, free: 6.516 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.144, allocations: 88.08 kB / 493.1 MB, free: 6.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.144, allocations: 0 / 493.1 MB, free: 6.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.144, allocations: 0 / 493.1 MB, free: 6.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.144, allocations: 4 kB / 493.1 MB, free: 6.426 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007868/0.1448, allocations: 399 kB / 493.5 MB, free: 5.988 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.966e-05/0.1449, allocations: 8.031 kB / 493.5 MB, free: 5.98 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.435e-05/0.145, allocations: 46.53 kB / 493.5 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004655/0.1455, allocations: 39.73 kB / 493.6 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.1458, allocations: 190.9 kB / 493.8 MB, free: 5.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.1458, allocations: 12 kB / 493.8 MB, free: 5.648 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.1458, allocations: 8 kB / 493.8 MB, free: 5.641 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005908/0.1464, allocations: 184 kB / 494 MB, free: 5.445 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1465, allocations: 4 kB / 494 MB, free: 5.441 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.1465, allocations: 3.984 kB / 494 MB, free: 5.438 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.096e-05/0.1466, allocations: 19.98 kB / 494 MB, free: 5.418 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005638/0.1471, allocations: 135.9 kB / 494.1 MB, free: 5.285 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.1485, allocations: 0.6482 MB / 494.8 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005823/0.1491, allocations: 118.7 kB / 494.9 MB, free: 4.441 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.1492, allocations: 0 / 494.9 MB, free: 4.441 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.1492, allocations: 34.56 kB / 494.9 MB, free: 4.398 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/0.1492, allocations: 4 kB / 494.9 MB, free: 4.395 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007441/0.15, allocations: 149.5 kB / 495.1 MB, free: 4.242 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.1501, allocations: 55.41 kB / 495.1 MB, free: 4.176 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.1502, allocations: 126.1 kB / 495.3 MB, free: 4.043 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.1503, allocations: 29.7 kB / 495.3 MB, free: 4.008 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.1504, allocations: 198.4 kB / 495.5 MB, free: 3.812 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.1505, allocations: 23.64 kB / 495.5 MB, free: 3.789 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/0.1505, allocations: 4 kB / 495.5 MB, free: 3.785 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1506, allocations: 318.8 kB / 495.8 MB, free: 3.465 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.1509, allocations: 39.97 kB / 495.9 MB, free: 3.426 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.1511, allocations: 103.3 kB / 496 MB, free: 3.301 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.1514, allocations: 55.91 kB / 496 MB, free: 3.246 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1514, allocations: 0 / 496 MB, free: 3.246 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005917/0.152, allocations: 165.4 kB / 496.2 MB, free: 3.078 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.1521, allocations: 11.44 kB / 496.2 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1521, allocations: 0 / 496.2 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.1521, allocations: 8.25 kB / 496.2 MB, free: 3.062 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.1525, allocations: 43.91 kB / 496.2 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.1525, allocations: 4 kB / 496.2 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.1527, allocations: 23.83 kB / 496.3 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.1527, allocations: 11.94 kB / 496.3 MB, free: 2.98 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 0.0001578/0.1529, allocations: 133.3 kB / 496.4 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.492e-05/0.153, allocations: 15.89 kB / 496.4 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005577/0.1535, allocations: 130 kB / 496.5 MB, free: 2.691 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1536, allocations: 0 / 496.5 MB, free: 2.691 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1536, allocations: 3.938 kB / 496.5 MB, free: 2.688 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1536, allocations: 4 kB / 496.5 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/0.1539, allocations: 201.6 kB / 496.7 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.154, allocations: 0 / 496.7 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.1542, allocations: 31.98 kB / 496.8 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.1542, allocations: 0 / 496.8 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.1543, allocations: 0 / 496.8 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-05/0.1543, allocations: 7.984 kB / 496.8 MB, free: 2.398 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1543, allocations: 3.938 kB / 496.8 MB, free: 2.395 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005336/0.1548, allocations: 219.3 kB / 497 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.1549, allocations: 88.95 kB / 497.1 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.155, allocations: 4 kB / 497.1 MB, free: 2.055 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.1552, allocations: 15.98 kB / 497.1 MB, free: 2.039 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.1552, allocations: 7.984 kB / 497.1 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.1552, allocations: 0 / 497.1 MB, free: 2.031 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.706e-05/0.1553, allocations: 91.27 kB / 497.2 MB, free: 1.941 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1554, allocations: 0 / 497.2 MB, free: 1.941 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004025/0.1558, allocations: 24 kB / 497.2 MB, free: 1.918 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0009713/0.1567, allocations: 0.7635 MB / 498 MB, free: 1.129 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005525/0.1573, allocations: 107.9 kB / 498.1 MB, free: 1.023 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.1574, allocations: 0 / 498.1 MB, free: 1.023 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.1576, allocations: 60.39 kB / 498.2 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.1578, allocations: 3.938 kB / 498.2 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.1605, allocations: 1.988 MB / 0.4884 GB, free: 14.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.161, allocations: 0.716 MB / 0.4891 GB, free: 14.14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.1612, allocations: 31.42 kB / 0.4892 GB, free: 14.11 MB / 346.7 MB Notification: Performance of SimCode: time 1.372e-06/0.1612, allocations: 0 / 0.4892 GB, free: 14.11 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.606/2.767, allocations: 1.737 MB / 0.4909 GB, free: 12.38 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat