Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_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.Valve.dp_severalGeometryOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_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.001307/0.001307, allocations: 185.5 kB / 7.803 MB, free: 2.441 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.453/1.453, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0009285/0.0009284, allocations: 96.53 kB / 261.4 MB, free: 13.6 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.2085/0.2085, allocations: 43.49 MB / 352.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2467/0.4553, allocations: 64.99 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.85, allocations: 58.84 MB / 476.7 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1611/1.011, allocations: 97.81 MB / 0.561 GB, free: 1.078 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003472/1.012, allocations: 102 kB / 0.5611 GB, free: 0.9805 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6536:11-6538:135:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6547:11-6549:131:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6584:11-6586:135:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6595:11-6597:129:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6529:11-6534:62:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6540:11-6545:61:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6552:11-6557:59:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6564:11-6569:59:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6577:11-6582:61:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6588:11-6593:59:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6559:11-6562:78:writable] Error: Type mismatch in binding opening = opening, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6571:11-6573:134:writable] Error: Type mismatch in binding opening = opening, expected subtype of Real[5], got type Real. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.07844/1.09, allocations: 25.18 MB / 0.5857 GB, free: 7.738 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/1.09, allocations: 8 kB / 0.5857 GB, free: 7.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007053/1.091, allocations: 177.8 kB / 0.5859 GB, free: 7.555 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/1.092, allocations: 0.6179 MB / 0.5865 GB, free: 6.895 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/1.092, allocations: 64 kB / 0.5865 GB, free: 6.832 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003787/1.093, allocations: 112 kB / 0.5866 GB, free: 6.723 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005431/1.098, allocations: 3.295 MB / 0.5899 GB, free: 3.422 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004366/1.103, allocations: 2.393 MB / 0.5922 GB, free: 1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.745e-05/1.103, allocations: 0 / 0.5922 GB, free: 1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/1.103, allocations: 0 / 0.5922 GB, free: 1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001612/1.103, allocations: 148.4 kB / 0.5923 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01382/1.117, allocations: 6.521 MB / 0.5987 GB, free: 10.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/1.118, allocations: 0.5964 MB / 0.5993 GB, free: 9.504 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003675/1.118, allocations: 210.7 kB / 0.5995 GB, free: 9.297 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/1.119, allocations: 28.61 kB / 0.5995 GB, free: 9.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/1.119, allocations: 39.22 kB / 0.5996 GB, free: 9.223 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 4.889e-06/1.119, allocations: 0 / 0.5996 GB, free: 9.223 MB / 442.7 MB Notification: Performance of matching and sorting (n=63): time 0.001544/1.12, allocations: 0.6275 MB / 0.6002 GB, free: 8.586 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/1.12, allocations: 64 kB / 0.6002 GB, free: 8.512 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/1.122, allocations: 1.197 MB / 0.6014 GB, free: 7.305 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.621e-05/1.122, allocations: 25.7 kB / 0.6014 GB, free: 7.273 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009708/1.123, allocations: 1.264 MB / 0.6027 GB, free: 5.984 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/1.123, allocations: 268.7 kB / 0.6029 GB, free: 5.719 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.977e-05/1.124, allocations: 0 / 0.6029 GB, free: 5.719 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000307/1.124, allocations: 449.2 kB / 0.6033 GB, free: 5.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009444/1.125, allocations: 0.5839 MB / 0.6039 GB, free: 4.676 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002482/1.127, allocations: 2.626 MB / 0.6065 GB, free: 1.012 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/1.129, allocations: 1.209 MB / 0.6077 GB, free: 15.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.528e-05/1.129, allocations: 20 kB / 0.6077 GB, free: 15.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.005326/1.134, allocations: 2.706 MB / 0.6103 GB, free: 13.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/1.134, allocations: 4 kB / 0.6103 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.239e-05/1.134, allocations: 76.88 kB / 0.6104 GB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001193/1.135, allocations: 111.9 kB / 0.6105 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002784/1.137, allocations: 0.8696 MB / 0.6114 GB, free: 12.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003733/1.141, allocations: 6.102 MB / 0.6173 GB, free: 5.676 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002569/1.144, allocations: 348.1 kB / 0.6176 GB, free: 5.332 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002821/1.144, allocations: 224 kB / 0.6179 GB, free: 5.113 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 337 * Number of states: 0 () * Number of discrete variables: 35 (dp_IN_con_3[5].valveCoefficient,geometry[5],dp_IN_con_3[4].valveCoefficient,geometry[4],dp_IN_con_3[3].valveCoefficient,geometry[3],dp_IN_con_3[2].valveCoefficient,geometry[2],dp_IN_con_3[1].valveCoefficient,geometry[1],m_flow_IN_con_3[5].valveCoefficient,m_flow_IN_con_3[4].valveCoefficient,m_flow_IN_con_3[3].valveCoefficient,m_flow_IN_con_3[2].valveCoefficient,m_flow_IN_con_3[1].valveCoefficient,dp_IN_con_2[5].valveCoefficient,dp_IN_con_2[4].valveCoefficient,dp_IN_con_2[3].valveCoefficient,dp_IN_con_2[2].valveCoefficient,dp_IN_con_2[1].valveCoefficient,m_flow_IN_con_2[5].valveCoefficient,m_flow_IN_con_2[4].valveCoefficient,m_flow_IN_con_2[3].valveCoefficient,m_flow_IN_con_2[2].valveCoefficient,m_flow_IN_con_2[1].valveCoefficient,dp_IN_con_1[5].valveCoefficient,dp_IN_con_1[4].valveCoefficient,dp_IN_con_1[3].valveCoefficient,dp_IN_con_1[2].valveCoefficient,dp_IN_con_1[1].valveCoefficient,m_flow_IN_con_1[5].valveCoefficient,m_flow_IN_con_1[4].valveCoefficient,m_flow_IN_con_1[3].valveCoefficient,m_flow_IN_con_1[2].valveCoefficient,m_flow_IN_con_1[1].valveCoefficient) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (397): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004448/1.144, allocations: 289.8 kB / 0.6181 GB, free: 4.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/1.145, allocations: 126.4 kB / 0.6183 GB, free: 4.695 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003974/1.149, allocations: 1.451 MB / 0.6197 GB, free: 3.234 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/1.149, allocations: 8 kB / 0.6197 GB, free: 3.227 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.149, allocations: 4 kB / 0.6197 GB, free: 3.223 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/1.149, allocations: 3.984 kB / 0.6197 GB, free: 3.219 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/1.15, allocations: 0.7786 MB / 0.6204 GB, free: 2.402 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/1.15, allocations: 0 / 0.6204 GB, free: 2.402 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/1.152, allocations: 319.7 kB / 0.6208 GB, free: 2.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.36e-05/1.152, allocations: 4 kB / 0.6208 GB, free: 2.086 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.264e-05/1.152, allocations: 23.98 kB / 0.6208 GB, free: 2.062 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004047/1.156, allocations: 5.954 MB / 0.6266 GB, free: 11.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.373e-06/1.156, allocations: 4.312 kB / 0.6266 GB, free: 11.87 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001234/1.157, allocations: 0.779 MB / 0.6274 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001323/1.158, allocations: 1.17 MB / 0.6285 GB, free: 9.887 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005188/1.159, allocations: 295.2 kB / 0.6288 GB, free: 9.578 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/1.159, allocations: 0 / 0.6288 GB, free: 9.578 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004281/1.159, allocations: 35.97 kB / 0.6288 GB, free: 9.543 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/1.16, allocations: 56.58 kB / 0.6289 GB, free: 9.488 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.899e-05/1.16, allocations: 39.98 kB / 0.6289 GB, free: 9.449 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001026/1.161, allocations: 0.7379 MB / 0.6296 GB, free: 8.707 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003148/1.164, allocations: 443 kB / 0.6301 GB, free: 8.273 MB / 474.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 (74): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006303/1.165, allocations: 296.8 kB / 0.6303 GB, free: 7.973 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003669/1.168, allocations: 1.69 MB / 0.632 GB, free: 6.297 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.168, allocations: 0 / 0.632 GB, free: 6.297 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/1.169, allocations: 470.3 kB / 0.6324 GB, free: 5.836 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/1.17, allocations: 79.53 kB / 0.6325 GB, free: 5.762 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/1.174, allocations: 2.01 MB / 0.6345 GB, free: 3.707 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/1.175, allocations: 1.658 MB / 0.6361 GB, free: 2.02 MB / 474.7 MB Notification: Performance of SimCode: time 1.072e-06/1.175, allocations: 0 / 0.6361 GB, free: 2.02 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat