Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.000966/0.000966, allocations: 174.8 kB / 8.518 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.163/1.163, allocations: 221.4 MB / 230.3 MB, free: 7.625 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009257/0.0009257, allocations: 84.67 kB / 281.2 MB, free: 5.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1557/0.1557, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1803/0.336, allocations: 68.05 MB / 444.2 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.4395, allocations: 61.91 MB / 0.4942 GB, free: 1.496 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2684/0.7079, allocations: 98.92 MB / 0.5908 GB, free: 13.75 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.7082, allocations: 99.77 kB / 0.5909 GB, free: 13.65 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:6452:11-6454: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 4.0.0+maint.om/Fluid/Dissipation.mo:6463:11-6465: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 4.0.0+maint.om/Fluid/Dissipation.mo:6500:11-6502: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 4.0.0+maint.om/Fluid/Dissipation.mo:6511:11-6513: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 4.0.0+maint.om/Fluid/Dissipation.mo:6445:11-6450: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 4.0.0+maint.om/Fluid/Dissipation.mo:6456:11-6461: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 4.0.0+maint.om/Fluid/Dissipation.mo:6468:11-6473: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 4.0.0+maint.om/Fluid/Dissipation.mo:6480:11-6485: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 4.0.0+maint.om/Fluid/Dissipation.mo:6493:11-6498: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 4.0.0+maint.om/Fluid/Dissipation.mo:6504:11-6509: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 4.0.0+maint.om/Fluid/Dissipation.mo:6475:11-6478: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 4.0.0+maint.om/Fluid/Dissipation.mo:6487:11-6489: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.07156/0.7798, allocations: 25.56 MB / 0.6159 GB, free: 4.031 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.7798, allocations: 11.94 kB / 0.6159 GB, free: 4.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003798/0.7802, allocations: 177.8 kB / 0.616 GB, free: 3.844 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.7813, allocations: 0.6257 MB / 0.6167 GB, free: 3.176 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.451e-05/0.7814, allocations: 64 kB / 0.6167 GB, free: 3.113 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/0.7816, allocations: 108 kB / 0.6168 GB, free: 3.008 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004139/0.7858, allocations: 3.276 MB / 0.62 GB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003517/0.7893, allocations: 2.401 MB / 0.6224 GB, free: 13.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/0.7893, allocations: 0 / 0.6224 GB, free: 13.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.7895, allocations: 0 / 0.6224 GB, free: 13.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001426/0.7896, allocations: 156.4 kB / 0.6225 GB, free: 13.14 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/0.8005, allocations: 6.525 MB / 0.6289 GB, free: 6.395 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008579/0.8014, allocations: 0.5965 MB / 0.6295 GB, free: 5.781 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.8017, allocations: 214.7 kB / 0.6297 GB, free: 5.57 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.43e-05/0.8018, allocations: 28.61 kB / 0.6297 GB, free: 5.543 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.8018, allocations: 35.22 kB / 0.6297 GB, free: 5.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 4.98e-06/0.8018, allocations: 4.281 kB / 0.6297 GB, free: 5.496 MB / 442.7 MB Notification: Performance of matching and sorting (n=63): time 0.001073/0.8029, allocations: 0.631 MB / 0.6304 GB, free: 4.855 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.803, allocations: 60.06 kB / 0.6304 GB, free: 4.785 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.8042, allocations: 1.197 MB / 0.6316 GB, free: 3.578 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.8043, allocations: 25.7 kB / 0.6316 GB, free: 3.547 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007214/0.805, allocations: 1.268 MB / 0.6328 GB, free: 2.254 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.8052, allocations: 264.8 kB / 0.6331 GB, free: 1.992 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.871e-05/0.8053, allocations: 0 / 0.6331 GB, free: 1.992 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.8055, allocations: 441.3 kB / 0.6335 GB, free: 1.547 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008569/0.8064, allocations: 0.5956 MB / 0.6341 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002157/0.8086, allocations: 2.618 MB / 0.6367 GB, free: 13.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.8102, allocations: 1.204 MB / 0.6378 GB, free: 12.09 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.733e-05/0.8102, allocations: 20 kB / 0.6379 GB, free: 12.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.004208/0.8144, allocations: 2.706 MB / 0.6405 GB, free: 9.367 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.8144, allocations: 8 kB / 0.6405 GB, free: 9.359 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.746e-05/0.8145, allocations: 72.84 kB / 0.6406 GB, free: 9.289 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001108/0.8146, allocations: 111.9 kB / 0.6407 GB, free: 9.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002583/0.8172, allocations: 0.8696 MB / 0.6415 GB, free: 8.309 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003173/0.8204, allocations: 6.102 MB / 0.6475 GB, free: 1.973 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/0.8223, allocations: 348 kB / 0.6478 GB, free: 1.629 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002919/0.8226, allocations: 220.1 kB / 0.648 GB, free: 1.414 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.0004005/0.823, allocations: 304.3 kB / 0.6483 GB, free: 1.109 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.8232, allocations: 126.4 kB / 0.6484 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003785/0.827, allocations: 1.447 MB / 0.6499 GB, free: 15.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.827, allocations: 12 kB / 0.6499 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.827, allocations: 0 / 0.6499 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.827, allocations: 3.984 kB / 0.6499 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.8283, allocations: 0.7786 MB / 0.6506 GB, free: 14.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.8284, allocations: 0 / 0.6506 GB, free: 14.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.8296, allocations: 327.6 kB / 0.6509 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.474e-05/0.8296, allocations: 4 kB / 0.6509 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.432e-05/0.8297, allocations: 23.98 kB / 0.651 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003423/0.8331, allocations: 5.958 MB / 0.6568 GB, free: 8.152 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.8332, allocations: 0 / 0.6568 GB, free: 8.152 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001062/0.8342, allocations: 0.7832 MB / 0.6576 GB, free: 7.359 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001164/0.8354, allocations: 1.166 MB / 0.6587 GB, free: 6.172 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000414/0.8358, allocations: 295.2 kB / 0.659 GB, free: 5.863 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/0.836, allocations: 3.938 kB / 0.659 GB, free: 5.859 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004331/0.8365, allocations: 31.97 kB / 0.659 GB, free: 5.828 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.8366, allocations: 64.58 kB / 0.6591 GB, free: 5.766 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-05/0.8367, allocations: 35.98 kB / 0.6591 GB, free: 5.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0008523/0.8375, allocations: 0.7379 MB / 0.6598 GB, free: 4.988 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002785/0.8403, allocations: 439 kB / 0.6602 GB, free: 4.559 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.0007456/0.8411, allocations: 303 kB / 0.6605 GB, free: 4.254 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003184/0.8443, allocations: 1.682 MB / 0.6622 GB, free: 2.59 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8443, allocations: 0 / 0.6622 GB, free: 2.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.8455, allocations: 474.1 kB / 0.6626 GB, free: 2.121 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.8459, allocations: 76.73 kB / 0.6627 GB, free: 2.047 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00332/0.8492, allocations: 1.995 MB / 0.6646 GB, free: 8 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/0.8505, allocations: 1.658 MB / 0.6663 GB, free: 14.32 MB / 490.7 MB Notification: Performance of SimCode: time 3e-07/0.8506, allocations: 0 / 0.6663 GB, free: 14.32 MB / 490.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat