Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.003688/0.003688, allocations: 178.4 kB / 7.454 MB, free: 2.484 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.28/1.28, allocations: 170.6 MB / 178.4 MB, free: 15.4 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.001653/0.001653, allocations: 113 kB / 217.7 MB, free: 8.16 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.1525/0.1525, allocations: 37.97 MB / 294.8 MB, free: 9.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.123e-06/7.283e-06, allocations: 1.125 kB / 349.5 MB, free: 37.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09173/0.09175, allocations: 48.71 MB / 398.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.314/0.4058, allocations: 80.63 MB / 478.9 MB, free: 13.63 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.4061, allocations: 91.62 kB / 479 MB, free: 13.63 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5845:11-5846:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5858:11-5861:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5836:11-5843:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5849:11-5856:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd: time 0.03432/0.4405, allocations: 9.908 MB / 488.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.891e-05/0.4405, allocations: 3.625 kB / 488.9 MB, free: 12.5 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001172/0.4417, allocations: 0.6603 MB / 489.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.4418, allocations: 7.469 kB / 489.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.4419, allocations: 53.88 kB / 489.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005968/0.4425, allocations: 324.5 kB / 489.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.4426, allocations: 15.38 kB / 489.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.4427, allocations: 35.08 kB / 490 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001219/0.4439, allocations: 0.6507 MB / 490.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.4451, allocations: 0.6035 MB / 491.2 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.4451, allocations: 4 kB / 491.2 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-05/0.4452, allocations: 0 / 491.2 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-05/0.4453, allocations: 48.66 kB / 491.3 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003445/0.4488, allocations: 1.595 MB / 492.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006701/0.4495, allocations: 317.4 kB / 493.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.4497, allocations: 125.2 kB / 493.3 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-05/0.4498, allocations: 13.31 kB / 493.3 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.4498, allocations: 39.03 kB / 493.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 3.247e-06/0.4498, allocations: 0 / 493.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.000854/0.4507, allocations: 329.7 kB / 493.7 MB, free: 10.76 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.4508, allocations: 55.34 kB / 493.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.4511, allocations: 209.7 kB / 493.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.4511, allocations: 25.7 kB / 493.9 MB, free: 10.56 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.4513, allocations: 265.7 kB / 494.2 MB, free: 10.37 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.4514, allocations: 93.34 kB / 494.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.4515, allocations: 0 / 494.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.4516, allocations: 340 kB / 494.6 MB, free: 9.988 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.4519, allocations: 124.7 kB / 494.7 MB, free: 9.988 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/0.4523, allocations: 239 kB / 495 MB, free: 9.852 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/0.4527, allocations: 173.7 kB / 495.1 MB, free: 9.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.4527, allocations: 0 / 495.1 MB, free: 9.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009969/0.4537, allocations: 424.9 kB / 495.6 MB, free: 9.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.4537, allocations: 3.875 kB / 495.6 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.4537, allocations: 4.578 kB / 495.6 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.4538, allocations: 3.875 kB / 495.6 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.4548, allocations: 162.3 kB / 495.7 MB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.4567, allocations: 3.65 MB / 499.4 MB, free: 22.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.4571, allocations: 37.86 kB / 499.4 MB, free: 22.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.978e-05/0.4571, allocations: 21.72 kB / 499.4 MB, free: 22.21 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001769/0.4573, allocations: 113.6 kB / 499.6 MB, free: 22.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.05e-05/0.4574, allocations: 23.34 kB / 499.6 MB, free: 22.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/0.4592, allocations: 0.5629 MB / 0.4884 GB, free: 21.96 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.4592, allocations: 3.875 kB / 0.4884 GB, free: 21.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.4592, allocations: 0 / 0.4884 GB, free: 21.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.4593, allocations: 1.172 kB / 0.4884 GB, free: 21.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007795/0.46, allocations: 388.5 kB / 0.4888 GB, free: 21.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4601, allocations: 0 / 0.4888 GB, free: 21.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009383/0.461, allocations: 143.4 kB / 0.4889 GB, free: 21.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.461, allocations: 3.875 kB / 0.4889 GB, free: 21.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.125e-05/0.4611, allocations: 6.219 kB / 0.4889 GB, free: 21.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002742/0.4638, allocations: 3.645 MB / 0.4925 GB, free: 18.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.4639, allocations: 3.906 kB / 0.4925 GB, free: 18.25 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001175/0.4651, allocations: 0.6157 MB / 0.4931 GB, free: 18.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/0.4653, allocations: 160.7 kB / 0.4933 GB, free: 17.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.869e-05/0.4654, allocations: 4.594 kB / 0.4933 GB, free: 17.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.4658, allocations: 10.61 kB / 0.4933 GB, free: 17.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.4659, allocations: 23.94 kB / 0.4933 GB, free: 17.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/0.466, allocations: 12.33 kB / 0.4933 GB, free: 17.97 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.000259/0.4662, allocations: 179.7 kB / 0.4935 GB, free: 17.89 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001139/0.4674, allocations: 181.7 kB / 0.4936 GB, free: 17.84 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005999/0.468, allocations: 204.1 kB / 0.4938 GB, free: 17.72 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.4695, allocations: 412.5 kB / 0.4942 GB, free: 17.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.4695, allocations: 0 / 0.4942 GB, free: 17.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009366/0.4705, allocations: 252 kB / 0.4945 GB, free: 17.69 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.4708, allocations: 14.66 kB / 0.4945 GB, free: 17.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.4727, allocations: 0.6677 MB / 0.4951 GB, free: 17.46 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008712/0.4736, allocations: 0.9603 MB / 0.4961 GB, free: 16.75 MB / 346.7 MB Notification: Performance of SimCode: time 9.42e-07/0.4736, allocations: 0 / 0.4961 GB, free: 16.75 MB / 346.7 MB Notification: Performance of Templates: time 0.01376/0.4874, allocations: 5.477 MB / 0.5014 GB, free: 14.19 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1)