Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001122/0.001122, allocations: 199.8 kB / 8.542 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.19/1.19, allocations: 225.5 MB / 234.4 MB, free: 3.395 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008837/0.0008838, allocations: 95.53 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.174/0.174, allocations: 45.14 MB / 383.3 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2179/0.392, allocations: 69.39 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09662/0.4886, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3007/0.7893, allocations: 99.98 MB / 0.6015 GB, free: 2.859 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.7896, allocations: 101 kB / 0.6016 GB, free: 2.805 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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 trunk/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 trunk/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 trunk/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 trunk/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 trunk/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 trunk/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 trunk/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 trunk/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 trunk/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 trunk/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 trunk/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.07045/0.86, allocations: 25.65 MB / 0.6267 GB, free: 13.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.8601, allocations: 8 kB / 0.6267 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003747/0.8605, allocations: 177.8 kB / 0.6268 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.8616, allocations: 0.6228 MB / 0.6275 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.347e-05/0.8616, allocations: 64 kB / 0.6275 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002266/0.8619, allocations: 108 kB / 0.6276 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003962/0.8658, allocations: 3.285 MB / 0.6308 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003268/0.8691, allocations: 2.39 MB / 0.6332 GB, free: 8.379 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.8692, allocations: 0 / 0.6332 GB, free: 8.379 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.8693, allocations: 0 / 0.6332 GB, free: 8.379 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001507/0.8695, allocations: 163.1 kB / 0.6333 GB, free: 8.223 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01042/0.8799, allocations: 6.525 MB / 0.6397 GB, free: 2.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008442/0.8808, allocations: 0.6072 MB / 0.6403 GB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/0.8811, allocations: 210.8 kB / 0.6405 GB, free: 2.086 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.395e-05/0.8812, allocations: 28 kB / 0.6405 GB, free: 2.062 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.8812, allocations: 38.12 kB / 0.6405 GB, free: 2.023 MB / 426.7 MB Notification: Performance of pre-optimization done (n=63): time 4.068e-06/0.8812, allocations: 4 kB / 0.6405 GB, free: 2.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=63): time 0.001116/0.8823, allocations: 0.627 MB / 0.6412 GB, free: 1.453 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.8824, allocations: 60.06 kB / 0.6412 GB, free: 1.383 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.8836, allocations: 1.196 MB / 0.6424 GB, free: 452 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.8837, allocations: 25.7 kB / 0.6424 GB, free: 420 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006991/0.8844, allocations: 1.271 MB / 0.6436 GB, free: 15.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.8846, allocations: 267.1 kB / 0.6439 GB, free: 15.03 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-05/0.8847, allocations: 0 / 0.6439 GB, free: 15.03 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.8849, allocations: 438.6 kB / 0.6443 GB, free: 14.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008531/0.8858, allocations: 0.5909 MB / 0.6449 GB, free: 14.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002088/0.8879, allocations: 2.624 MB / 0.6475 GB, free: 10.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/0.8896, allocations: 1.202 MB / 0.6486 GB, free: 9.758 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.494e-05/0.8896, allocations: 20 kB / 0.6487 GB, free: 9.738 MB / 442.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.004395/0.894, allocations: 2.706 MB / 0.6513 GB, free: 7.344 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.8941, allocations: 11.94 kB / 0.6513 GB, free: 7.332 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.943e-05/0.8942, allocations: 72 kB / 0.6514 GB, free: 7.262 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001001/0.8943, allocations: 108 kB / 0.6515 GB, free: 7.156 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002588/0.8969, allocations: 0.8675 MB / 0.6523 GB, free: 6.312 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003312/0.9002, allocations: 6.108 MB / 0.6583 GB, free: 16 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/0.9022, allocations: 346.3 kB / 0.6586 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002904/0.9025, allocations: 217.6 kB / 0.6588 GB, free: 15.49 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.0003747/0.9029, allocations: 305.5 kB / 0.6591 GB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/0.9031, allocations: 125.8 kB / 0.6592 GB, free: 15.08 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003997/0.9072, allocations: 1.442 MB / 0.6606 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.9072, allocations: 8 kB / 0.6607 GB, free: 13.69 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.9072, allocations: 0 / 0.6607 GB, free: 13.69 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.9072, allocations: 3.984 kB / 0.6607 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.9085, allocations: 0.7862 MB / 0.6614 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.9085, allocations: 7.938 kB / 0.6614 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.9097, allocations: 315.7 kB / 0.6617 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.44e-05/0.9097, allocations: 8 kB / 0.6617 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.115e-05/0.9098, allocations: 31.92 kB / 0.6618 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002807/0.9126, allocations: 5.954 MB / 0.6676 GB, free: 6.32 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.9127, allocations: 3.906 kB / 0.6676 GB, free: 6.316 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001079/0.9137, allocations: 0.7751 MB / 0.6684 GB, free: 5.527 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001194/0.9149, allocations: 1.17 MB / 0.6695 GB, free: 4.336 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004243/0.9154, allocations: 295.2 kB / 0.6698 GB, free: 4.027 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/0.9156, allocations: 0 / 0.6698 GB, free: 4.027 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/0.9161, allocations: 31.97 kB / 0.6698 GB, free: 3.996 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.9162, allocations: 64.48 kB / 0.6699 GB, free: 3.934 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.247e-05/0.9163, allocations: 35.98 kB / 0.6699 GB, free: 3.898 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0009709/0.9173, allocations: 0.7379 MB / 0.6706 GB, free: 3.152 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002872/0.9201, allocations: 451 kB / 0.6711 GB, free: 2.707 MB / 458.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.0007507/0.9209, allocations: 314 kB / 0.6714 GB, free: 2.391 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003457/0.9244, allocations: 1.693 MB / 0.673 GB, free: 0.7148 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.9244, allocations: 0 / 0.673 GB, free: 0.7148 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.9257, allocations: 470.1 kB / 0.6735 GB, free: 260 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.9261, allocations: 73.41 kB / 0.6735 GB, free: 188 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003601/0.9297, allocations: 1.995 MB / 0.6755 GB, free: 14.14 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/0.9311, allocations: 1.658 MB / 0.6771 GB, free: 12.46 MB / 474.7 MB Notification: Performance of SimCode: time 7.81e-07/0.9312, allocations: 4 kB / 0.6771 GB, free: 12.45 MB / 474.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat