Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.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.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008226/0.0008226, allocations: 99.25 kB / 17 MB, free: 6.387 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.0008361/0.0008361, allocations: 181 kB / 17.89 MB, free: 5.914 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.428/1.428, allocations: 223.3 MB / 241.9 MB, free: 268 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.2699/0.2699, allocations: 44.22 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003358, allocations: 8 kB / 409.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1337, allocations: 61.92 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002318/0.136, allocations: 1.458 MB / 473.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.1374, allocations: 0.7328 MB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.1375, allocations: 8 kB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.1377, allocations: 31.83 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.138, allocations: 71.64 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.1381, allocations: 55.8 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.1383, allocations: 167.3 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.791e-05/0.1384, allocations: 8 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.1385, allocations: 63.75 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.1387, allocations: 71.8 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.1387, allocations: 4 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.1389, allocations: 67.83 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.968e-05/0.1389, allocations: 23.95 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.139, allocations: 41.64 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.1392, allocations: 96.02 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.1392, allocations: 0 / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1392, allocations: 3.938 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.1392, allocations: 0 / 474.6 MB, free: 10.7 MB / 350.1 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.0005036/0.1397, allocations: 405.2 kB / 475 MB, free: 10.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1398, allocations: 8.031 kB / 475 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.004e-05/0.1398, allocations: 42.55 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003091/0.1401, allocations: 31.88 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.1404, allocations: 179 kB / 475.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.1404, allocations: 12 kB / 475.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.1404, allocations: 19.88 kB / 475.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.1408, allocations: 184.1 kB / 475.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.1408, allocations: 0 / 475.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.1408, allocations: 0 / 475.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.187e-05/0.1409, allocations: 15.98 kB / 475.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.1412, allocations: 143.8 kB / 475.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008193/0.142, allocations: 0.6444 MB / 476.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.1423, allocations: 118.6 kB / 476.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.1425, allocations: 40.83 kB / 476.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.1425, allocations: 11.95 kB / 476.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.1425, allocations: 34.56 kB / 476.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1425, allocations: 0 / 476.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004026/0.1429, allocations: 153.7 kB / 476.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.143, allocations: 51.41 kB / 476.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.841e-05/0.1431, allocations: 128.8 kB / 476.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1431, allocations: 25.7 kB / 476.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.241e-05/0.1432, allocations: 127.8 kB / 476.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.1432, allocations: 31.58 kB / 476.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-06/0.1432, allocations: 3.938 kB / 476.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1434, allocations: 318.8 kB / 477.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.1435, allocations: 43.95 kB / 477.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.1436, allocations: 99.7 kB / 477.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.1438, allocations: 56.27 kB / 477.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1438, allocations: 0 / 477.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003286/0.1441, allocations: 165.5 kB / 477.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1441, allocations: 15.92 kB / 477.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.1441, allocations: 4 kB / 477.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1442, allocations: 4 kB / 477.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.1443, allocations: 39.97 kB / 477.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.1444, allocations: 4 kB / 477.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.1445, allocations: 27.83 kB / 477.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.1445, allocations: 8 kB / 477.7 MB, free: 7.266 MB / 350.1 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.0001034/0.1446, allocations: 130.3 kB / 477.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.1446, allocations: 7.938 kB / 477.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003173/0.145, allocations: 141.9 kB / 478 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.145, allocations: 4 kB / 478 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.145, allocations: 3.984 kB / 478 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.145, allocations: 0 / 478 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.1452, allocations: 193.5 kB / 478.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1452, allocations: 3.984 kB / 478.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.1453, allocations: 31.97 kB / 478.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1453, allocations: 0 / 478.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.1454, allocations: 4 kB / 478.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1454, allocations: 3.953 kB / 478.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1454, allocations: 0 / 478.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.1457, allocations: 219.4 kB / 478.4 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.1457, allocations: 89.03 kB / 478.5 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.1458, allocations: 7.938 kB / 478.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.729e-05/0.1459, allocations: 8 kB / 478.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.1459, allocations: 7.938 kB / 478.5 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.403e-06/0.1459, allocations: 4 kB / 478.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.404e-05/0.146, allocations: 91.27 kB / 478.6 MB, free: 6.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.146, allocations: 0 / 478.6 MB, free: 6.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1463, allocations: 27.91 kB / 478.7 MB, free: 6.207 MB / 350.1 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.0006011/0.1469, allocations: 0.7592 MB / 479.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002838/0.1472, allocations: 112.3 kB / 479.5 MB, free: 5.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1472, allocations: 4 kB / 479.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.1473, allocations: 51.91 kB / 479.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.1476, allocations: 7.953 kB / 479.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.1489, allocations: 0.7517 MB / 480.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.1492, allocations: 0.7083 MB / 481.1 MB, free: 3.684 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.1493, allocations: 29.14 kB / 481.1 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.048e-05/0.1494, allocations: 23.44 kB / 481.1 MB, free: 3.633 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1494, allocations: 0 / 481.1 MB, free: 3.633 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01245/0.1618, allocations: 1.988 MB / 483.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.1621, allocations: 239.3 kB / 483.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.026, allocations: 3.938 kB / 483.3 MB, free: 1.621 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat