Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.002457/0.002456, allocations: 181.1 kB / 13.66 MB, free: 1.664 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.476/2.476, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001161, allocations: 86.66 kB / 267.5 MB, free: 14.04 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.3278/0.3278, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.593e-05/3.611e-05, allocations: 7.938 kB / 425.4 MB, free: 23.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1204, allocations: 58.85 MB / 484.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5419/0.6623, allocations: 90.03 MB / 0.5608 GB, free: 13.06 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004807/0.6629, allocations: 98.72 kB / 0.5609 GB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03884/0.7018, allocations: 5.842 MB / 0.5666 GB, free: 7.918 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.7018, allocations: 0 / 0.5666 GB, free: 7.918 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.7019, allocations: 4 kB / 0.5666 GB, free: 7.914 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001214/0.7031, allocations: 0.4921 MB / 0.5671 GB, free: 7.395 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.687e-05/0.7032, allocations: 8.031 kB / 0.5671 GB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001331/0.7033, allocations: 69.59 kB / 0.5672 GB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002488/0.7059, allocations: 165.9 kB / 0.5673 GB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007635/0.7067, allocations: 254.8 kB / 0.5676 GB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/0.7067, allocations: 14.75 kB / 0.5676 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.564e-05/0.7069, allocations: 27.38 kB / 0.5676 GB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.7082, allocations: 414.4 kB / 0.568 GB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.7082, allocations: 3.938 kB / 0.568 GB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.931e-05/0.7083, allocations: 14.44 kB / 0.568 GB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.974e-05/0.7084, allocations: 24.05 kB / 0.5681 GB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.7097, allocations: 343.3 kB / 0.5684 GB, free: 6.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00438/0.7141, allocations: 1.71 MB / 0.5701 GB, free: 4.508 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/0.7146, allocations: 82.67 kB / 0.5701 GB, free: 4.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.7148, allocations: 38.66 kB / 0.5702 GB, free: 4.395 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.445e-05/0.7149, allocations: 12.14 kB / 0.5702 GB, free: 4.383 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.715, allocations: 34.55 kB / 0.5702 GB, free: 4.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.467e-06/0.715, allocations: 0 / 0.5702 GB, free: 4.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006681/0.7157, allocations: 118 kB / 0.5703 GB, free: 4.227 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.7157, allocations: 51.41 kB / 0.5704 GB, free: 4.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006927/0.7164, allocations: 297.2 kB / 0.5707 GB, free: 3.922 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.7165, allocations: 29.7 kB / 0.5707 GB, free: 3.887 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.7167, allocations: 234.9 kB / 0.5709 GB, free: 3.684 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.468e-05/0.7168, allocations: 31.39 kB / 0.5709 GB, free: 3.656 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.073e-05/0.7168, allocations: 3.688 kB / 0.571 GB, free: 3.656 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.717, allocations: 318.8 kB / 0.5713 GB, free: 3.336 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.7172, allocations: 54.97 kB / 0.5713 GB, free: 3.293 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.7175, allocations: 104.6 kB / 0.5714 GB, free: 3.184 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.7177, allocations: 79.81 kB / 0.5715 GB, free: 3.117 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.7177, allocations: 0 / 0.5715 GB, free: 3.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006309/0.7184, allocations: 202.3 kB / 0.5717 GB, free: 2.941 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.7184, allocations: 4.188 kB / 0.5717 GB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.7184, allocations: 7.984 kB / 0.5717 GB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.7185, allocations: 7.984 kB / 0.5717 GB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00273/0.7212, allocations: 126.6 kB / 0.5718 GB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/0.7238, allocations: 1.841 MB / 0.5736 GB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005049/0.7244, allocations: 39.61 kB / 0.5737 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.7244, allocations: 11.81 kB / 0.5737 GB, free: 0.8711 MB / 378.7 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 () * 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.0001344/0.7246, allocations: 112.7 kB / 0.5738 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.89e-05/0.7247, allocations: 19.8 kB / 0.5738 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006483/0.7253, allocations: 183.3 kB / 0.574 GB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.7254, allocations: 0 / 0.574 GB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.7254, allocations: 0 / 0.574 GB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.7254, allocations: 3.953 kB / 0.574 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.7259, allocations: 278 kB / 0.5742 GB, free: 292 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.7259, allocations: 0 / 0.5742 GB, free: 292 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002176/0.7281, allocations: 103.4 kB / 0.5743 GB, free: 192 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.7282, allocations: 0 / 0.5743 GB, free: 192 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.7282, allocations: 0 / 0.5743 GB, free: 192 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.7301, allocations: 1.79 MB / 0.5761 GB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.7302, allocations: 288 / 0.5761 GB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005229/0.7307, allocations: 240.3 kB / 0.5763 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.7309, allocations: 104.8 kB / 0.5764 GB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.895e-05/0.7309, allocations: 0 / 0.5764 GB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.7313, allocations: 11.44 kB / 0.5764 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/0.7314, allocations: 7.984 kB / 0.5764 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.7314, allocations: 4 kB / 0.5764 GB, free: 13.97 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004153/0.7319, allocations: 244.3 kB / 0.5767 GB, free: 13.78 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7319, allocations: 3.938 kB / 0.5767 GB, free: 13.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004977/0.7324, allocations: 67.53 kB / 0.5767 GB, free: 13.71 MB / 394.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 () * 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.001066/0.7335, allocations: 0.802 MB / 0.5775 GB, free: 12.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002497/0.736, allocations: 186 kB / 0.5777 GB, free: 12.74 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.7361, allocations: 0 / 0.5777 GB, free: 12.74 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.7376, allocations: 101.6 kB / 0.5778 GB, free: 12.65 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/0.7381, allocations: 48.25 kB / 0.5778 GB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.7397, allocations: 433.1 kB / 0.5783 GB, free: 12.17 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.7402, allocations: 0.7863 MB / 0.579 GB, free: 11.37 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.7405, allocations: 73.31 kB / 0.5791 GB, free: 11.34 MB / 394.7 MB Notification: Performance of SimCode: time 1.232e-06/0.7405, allocations: 4 kB / 0.5791 GB, free: 11.34 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.851/3.591, allocations: 7.617 MB / 0.5865 GB, free: 3.746 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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.General.dp_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat