Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_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.00155/0.001555, allocations: 182.1 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.982/1.982, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001161/0.00116, allocations: 95.39 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5997/0.5997, allocations: 43.54 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000453/0.0004534, allocations: 8 kB / 431.5 MB, free: 5.793 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1335, allocations: 58.84 MB / 490.3 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002665/0.1363, allocations: 1.481 MB / 491.8 MB, free: 9.371 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.1389, allocations: 1.214 MB / 493 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.595e-05/0.1391, allocations: 7.938 kB / 493 MB, free: 8.141 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.1395, allocations: 55.72 kB / 493.1 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.1398, allocations: 67.81 kB / 493.2 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007694/0.1406, allocations: 187.5 kB / 493.3 MB, free: 7.836 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005172/0.1411, allocations: 287.3 kB / 493.6 MB, free: 7.555 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.1413, allocations: 48.72 kB / 493.7 MB, free: 7.508 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.1416, allocations: 131.4 kB / 493.8 MB, free: 7.379 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002914/0.1419, allocations: 155.3 kB / 494 MB, free: 7.227 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.74e-05/0.1419, allocations: 8 kB / 494 MB, free: 7.219 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.1431, allocations: 451.3 kB / 494.4 MB, free: 6.777 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002305/0.1433, allocations: 123.5 kB / 494.5 MB, free: 6.656 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.1435, allocations: 89.45 kB / 494.6 MB, free: 6.562 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008268/0.1443, allocations: 403.4 kB / 495 MB, free: 6.168 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1443, allocations: 4 kB / 495 MB, free: 6.164 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.751e-06/0.1444, allocations: 0 / 495 MB, free: 6.164 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1444, allocations: 3.938 kB / 495 MB, free: 6.16 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001552/0.1459, allocations: 0.7094 MB / 495.7 MB, free: 5.398 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.146, allocations: 8.031 kB / 495.7 MB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001559/0.1462, allocations: 102.5 kB / 495.8 MB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.1463, allocations: 51.34 kB / 495.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005889/0.1469, allocations: 310.3 kB / 496.2 MB, free: 4.887 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/0.147, allocations: 29 kB / 496.2 MB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.1471, allocations: 40 kB / 496.2 MB, free: 4.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.1489, allocations: 0.6992 MB / 496.9 MB, free: 4.113 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.1489, allocations: 7.984 kB / 497 MB, free: 4.105 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.284e-05/0.149, allocations: 23.94 kB / 497 MB, free: 4.082 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/0.1492, allocations: 61.28 kB / 497 MB, free: 4.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.151, allocations: 0.7234 MB / 497.8 MB, free: 3.297 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004641/0.1557, allocations: 1.727 MB / 499.5 MB, free: 1.445 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.1568, allocations: 366.7 kB / 499.8 MB, free: 1.082 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.391e-05/0.1569, allocations: 12.2 kB / 499.9 MB, free: 1.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.157, allocations: 34.8 kB / 499.9 MB, free: 1.027 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 5.44e-06/0.157, allocations: 3.938 kB / 499.9 MB, free: 1.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.001808/0.1588, allocations: 0.4966 MB / 0.4887 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.1589, allocations: 59.41 kB / 0.4887 GB, free: 464 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008717/0.1598, allocations: 445.6 kB / 0.4891 GB, free: 8 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.3235/0.4833, allocations: 30.89 kB / 0.4892 GB, free: 43.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000316/0.4837, allocations: 305.3 kB / 0.4895 GB, free: 43.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.4839, allocations: 98.58 kB / 0.4896 GB, free: 43.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.4839, allocations: 7.625 kB / 0.4896 GB, free: 43.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.4841, allocations: 325.4 kB / 0.4899 GB, free: 42.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008083/0.4849, allocations: 144.8 kB / 0.49 GB, free: 42.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008972/0.4858, allocations: 261.5 kB / 0.4903 GB, free: 42.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009568/0.4868, allocations: 185.3 kB / 0.4904 GB, free: 42.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.4868, allocations: 1.156 kB / 0.4904 GB, free: 42.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00231/0.4892, allocations: 465.4 kB / 0.4909 GB, free: 42.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/0.4893, allocations: 9.25 kB / 0.4909 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.4893, allocations: 4 kB / 0.4909 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.634e-05/0.4894, allocations: 5.281 kB / 0.4909 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00205/0.4914, allocations: 162.3 kB / 0.4911 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/0.4942, allocations: 3.61 MB / 0.4946 GB, free: 39.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008196/0.4951, allocations: 59.06 kB / 0.4946 GB, free: 39.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.4952, allocations: 25 kB / 0.4947 GB, free: 39.19 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006093/0.4959, allocations: 218.8 kB / 0.4949 GB, free: 39.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.4961, allocations: 37.53 kB / 0.4949 GB, free: 39.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003097/0.4992, allocations: 0.5529 MB / 0.4955 GB, free: 38.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.4992, allocations: 3.812 kB / 0.4955 GB, free: 38.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.4993, allocations: 0 / 0.4955 GB, free: 38.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.4993, allocations: 3.422 kB / 0.4955 GB, free: 38.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.5009, allocations: 461.9 kB / 0.4959 GB, free: 38.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.589e-06/0.501, allocations: 4.703 kB / 0.4959 GB, free: 38.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001829/0.5029, allocations: 139.6 kB / 0.496 GB, free: 38.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/0.5029, allocations: 1.125 kB / 0.496 GB, free: 38.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.67e-05/0.503, allocations: 13.05 kB / 0.496 GB, free: 38.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002654/0.5057, allocations: 3.601 MB / 0.4996 GB, free: 35.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.5058, allocations: 1.219 kB / 0.4996 GB, free: 35.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002959/0.5087, allocations: 0.6771 MB / 0.5002 GB, free: 35.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005163/0.5093, allocations: 174.2 kB / 0.5004 GB, free: 34.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.5095, allocations: 5.297 kB / 0.5004 GB, free: 34.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006267/0.5101, allocations: 16.77 kB / 0.5004 GB, free: 34.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.5103, allocations: 30.94 kB / 0.5004 GB, free: 34.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.727e-05/0.5104, allocations: 18.41 kB / 0.5005 GB, free: 34.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009553/0.5114, allocations: 342.4 kB / 0.5008 GB, free: 34.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.5115, allocations: 0 / 0.5008 GB, free: 34.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00152/0.513, allocations: 167.7 kB / 0.5009 GB, free: 34.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003901/0.517, allocations: 1.292 MB / 0.5022 GB, free: 34.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003291/0.5203, allocations: 445.1 kB / 0.5026 GB, free: 34.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/0.5204, allocations: 3.375 kB / 0.5026 GB, free: 34.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002133/0.5226, allocations: 259.9 kB / 0.5029 GB, free: 34.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.5237, allocations: 26.72 kB / 0.5029 GB, free: 34.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.535, allocations: 5.296 MB / 0.5081 GB, free: 30.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007401/0.5358, allocations: 0.9135 MB / 0.509 GB, free: 30.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006186/0.5365, allocations: 170.9 kB / 0.5091 GB, free: 30.08 MB / 378.7 MB Notification: Performance of SimCode: time 1.954e-06/0.5365, allocations: 2.953 kB / 0.5091 GB, free: 30.08 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.265/3.801, allocations: 19.2 MB / 0.5279 GB, free: 27.06 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat