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_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001371/0.00137, allocations: 185.7 kB / 7.8 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.0008645/0.0008647, allocations: 89.31 kB / 261.4 MB, free: 13.56 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.2269/0.2269, allocations: 43.5 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2475/0.4744, allocations: 64.99 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.8477, allocations: 58.84 MB / 476.7 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.146/0.9937, allocations: 92.1 MB / 0.5554 GB, free: 6.812 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004129/0.9942, allocations: 98.05 kB / 0.5555 GB, free: 6.719 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5367:11-5379:61:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5381:11-5382:129:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5385:11-5397:67:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5399:11-5400:123:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.02646/1.021, allocations: 9.131 MB / 0.5645 GB, free: 13.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/1.021, allocations: 11.98 kB / 0.5645 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.979e-05/1.021, allocations: 31.62 kB / 0.5645 GB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/1.021, allocations: 238.6 kB / 0.5647 GB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/1.021, allocations: 12 kB / 0.5647 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/1.021, allocations: 16 kB / 0.5647 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005808/1.022, allocations: 397.3 kB / 0.5651 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006012/1.023, allocations: 413.3 kB / 0.5655 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/1.023, allocations: 4 kB / 0.5655 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/1.023, allocations: 0 / 0.5655 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.991e-05/1.023, allocations: 20.77 kB / 0.5655 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/1.024, allocations: 1.132 MB / 0.5667 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/1.025, allocations: 62.55 kB / 0.5667 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.341e-05/1.025, allocations: 32.86 kB / 0.5667 GB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.327e-05/1.025, allocations: 12.12 kB / 0.5668 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/1.025, allocations: 30.56 kB / 0.5668 GB, free: 10.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.905e-06/1.025, allocations: 0 / 0.5668 GB, free: 10.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002898/1.025, allocations: 93.52 kB / 0.5669 GB, free: 10.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/1.025, allocations: 55.31 kB / 0.5669 GB, free: 10.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/1.025, allocations: 149.3 kB / 0.5671 GB, free: 10.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/1.025, allocations: 25.7 kB / 0.5671 GB, free: 10.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/1.025, allocations: 219.4 kB / 0.5673 GB, free: 10.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/1.025, allocations: 31.55 kB / 0.5673 GB, free: 10.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-06/1.025, allocations: 0 / 0.5673 GB, free: 10.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/1.026, allocations: 318.8 kB / 0.5676 GB, free: 9.941 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.783e-05/1.026, allocations: 43.91 kB / 0.5677 GB, free: 9.898 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/1.026, allocations: 154.4 kB / 0.5678 GB, free: 9.695 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/1.026, allocations: 72.3 kB / 0.5679 GB, free: 9.625 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/1.026, allocations: 11.98 kB / 0.5679 GB, free: 9.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003314/1.026, allocations: 185.2 kB / 0.5681 GB, free: 9.426 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.026, allocations: 4.562 kB / 0.5681 GB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/1.026, allocations: 4 kB / 0.5681 GB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/1.026, allocations: 12 kB / 0.5681 GB, free: 9.406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/1.027, allocations: 87.88 kB / 0.5682 GB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/1.028, allocations: 1.797 MB / 0.5699 GB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/1.028, allocations: 31.86 kB / 0.57 GB, free: 7.422 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/1.029, allocations: 20 kB / 0.57 GB, free: 7.402 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0001224/1.029, allocations: 114.3 kB / 0.5701 GB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/1.029, allocations: 7.906 kB / 0.5701 GB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006423/1.029, allocations: 225.4 kB / 0.5703 GB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/1.029, allocations: 4 kB / 0.5703 GB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.029, allocations: 0 / 0.5703 GB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.029, allocations: 0 / 0.5703 GB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/1.03, allocations: 226.2 kB / 0.5705 GB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.03, allocations: 0 / 0.5705 GB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/1.03, allocations: 67.94 kB / 0.5706 GB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/1.03, allocations: 3.906 kB / 0.5706 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/1.03, allocations: 4 kB / 0.5706 GB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/1.031, allocations: 1.793 MB / 0.5724 GB, free: 4.852 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/1.031, allocations: 0 / 0.5724 GB, free: 4.852 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002097/1.031, allocations: 191.3 kB / 0.5725 GB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003268/1.032, allocations: 0.5622 MB / 0.5731 GB, free: 4.066 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/1.032, allocations: 97.03 kB / 0.5732 GB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/1.032, allocations: 0 / 0.5732 GB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/1.032, allocations: 4 kB / 0.5732 GB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/1.032, allocations: 15.98 kB / 0.5732 GB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/1.032, allocations: 4 kB / 0.5732 GB, free: 3.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.199e-05/1.032, allocations: 111.2 kB / 0.5733 GB, free: 3.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001163/1.033, allocations: 103.5 kB / 0.5734 GB, free: 3.719 MB / 410.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 (7): * Single equations (assignments): 4 * 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.0003812/1.034, allocations: 175.4 kB / 0.5736 GB, free: 3.535 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004753/1.034, allocations: 160 kB / 0.5737 GB, free: 3.379 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/1.034, allocations: 0 / 0.5737 GB, free: 3.379 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002824/1.035, allocations: 75.94 kB / 0.5738 GB, free: 3.305 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/1.035, allocations: 14.17 kB / 0.5738 GB, free: 3.293 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007827/1.036, allocations: 300 kB / 0.5741 GB, free: 2.977 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005348/1.036, allocations: 0.825 MB / 0.5749 GB, free: 2.125 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/1.036, allocations: 0 / 0.5749 GB, free: 2.125 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat