Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.0007853/0.0007853, allocations: 96.7 kB / 15.7 MB, free: 468 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.0008844/0.0008844, allocations: 177.1 kB / 16.58 MB, free: 6.062 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.554/1.554, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.3544/0.3544, allocations: 43.54 MB / 314.6 MB, free: 8.727 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.0006113/0.0006114, allocations: 16 kB / 384 MB, free: 7.898 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1163, allocations: 58.85 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.002173/0.1185, allocations: 1.466 MB / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.1202, allocations: 0.9288 MB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.687e-05/0.1203, allocations: 3.938 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002501/0.1206, allocations: 43.75 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.1208, allocations: 63.66 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.1212, allocations: 87.7 kB / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.1215, allocations: 234.8 kB / 445.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.651e-05/0.1216, allocations: 29.64 kB / 445.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1218, allocations: 79.59 kB / 445.8 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.122, allocations: 103.5 kB / 445.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.122, allocations: 4 kB / 445.9 MB, free: 9.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003665/0.1224, allocations: 187.7 kB / 446.1 MB, free: 9.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.286e-05/0.1225, allocations: 59.73 kB / 446.2 MB, free: 9.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.849e-05/0.1226, allocations: 61.58 kB / 446.2 MB, free: 9.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.1229, allocations: 199.8 kB / 446.4 MB, free: 9.379 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.788e-06/0.1229, allocations: 0 / 446.4 MB, free: 9.379 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1229, allocations: 0 / 446.4 MB, free: 9.379 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.1229, allocations: 0 / 446.4 MB, free: 9.379 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007122/0.1236, allocations: 0.5184 MB / 446.9 MB, free: 8.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.1237, allocations: 8.031 kB / 447 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.213e-05/0.1238, allocations: 58.53 kB / 447 MB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007938/0.1246, allocations: 131.5 kB / 447.1 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.125, allocations: 258.6 kB / 447.4 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.125, allocations: 16.44 kB / 447.4 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/0.125, allocations: 16 kB / 447.4 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007073/0.1258, allocations: 441.8 kB / 447.9 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1258, allocations: 0 / 447.9 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.1258, allocations: 12 kB / 447.9 MB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.715e-05/0.1259, allocations: 24.55 kB / 447.9 MB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007358/0.1266, allocations: 405.8 kB / 448.3 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.1287, allocations: 1.481 MB / 449.8 MB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.129, allocations: 94.5 kB / 449.9 MB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.1292, allocations: 56.81 kB / 449.9 MB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.1292, allocations: 12.14 kB / 449.9 MB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1292, allocations: 30.56 kB / 450 MB, free: 5.598 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.425e-06/0.1292, allocations: 0 / 450 MB, free: 5.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000603/0.1298, allocations: 205.2 kB / 450.2 MB, free: 5.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.1299, allocations: 55.39 kB / 450.2 MB, free: 5.324 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.1303, allocations: 334.5 kB / 450.5 MB, free: 4.984 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1303, allocations: 29.64 kB / 450.6 MB, free: 4.949 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.1304, allocations: 183.1 kB / 450.7 MB, free: 4.766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.1305, allocations: 23.64 kB / 450.8 MB, free: 4.742 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.436e-05/0.1305, allocations: 8 kB / 450.8 MB, free: 4.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1306, allocations: 330.8 kB / 451.1 MB, free: 4.402 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.1308, allocations: 79.88 kB / 451.2 MB, free: 4.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.131, allocations: 125.9 kB / 451.3 MB, free: 4.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.1312, allocations: 91.88 kB / 451.4 MB, free: 4.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1313, allocations: 4 kB / 451.4 MB, free: 4.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005123/0.1318, allocations: 241.2 kB / 451.6 MB, free: 3.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.1318, allocations: 8.188 kB / 451.6 MB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1318, allocations: 4 kB / 451.6 MB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1318, allocations: 4 kB / 451.6 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.1332, allocations: 119.8 kB / 451.8 MB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.1349, allocations: 1.84 MB / 453.6 MB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.1352, allocations: 35.7 kB / 453.6 MB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.1352, allocations: 12.19 kB / 453.6 MB, free: 1.754 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001747/0.1354, allocations: 162.7 kB / 453.8 MB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.989e-05/0.1355, allocations: 27.67 kB / 453.8 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005176/0.136, allocations: 203.2 kB / 454 MB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.136, allocations: 4 kB / 454 MB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.136, allocations: 0 / 454 MB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.1361, allocations: 4 kB / 454 MB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.1364, allocations: 277.4 kB / 454.3 MB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1365, allocations: 8 kB / 454.3 MB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.1375, allocations: 103.8 kB / 454.4 MB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.1375, allocations: 0 / 454.4 MB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.1375, allocations: 7.953 kB / 454.4 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1892/0.3268, allocations: 1.785 MB / 456.2 MB, free: 45.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3268, allocations: 2.781 kB / 456.2 MB, free: 45.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.3272, allocations: 269.5 kB / 456.5 MB, free: 45.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-05/0.3273, allocations: 101.2 kB / 456.6 MB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.3274, allocations: 4.969 kB / 456.6 MB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.3276, allocations: 10.73 kB / 456.6 MB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.3276, allocations: 11.44 kB / 456.6 MB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.3276, allocations: 3.844 kB / 456.6 MB, free: 45.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002291/0.3279, allocations: 246.4 kB / 456.8 MB, free: 45.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3279, allocations: 0 / 456.8 MB, free: 45.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003953/0.3283, allocations: 65.14 kB / 456.9 MB, free: 45.43 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 (11): * 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): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005829/0.3289, allocations: 0.8081 MB / 457.7 MB, free: 44.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001858/0.3307, allocations: 269.1 kB / 458 MB, free: 44.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3308, allocations: 0 / 458 MB, free: 44.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007757/0.3315, allocations: 112.8 kB / 458.1 MB, free: 44.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.3319, allocations: 44.81 kB / 458.1 MB, free: 44.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.3342, allocations: 1.624 MB / 459.8 MB, free: 44.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.3343, allocations: 0.7841 MB / 460.5 MB, free: 43.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000151/0.3345, allocations: 53.89 kB / 460.6 MB, free: 43.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.3346, allocations: 72.23 kB / 460.7 MB, free: 43.52 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3346, allocations: 0 / 460.7 MB, free: 43.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.357, allocations: 7.084 MB / 467.8 MB, free: 42.96 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001659/0.3572, allocations: 265.1 kB / 468 MB, free: 42.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.016/2.374, allocations: 1.75 kB / 468 MB, free: 42.61 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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.General.dp_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat