Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") [: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.1+maint.om/package.mo): time 0.00368/0.00368, allocations: 174.8 kB / 7.451 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.241/1.241, allocations: 170.6 MB / 178.4 MB, free: 15.45 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001749/0.001749, allocations: 121 kB / 217.7 MB, free: 8.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1628/0.1628, allocations: 37.97 MB / 294.8 MB, free: 9.625 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.433e-06/6.452e-06, allocations: 1.438 kB / 349.5 MB, free: 37.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08925/0.08927, allocations: 48.71 MB / 398.2 MB, free: 5.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2958/0.3852, allocations: 77.18 MB / 475.4 MB, free: 13.42 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/0.3855, allocations: 91.45 kB / 475.5 MB, free: 13.42 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5587:11-5590:61:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5598:11-5601:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd: time 0.01663/0.4022, allocations: 5.633 MB / 481.1 MB, free: 13.01 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.4022, allocations: 3.812 kB / 481.1 MB, free: 13.01 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005513/0.4028, allocations: 444.2 kB / 481.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.4029, allocations: 11.75 kB / 481.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005204/0.4034, allocations: 78.42 kB / 481.7 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.4036, allocations: 214.9 kB / 481.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.4037, allocations: 7.594 kB / 481.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.4037, allocations: 7.688 kB / 481.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003535/0.4041, allocations: 238.6 kB / 482.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.4044, allocations: 248.5 kB / 482.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.4044, allocations: 4 kB / 482.4 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.4045, allocations: 7.875 kB / 482.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/0.4045, allocations: 17.89 kB / 482.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.4057, allocations: 0.7514 MB / 483.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.406, allocations: 167.2 kB / 483.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.595e-05/0.4061, allocations: 59.42 kB / 483.4 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.4061, allocations: 10.08 kB / 483.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.4061, allocations: 37.94 kB / 483.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.923e-06/0.4062, allocations: 0 / 483.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003936/0.4066, allocations: 162.4 kB / 483.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.4066, allocations: 51.41 kB / 483.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.4067, allocations: 129.1 kB / 483.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.4067, allocations: 25.7 kB / 483.8 MB, free: 11.56 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.904e-05/0.4068, allocations: 142.3 kB / 483.9 MB, free: 11.44 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.4069, allocations: 33.64 kB / 483.9 MB, free: 11.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.371e-05/0.4069, allocations: 0 / 483.9 MB, free: 11.42 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.844e-05/0.407, allocations: 324 kB / 484.3 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.063e-05/0.4071, allocations: 56.5 kB / 484.3 MB, free: 11.1 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.4072, allocations: 108.2 kB / 484.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.4074, allocations: 80.7 kB / 484.5 MB, free: 11.03 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4074, allocations: 0 / 484.5 MB, free: 11.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003227/0.4077, allocations: 212.7 kB / 484.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.4078, allocations: 7.938 kB / 484.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4078, allocations: 3.938 kB / 484.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.4078, allocations: 3.875 kB / 484.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004545/0.4083, allocations: 76.84 kB / 484.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008931/0.4092, allocations: 1.807 MB / 486.6 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.4094, allocations: 22.08 kB / 486.6 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.4094, allocations: 19.94 kB / 486.6 MB, free: 9.195 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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 8.569e-05/0.4095, allocations: 107 kB / 486.7 MB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.4096, allocations: 7.781 kB / 486.8 MB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007579/0.4103, allocations: 308.3 kB / 487.1 MB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.4103, allocations: 0 / 487.1 MB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4103, allocations: 0 / 487.1 MB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.4104, allocations: 0 / 487.1 MB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.4106, allocations: 213 kB / 487.3 MB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4106, allocations: 7.906 kB / 487.3 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/0.4109, allocations: 56.91 kB / 487.3 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.4109, allocations: 0 / 487.3 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.4109, allocations: 0 / 487.3 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007857/0.4117, allocations: 1.805 MB / 489.1 MB, free: 23.06 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.82e-06/0.4118, allocations: 2.672 kB / 489.1 MB, free: 23.06 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002568/0.412, allocations: 223.5 kB / 489.4 MB, free: 22.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.4121, allocations: 95.59 kB / 489.4 MB, free: 22.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.4121, allocations: 3.875 kB / 489.5 MB, free: 22.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.4123, allocations: 10.38 kB / 489.5 MB, free: 22.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.4124, allocations: 6.688 kB / 489.5 MB, free: 22.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.4124, allocations: 6.547 kB / 489.5 MB, free: 22.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.674e-05/0.4125, allocations: 119.8 kB / 489.6 MB, free: 22.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004043/0.4129, allocations: 58.53 kB / 489.6 MB, free: 22.71 MB / 346.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 (13): * Single equations (assignments): 10 * 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.0002782/0.4132, allocations: 143.7 kB / 489.8 MB, free: 22.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004513/0.4136, allocations: 163.7 kB / 489.9 MB, free: 22.6 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4136, allocations: 3.812 kB / 490 MB, free: 22.6 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.4139, allocations: 83.98 kB / 490 MB, free: 22.6 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.4141, allocations: 7.266 kB / 490 MB, free: 22.6 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006397/0.4148, allocations: 245.7 kB / 490.3 MB, free: 22.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004659/0.4152, allocations: 0.7829 MB / 491.1 MB, free: 21.79 MB / 346.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4153, allocations: 3.938 kB / 491.1 MB, free: 21.78 MB / 346.7 MB Notification: Performance of Templates: time 0.006029/0.4213, allocations: 2.829 MB / 493.9 MB, free: 21.49 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1)