Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_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 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.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_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.0006516/0.0006515, allocations: 88.19 kB / 15.7 MB, free: 460 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.0008348/0.0008348, allocations: 175.2 kB / 16.58 MB, free: 6.84 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.531/1.531, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.3504/0.3505, allocations: 43.55 MB / 314.6 MB, free: 8.812 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.0005083/0.0005084, allocations: 16.2 kB / 384 MB, free: 7.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.128, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.002102/0.1301, allocations: 1.797 MB / 444.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.1325, allocations: 1.74 MB / 446.4 MB, free: 9.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.803e-05/0.1326, allocations: 4 kB / 446.4 MB, free: 9.395 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.1329, allocations: 59.67 kB / 446.5 MB, free: 9.336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.1332, allocations: 139.3 kB / 446.6 MB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008925/0.1341, allocations: 0.495 MB / 447.1 MB, free: 8.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004046/0.1345, allocations: 442.1 kB / 447.6 MB, free: 8.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.777e-05/0.1346, allocations: 36.7 kB / 447.6 MB, free: 8.234 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.1348, allocations: 159.2 kB / 447.8 MB, free: 8.078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.135, allocations: 183.3 kB / 447.9 MB, free: 7.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.135, allocations: 12 kB / 447.9 MB, free: 7.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.1367, allocations: 1.536 MB / 449.5 MB, free: 6.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.1369, allocations: 91.64 kB / 449.6 MB, free: 6.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.101e-05/0.137, allocations: 73.52 kB / 449.6 MB, free: 6.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006428/0.1376, allocations: 0.5303 MB / 450.2 MB, free: 5.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1376, allocations: 0 / 450.2 MB, free: 5.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1376, allocations: 0 / 450.2 MB, free: 5.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1376, allocations: 0 / 450.2 MB, free: 5.648 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0009131/0.1386, allocations: 0.612 MB / 450.8 MB, free: 4.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1386, allocations: 16.03 kB / 450.8 MB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.627e-05/0.1387, allocations: 78.5 kB / 450.9 MB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.005e-05/0.1388, allocations: 43.48 kB / 450.9 MB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.1391, allocations: 262.4 kB / 451.2 MB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.1391, allocations: 24.64 kB / 451.2 MB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.1392, allocations: 31.94 kB / 451.2 MB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007304/0.1399, allocations: 0.5037 MB / 451.7 MB, free: 3.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1399, allocations: 0 / 451.7 MB, free: 3.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.14, allocations: 23.97 kB / 451.8 MB, free: 3.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.84e-05/0.14, allocations: 52.92 kB / 451.8 MB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007702/0.1408, allocations: 0.5348 MB / 452.3 MB, free: 3.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.1424, allocations: 1.301 MB / 453.6 MB, free: 1.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006759/0.1431, allocations: 374.4 kB / 454 MB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.1433, allocations: 128.8 kB / 454.1 MB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.042e-05/0.1434, allocations: 11.98 kB / 454.2 MB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.1434, allocations: 38.64 kB / 454.2 MB, free: 1.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.452e-06/0.1434, allocations: 3.938 kB / 454.2 MB, free: 1.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.0008265/0.1442, allocations: 437.2 kB / 454.6 MB, free: 0.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.1443, allocations: 55.41 kB / 454.7 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.1446, allocations: 302.6 kB / 455 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.1446, allocations: 29.7 kB / 455 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.1448, allocations: 200.1 kB / 455.2 MB, free: 360 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.389e-05/0.1448, allocations: 90.69 kB / 455.3 MB, free: 268 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.586e-05/0.1449, allocations: 4 kB / 455.3 MB, free: 264 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.1983/0.3431, allocations: 337.7 kB / 455.6 MB, free: 47.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/0.3436, allocations: 123.5 kB / 455.7 MB, free: 47.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.3439, allocations: 159.8 kB / 455.9 MB, free: 47.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.3442, allocations: 151 kB / 456 MB, free: 47.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.768e-06/0.3442, allocations: 0 / 456 MB, free: 47.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006964/0.3449, allocations: 383.3 kB / 456.4 MB, free: 47.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.3449, allocations: 5.844 kB / 456.4 MB, free: 47.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3449, allocations: 0 / 456.4 MB, free: 47.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.345, allocations: 7.406 kB / 456.4 MB, free: 47.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000504/0.3455, allocations: 131.6 kB / 456.6 MB, free: 47.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.3465, allocations: 3.009 MB / 459.6 MB, free: 44.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.3468, allocations: 44.11 kB / 459.6 MB, free: 44.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.3468, allocations: 22.73 kB / 459.6 MB, free: 44.13 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001821/0.347, allocations: 172.2 kB / 459.8 MB, free: 44.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.347, allocations: 30.09 kB / 459.8 MB, free: 44.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000814/0.3479, allocations: 472.8 kB / 460.3 MB, free: 43.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3479, allocations: 2.719 kB / 460.3 MB, free: 43.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.3479, allocations: 0 / 460.3 MB, free: 43.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3479, allocations: 3.047 kB / 460.3 MB, free: 43.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.3483, allocations: 372.7 kB / 460.7 MB, free: 43.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3483, allocations: 0.5 kB / 460.7 MB, free: 43.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000427/0.3487, allocations: 118.2 kB / 460.8 MB, free: 43.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.3487, allocations: 2.969 kB / 460.8 MB, free: 43.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.3488, allocations: 13.28 kB / 460.8 MB, free: 43.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008413/0.3496, allocations: 3.014 MB / 463.8 MB, free: 40.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3496, allocations: 4.422 kB / 463.8 MB, free: 40.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005284/0.3502, allocations: 460.5 kB / 464.3 MB, free: 40.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.804e-05/0.3502, allocations: 109.5 kB / 464.4 MB, free: 40.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.3503, allocations: 7.141 kB / 464.4 MB, free: 40.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.3504, allocations: 14.97 kB / 464.4 MB, free: 40.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.464e-05/0.3505, allocations: 23.11 kB / 464.4 MB, free: 40.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.3505, allocations: 18.77 kB / 464.4 MB, free: 40.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001797/0.3507, allocations: 222.5 kB / 464.6 MB, free: 40.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3507, allocations: 0 / 464.6 MB, free: 40.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005697/0.3513, allocations: 192 kB / 464.8 MB, free: 40.48 MB / 382.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 (31): * 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): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001101/0.3524, allocations: 1.102 MB / 465.9 MB, free: 39.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000787/0.3532, allocations: 373.7 kB / 466.3 MB, free: 39.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3532, allocations: 2.5 kB / 466.3 MB, free: 39.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004594/0.3537, allocations: 231.9 kB / 466.5 MB, free: 39.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.3542, allocations: 62 kB / 466.6 MB, free: 39.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.3572, allocations: 2.171 MB / 468.8 MB, free: 39.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.3576, allocations: 0.8386 MB / 469.6 MB, free: 38.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003689/0.358, allocations: 119.8 kB / 469.7 MB, free: 38.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.3582, allocations: 117.3 kB / 469.8 MB, free: 38.33 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3582, allocations: 0 / 469.8 MB, free: 38.33 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.382, allocations: 10.28 MB / 480.1 MB, free: 37.48 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.3822, allocations: 260.2 kB / 480.4 MB, free: 37.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/2.439, allocations: 0 / 480.4 MB, free: 37.12 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat